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
Just listing here some ideas I've got after using the method when doing eodag's documentation.
Make the parameters crs, resolution and extent optional
Add progress_call optional parameter to pass it down to path_of_downloaded_file = self.download()
Document the fact that the data is resampled with a bilinear algorithm (when resolution is set I guess, maybe extent too)
If it fails now it returns an empty DataArray, shouldn't it just raise an error?
Add attributes coordinates to the returned DataArray. Maybe look whether we could directly read the data with xarray.open_rasterio? Or with rioxarray
It'd be nice to directly obtain multiple bands in a xarray.DataSet. band could maybe become bands and accept either a string or a sequence of strings (bands). Or it could be another method.
The text was updated successfully, but these errors were encountered:
maximlt
changed the title
Improvements to get_data
Potential improvements to get_data
Apr 15, 2021
Just listing here some ideas I've got after using the method when doing eodag's documentation.
crs
,resolution
andextent
optionalprogress_call
optional parameter to pass it down topath_of_downloaded_file = self.download()
band
could maybe becomebands
and accept either a string or a sequence of strings (bands). Or it could be another method.The text was updated successfully, but these errors were encountered: