Currently open_virtual_dataset cannot open a dataset when given a public HTTPS url. This happens because reader_options is set on this line to s3-like syntax which probably messes up the https request. The functionality is correct in _fsspec_openfile_from_filepath so it's a pretty simple fix to just update the linked line in xarray.py
Currently
open_virtual_dataset
cannot open a dataset when given a public HTTPS url. This happens becausereader_options
is set on this line to s3-like syntax which probably messes up the https request. The functionality is correct in_fsspec_openfile_from_filepath
so it's a pretty simple fix to just update the linked line inxarray.py
Also noticed by @kthyng in https://github.com/zarr-developers/VirtualiZarr/pull/186#issuecomment-2231450332
Here is an example: