get_metadata

method of dascore.io.netcdf.core.NetCDFCFV18 source

get_metadata(
    self ,
    resource: H5Reader ,
    snap: bool | str | collections.abc.Collection[bool, str, collections.abc.Collection[str]] = (),
)-> ‘list[dc.PatchMeta]’

Scan NetCDF file metadata, one per payload, without loading arrays.

Remote resources are streamed via the h5netcdf engine over the existing h5py handle, so only metadata bytes are fetched and the file is not downloaded.