Accessors
dimensions
- get dimensions(): undefined | any[]
-
Returns undefined | any[]
- List of dimensions with:
name
: String with the name of the dimension
size
: Number with the size of the dimension
globalAttributes
- get globalAttributes(): undefined | any[]
-
Returns undefined | any[]
- List of global attributes with:
name
: String with the name of the attribute
type
: String with the type of the attribute
value
: A number or string with the value of the attribute
recordDimension
-
- Metadata for the record dimension
length
: Number of elements in the record dimension
id
: Id number in the list of dimensions for the record dimension
name
: String with the name of the record dimension
recordStep
: Number with the record variables step size
variables
- get variables(): undefined | any[]
-
Returns undefined | any[]
- List of variables with:
name
: String with the name of the variable
dimensions
: Array with the dimension IDs of the variable
attributes
: Array with the attributes of the variable
type
: String with the type of the variable
size
: Number with the size of the variable
offset
: Number with the offset where of the variable begins
record
: True if is a record variable, false otherwise
version
- get version(): "classic format" | "64-bit offset format"
-
Returns "classic format" | "64-bit offset format"
- Version for the NetCDF format
Methods
getDataVariable
- getDataVariable(variableName: string | {}): any[]
-
Parameters
-
variableName: string | {}
Returns any[]
- List with the variable values
hasDataVariable
- hasDataVariable(variableName: string): boolean
-
Parameters
Returns boolean
Reads a NetCDF v3.x file https://www.unidata.ucar.edu/software/netcdf/docs/file_format_specifications.html