argopy.stores.ArgoKerchunker.translate

argopy.stores.ArgoKerchunker.translate#

ArgoKerchunker.translate(ncfiles: str | Path | List, fs=None, chunker: Literal['first', 'auto', 'cdf3', 'hdf5'] = 'first')[source]#

Translate netcdf file(s) into kerchunk reference data

Kerchunk data are saved on the ArgoKerchunker instance store.

Once translated, netcdf file reference data are internally registered in the ArgoKerchunker.kerchunk_references attribute.

If more than 1 netcdf file is provided, the translation is executed in parallel:

Parameters:
Return type:

List(dict)