Skip to content

NetCDF3

virtualizarr.parsers.NetCDF3Parser

__call__

__call__(url: str, registry: ObjectStoreRegistry) -> ManifestStore

Parse the metadata and byte offsets from a given NetCDF3 file to product a VirtualiZarr ManifestStore.

Parameters:

Returns:

  • ManifestStore

    A ManifestStore that provides a Zarr representation of the parsed NetCDF3 file.

__init__

__init__(
    group: str | None = None,
    skip_variables: Iterable[str] | None = None,
    reader_options: dict | None = None,
)

Instantiate a parser with parser-specific parameters that can be used in the __call__ method.

Parameters:

  • group (str | None, default: None ) –

    The group within the file to be used as the Zarr root group for the ManifestStore.

  • skip_variables (Iterable[str] | None, default: None ) –

    Variables in the file that will be ignored when creating the ManifestStore.

  • reader_options (dict | None, default: None ) –

    Configuration options used internally for the kerchunk's fsspec backend.