argopy.stores.ArgoKerchunker.supported

argopy.stores.ArgoKerchunker.supported#

ArgoKerchunker.supported(ncfile: str | Path, fs=None) bool[source]#

Check if a netcdf file can be accessed through byte ranges

For non-local files, the absolute path toward the netcdf file must include the file protocol to return a correct answer.

Known Argo GDAC supporting byte ranges:

Not supporting:

Parameters:

ncfile (str, Path) – Absolute path toward the netcdf file to assess for lazy support, must include protocol for non-local files.