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§
- Dimension
Id - Dimension handle returned by
NcFileBuilder::add_dimension. - NcAttribute
- A NetCDF attribute.
- NcCompound
Field - A field within a compound type.
- NcDimension
- A NetCDF dimension.
- NcEnum
Member - A named member of a NetCDF-4 enum type.
- NcFile
Builder - Builder for a single NetCDF file.
- NcGroup
- A NetCDF group.
- NcSlice
Info - 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.
- NcWrite
Options - NetCDF write options.
- Variable
Id - Variable handle returned by
NcFileBuilder::add_variable.
Enums§
- Error
- NetCDF writer errors.
- NcAttr
Value - A NetCDF attribute value.
- NcFormat
- NetCDF file format.
- NcInteger
Value - A typed integer value used by NetCDF-4 enum definitions and values.
- NcSlice
Info Elem - A single dimension selection within a hyperslab.
- NcType
- NetCDF data types.
- NcWrite
Format - 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§
- NcFill
Value Type - Rust primitive types that can be used as a NetCDF variable fill value.
- NcWrite
Type - Rust types that can be written as NetCDF classic-family variable data.