-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
intake-stac setup and error on aws search example #64
Comments
Hi @dogrdon-cu, sorry about that, we're working on a fix over in #61 and hope to have a new release ASAP that fixes this. In the meantime a workaround is to pin |
thanks @scottyhq that worked. FWIW, I noted that I also had to remove and reinstall |
@scottyhq Any workarounds for dealing with 'sentinel-s2-l1c' products? From the example above, intake-xarray=0.3.1 works for Sentinel 2 L2A dataset but not for Sentinel 2 L1C dataset returning the following error: ValueError: No plugins loaded for this entry: image/jp2 It seems there's a plugin issue due to the different format of the datasets from Sentinel 2 even though they're both raster files that should be handled by the existing plugins. |
@hssiddiqui , thanks for pointing this out. this pending PR #61 sets the driver to 'rasterio' by default so even if the entry type is not recognized we'll attempt to read the data rather than going straight to the ValueError. So for now you'll have to install from the branch in the PR above. Hopefully this week we'll get new versions released... Note also the S2L1C imagery is in a requester-pays bucket, so you'll have to use the following syntax: import rasterio
awsconfig = rasterio.session.AWSSession(requester_pays=True)
with rasterio.Env(session=awsconfig):
da = item.B01.to_dask() |
closed by #61 |
Hello,
I've noticed that there is an error running the aws search notebook example. Am getting, at cell 11 loading the item to Dask
da = item.B04(chunks=dict(band=1, y=2048, x=2048)).to_dask()
the following error:ValueError: No plugins loaded for this entry: image/tiff; application=geotiff; profile=cloud-optimized A listing of installable plugins can be found at https://intake.readthedocs.io/en/latest/plugin-directory.html .
I've ensured that the module is installed and the example on the intake-stac readme does run fine.
Initially was running this inside of the pangeo notebook docker image and thought that might be the issue but am getting this same error just installing the dependencies in a clean virtual environment.
The text was updated successfully, but these errors were encountered: