argopy.stores.ArgoKerchunker.nc2reference

argopy.stores.ArgoKerchunker.nc2reference#

ArgoKerchunker.nc2reference(ncfile: str | Path, fs=None, chunker: Literal['auto', 'cdf3', 'hdf5'] = 'auto')[source]#

Compute reference data for a netcdf file (kerchunk json data)

This method is intended to be used internally, since it’s not using the kerchunk reference store.

Users should rather use the to_reference() method to avoid to recompute reference data when available on the ArgoKerchunker instance.

Parameters:
Return type:

dict