-
I try to get mean or median values of Sentinel COG time series over same tile. It took 3.5-4.5 min. I think my code block take too much time, when I compared gdal or qgis results. Is it right way? Any recommendation?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I would recommend asking that here as it is more of a xarray question and will likely get more expert advice about that. My recommendation is if you need more speed and are confident they cover the same location, you could try doing the operations on the dask arrays themselves instead of the xarray dataarrays as it may reduce some overhead. |
Beta Was this translation helpful? Give feedback.
-
From pydata/xarray#5330 (comment) |
Beta Was this translation helpful? Give feedback.
From pydata/xarray#5330 (comment)
" just checking: since the wall time is much bigger than the CPU time, did you try downloading those files before opening? I did have some trouble with downloads through rasterio some time ago."