Skip to main content

Crate netcdf_writer

Crate netcdf_writer 

Source
Expand description

Pure-Rust NetCDF writer.

The current implementation writes CDF-1, CDF-2, and CDF-5 classic-family files, plus a conservative NetCDF-4/HDF5 subset backed by hdf5-writer. NetCDF-4 emission is intentionally strict about metadata it cannot yet represent losslessly.

Structs§

DimensionId
Dimension handle returned by NcFileBuilder::add_dimension.
NcAttribute
A NetCDF attribute.
NcCompoundField
A field within a compound type.
NcDimension
A NetCDF dimension.
NcEnumMember
A named member of a NetCDF-4 enum type.
NcFileBuilder
Builder for a single NetCDF file.
NcGroup
A NetCDF group.
NcSliceInfo
Hyperslab selection for reading/writing slices of NetCDF variables.
NcVariable
A NetCDF variable. The offset fields are public for reader/writer crate interoperability; they are not portable semantic metadata.
NcWriteOptions
NetCDF write options.
VariableId
Variable handle returned by NcFileBuilder::add_variable.

Enums§

Error
NetCDF writer errors.
NcAttrValue
A NetCDF attribute value.
NcFormat
NetCDF file format.
NcIntegerValue
A typed integer value used by NetCDF-4 enum definitions and values.
NcSliceInfoElem
A single dimension selection within a hyperslab.
NcType
NetCDF data types.
NcWriteFormat
Requested NetCDF output format.

Constants§

NC_FILL_BYTE
Default fill value for NC_BYTE variables when prefilled data is needed.
NC_FILL_CHAR
Default fill value for NC_CHAR variables when prefilled data is needed.
NC_FILL_DOUBLE
Default fill value for NC_DOUBLE variables when prefilled data is needed.
NC_FILL_FLOAT
Default fill value for NC_FLOAT variables when prefilled data is needed.
NC_FILL_INT
Default fill value for NC_INT variables when prefilled data is needed.
NC_FILL_INT64
Default fill value for NC_INT64 variables when prefilled data is needed.
NC_FILL_SHORT
Default fill value for NC_SHORT variables when prefilled data is needed.
NC_FILL_UBYTE
Default fill value for NC_UBYTE variables when prefilled data is needed.
NC_FILL_UINT
Default fill value for NC_UINT variables when prefilled data is needed.
NC_FILL_UINT64
Default fill value for NC_UINT64 variables when prefilled data is needed.
NC_FILL_USHORT
Default fill value for NC_USHORT variables when prefilled data is needed.

Traits§

NcFillValueType
Rust primitive types that can be used as a NetCDF variable fill value.
NcWriteType
Rust types that can be written as NetCDF classic-family variable data.

Type Aliases§

Result