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]] = True,
)-> ‘list[dc.PatchMeta]’

Scan NetCDF file metadata without loading the full payload array.

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.