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
When trying a second time, R hangs and the session needs to be aborted.
The code works perfectly with S2 data on AWS and I am afraid it has to do with how the netrc authentication is handle in gdalcubes.
The text was updated successfully, but these errors were encountered:
I realized an error in my code: appearently, the srs string changed in a recent update and must now be prefixed by "EPSG" when setting srs for cube_view, and this error is uncaught.
The problem is now that the download seems to work, but produces an empty image filled with 0's.
I found problems when trying to access NASA's Harmonoszed Landsat Sentinel product through gdalcubes.
The downlod URLs are secured via netrc (see https://lpdaac.usgs.gov/products/hlss30v002 )
I figured that for the terra library configuration works like described here https://github.com/rspatial/terra/issues/608
I tried to set
gdalcubes_set_gdal_config
to these same options plus the nerc options here : https://gdal.org/user/configoptions.htmlFor rstac, options are passed through the post request, which works.
Here is my reproducible example:
The error occures at
st_as_stars() -> RGBout
when gdalcube tries to get the data.When trying a second time, R hangs and the session needs to be aborted.
The code works perfectly with S2 data on AWS and I am afraid it has to do with how the netrc authentication is handle in gdalcubes.
The text was updated successfully, but these errors were encountered: