I am storing a .nc file on Amazon S3 and I want to open it using rasterio.open(). I know that rasterio is supporting this feature by looking in the document: https://rasterio.readthedocs.io/en/latest/topics/datasets.html
Though, I am willing to combine two features listed in this page. I would like to have something like:
my_path = "netcdf:/s3://*/*/file.nc:variable"
open.restario(my_path)
I have tested to put the file into my local environment and to apply netcdf:/ as a prefix and :variable as a suffix, it works. Though, it feels like I'm not able to do that from S3. I am receiving this error:
RasterioIOError: Failed to parse NETCDF: prefix string into expected 2, 3 or 4 fields.
Thank you for your help!