NetCDF3V1

class of dascore.io.netcdf.core
inherits from: dascore.io.netcdf.core._NetCDFReader, FiberIO
source

NetCDF3V1()

netCDF-3 classic and 64-bit offset files, read like NETCDF_CF.

A file stating CF 1.6 or later reads as NETCDF_CF version 1.8 does; others as version 0, taking the file’s units. Arrays are read whole.

Methods

Name Description
get_format Derive the format name and version from the family detector.
get_metadata Describe each payload variable without slicing it.
get_version Return “1” for a file starting with the netCDF-3 magic bytes.
read Read patches by selecting metadata and loading the resulting array windows.
read_array Slice the keyed payload variable.
scan Return patch metadata; the dispatcher attaches source provenance.
unit_members Return the files identifying a directory unit of this format, if any.
write Write the spool to a resource (eg path, stream, etc.).