S3 scheme deprecation? #1053
-
I have built the netcdfAll jar with the optional S3 module included, and successfully opened some datasets from the AWS S3 archives at registry.opendata.aws. However, when I do so, a warning percolates out of the NJ code: This seems to suggest that when acquiring an S3 dataset, I should specify the address in the form of Am I mis-understanding that deprecation notice? Or is there something else in play? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Greetings @rschmunk! The way AWS S3 URIs are formatted was too limiting for our needs (other object stores, cloud or not, multiple credential profiles, plus some other netCDF-Java specific things used when scanning buckets), so we came up with the cdms3 URI. If you are moving from s3:// to cdms3://, the mapping would be: s3://bucket/key to cdms3://aws/bucket?key or cdms3:bucket?key (edited to fix AWS example) The full details of the cdms3 URI can be found at: https://docs.unidata.ucar.edu/netcdf-java/current/userguide/dataset_urls.html#object-stores As you will see in the docs, it has more capabilities that the AWS S3 URI. |
Beta Was this translation helpful? Give feedback.
-
Thx, @lesserwhirls . Apparently when I Googled for help about loading S3 via netCDF-Java, I got an older version of that documentation page. Edit: I succeeded in loading |
Beta Was this translation helpful? Give feedback.
Greetings @rschmunk! The way AWS S3 URIs are formatted was too limiting for our needs (other object stores, cloud or not, multiple credential profiles, plus some other netCDF-Java specific things used when scanning buckets), so we came up with the cdms3 URI. If you are moving from s3:// to cdms3://, the mapping would be:
s3://bucket/key
to
cdms3://aws/bucket?key
or
cdms3:bucket?key
(edited to fix AWS example)
The full details of the cdms3 URI can be found at:
https://docs.unidata.ucar.edu/netcdf-java/current/userguide/dataset_urls.html#object-stores
As you will see in the docs, it has more capabilities that the AWS S3 URI.