In #2752, we explicitly load lon, lat, and depth.
|
for dim in ["lon", "lat", "depth"]: |
|
# ensure lon, lat, depth are loaded into memory for dask-backed datasets |
|
if dim in self.data and is_dask_collection(self.data[dim]): |
|
self.data[dim].load() |
However, in #2860 we load all coordinate variables in to_chunk_cached_arrays. Probably better to do that also for to_windowed_arrays
see also discussion in #2860 (comment)
In #2752, we explicitly load
lon,lat, anddepth.Parcels/src/parcels/_core/model.py
Lines 113 to 116 in 9dc6bb4
However, in #2860 we load all coordinate variables in
to_chunk_cached_arrays. Probably better to do that also forto_windowed_arrayssee also discussion in #2860 (comment)