You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the jupyter demo of zampy, when re-loading the dataset after the ingest process, a "resolution" parameter is asked.
If we provide the original resolution of the data, or a coarser resolution, all works well.
If we provide a finer resolution, the regridding algorithm fills the space inbetween pixels with NaN.
See below with zampy.LandCover, that has an original resolution of 0.05 degrees:
Original resolution:
Finer resolution:
If possible, make the "resolution" parameter optional. The regridding is many times not needed (unwanted), since to match all layers, we need to respect the one that has the coarsest resolution, which is CAMS (0.75 degrees, approximately 85 kilometers; while canopy-height has a resolution of 0.01 degrees).
The text was updated successfully, but these errors were encountered:
Hi Bas, thanks for raising this issue. With the move to xarray-regrid (#49) this bug will have changed slightly. We will have to check if the new resolution is finer than the dataset's and in that case use a nearest-neighbor interpolation.
The landcover dataset is even finer, but in the ingestion (preprocessing) step we regrid it already to 0.05 degrees. This is to conserve memory and storage.
The resolution parameter is required because we need to unify the resolution of all input datasets. With regridding it is possible to do interpolation as well which is already happening for the other datasets (they are regridded linearily).
In the jupyter demo of zampy, when re-loading the dataset after the ingest process, a "resolution" parameter is asked.
If we provide the original resolution of the data, or a coarser resolution, all works well.
If we provide a finer resolution, the regridding algorithm fills the space inbetween pixels with NaN.
See below with zampy.LandCover, that has an original resolution of 0.05 degrees:
Original resolution:
Finer resolution:
If possible, make the "resolution" parameter optional. The regridding is many times not needed (unwanted), since to match all layers, we need to respect the one that has the coarsest resolution, which is CAMS (0.75 degrees, approximately 85 kilometers; while canopy-height has a resolution of 0.01 degrees).
The text was updated successfully, but these errors were encountered: