Support for dask arrays #47
Replies: 4 comments 2 replies
-
@bouweandela Sorry I'm late to the party, but if this is still of value to you guys and have capacity, then please do extend Awesome, thanks! |
Beta Was this translation helpful? Give feedback.
-
@bouweandela Could you elaborate on your use case at ESMValTool so that I can better understand what you need? I've got some thoughts on how to go about this, but if you could share data, example connective tissue code, metrics on bottlenecks et al, then that would be super useful. |
Beta Was this translation helpful? Give feedback.
-
While it is true that many atmospheric 3-dim variables in CMIP are stored on pressure levels that are constant in time, there are also variables that are stored on hybrid levels. For example cloud variables such as 3-dim cloud cover (cl), cloud liquid water content (clw) or cloud ice content (cli) are stored on hybrid levels. Such hybrid levels typically use time-dependent reference fields (e.g. surface pressure) for the definition of the vertical levels, which makes the source levels for vertical interpolation also time-dependent. In my opinion, this would make lazy treatment of vertical interpolation also very intersting. Given how interpolation is currently typically used, I would see the main priority on horizontal interpolation, and vertical interpolation as a secondary (but yet intersting and helpful!) aim. |
Beta Was this translation helpful? Give feedback.
-
Good points, @axel-lauer! I wonder if true 3d regridding would be the gold standard here? |
Beta Was this translation helpful? Give feedback.
-
Because the datasets we use with the ESMValTool project are typically too large to fit into memory, we need support for lazy vertical interpolation in the ESMValCore package, see also ESMValGroup/ESMValCore#35.
Would support for dask arrays be a feature that is interesting for python-stratify? I think it could be used by a wider target audience if it's implemented here than if we only implement it for our own software. If there is an interest, I could make a pull request to add support for dask arrays to this package?
Beta Was this translation helpful? Give feedback.
All reactions