Liking cljdoc? Tell your friends :D

theophilusx.netcdf.variables

Functions for manipulating Variable objects.

Functions for manipulating `Variable` objects.
raw docstring

-variable->mapclj

(-variable->map v)

A map which describes a NetCDF variable. Available keys are

keyDescription
:descriptionA description of the variable
:nameThe DAP name of the variable
:typeThe data type of the variable as a keyword
:attributesA vector of attribute maps describing attributes
associated with the variable.
:dimensionsA vector of dimension maps describing the
dimensions of the variable.
:element-sizeThe byte size for elements in this variable.
:rangesA vector of range maps describing the ranges
for each dimension of this variable.
:rankThe number of dimensions for this variable.
:shapeA vector containing the length for each dimension
in this variable.
:sizeTotal number of elements in this variable.
:is-coordinate?True if this variable is a coordinate variable.
:is-metadata?True if this variable is metadata
:is-scalar?True if this variable is a scalar variable.
:is-unlimited?True if this variable has an unlimited size
dimension.
:is-variable-lengthTrue if this variable has a variable length
dimension.
:objThe low level raw Java Variable object
A `map` which describes a NetCDF variable. Available keys are

| key                   | Description                                       |
|-----------------------|---------------------------------------------------|
| `:description`        | A description of the variable                     |
| `:name`               | The DAP name of the variable                      |
| `:type`               | The data type of the variable as a keyword        |
| `:attributes`         | A vector of attribute maps describing attributes  |
|                       | associated with the variable.                     |
| `:dimensions`         | A vector of dimension maps describing the         |
|                       | dimensions of the variable.                       |
| `:element-size`       | The byte size for elements in this variable.      |
| `:ranges`             | A vector of range maps describing the ranges      |
|                       | for each dimension of this variable.              |
| `:rank`               | The number of dimensions for this variable.       |
| `:shape`              | A vector containing the length for each dimension |
|                       | in this variable.                                 |
| `:size`               | Total number of elements in this variable.        |
| `:is-coordinate?`     | True if this variable is a coordinate variable.   |
| `:is-metadata?`       | True if this variable is metadata                 |
| `:is-scalar?`         | True if this variable is a scalar variable.       |
| `:is-unlimited?`      | True if this variable has an unlimited size       |
|                       | dimension.                                        |
| `:is-variable-length` | True if this variable has a variable length       |
|                       | dimension.                                        |
| `:obj`                | The low level raw Java `Variable` object          |
sourceraw docstring

-variable-attributesclj

(-variable-attributes v)

Extract a vector of attribute map data from a variable. See theophilusx.netcdf.attributes for description of available map keys.

Extract a vector of attribute map data from a variable. See
`theophilusx.netcdf.attributes` for description of available map keys.
sourceraw docstring

-variable-coordinate?clj

(-variable-coordinate? v)

True if the variable is a coordinate variable, false otherwise.

True if the variable is a coordinate variable, false otherwise.
sourceraw docstring

-variable-dap-nameclj

(-variable-dap-name v)

Return string name of variable.

Return string name of variable.
sourceraw docstring

-variable-descriptionclj

(-variable-description v)

Return a string describing the variable.

Return a string describing the variable.
sourceraw docstring

-variable-dimensionsclj

(-variable-dimensions v)

Returns a map representing the dimensions for a variable. See theophilusx.netcdf.dimensions for a description of the map keys.

Returns a `map` representing the dimensions for a variable. See
`theophilusx.netcdf.dimensions` for a description of the map keys.
sourceraw docstring

-variable-element-sizeclj

(-variable-element-size v)

Returns the size of variable elements in bytes.

Returns the size of variable elements in bytes.
sourceraw docstring

-variable-metadata?clj

(-variable-metadata? v)

True if the variable is a metadata variable.

True if the variable is a metadata variable.
sourceraw docstring

-variable-rangesclj

(-variable-ranges v)

Return a vector of range maps describing the variable ranges. See theophilusx.netcdf.ranges for a description of available map keys.

Return a vector of range maps describing the variable ranges. See
`theophilusx.netcdf.ranges` for a description of available map keys.
sourceraw docstring

-variable-rankclj

(-variable-rank v)

Return the number of dimensions (rank) for a variable.

Return the number of dimensions (rank) for a variable.
sourceraw docstring

-variable-scalar?clj

(-variable-scalar? v)

True if this is a scalar variable.

True if this is a scalar variable.
sourceraw docstring

-variable-shapeclj

(-variable-shape v)

Return a vector containing the length of each dimension in the variable.

Return a vector containing the length of each dimension in the variable.
sourceraw docstring

-variable-sizeclj

(-variable-size v)

Return the total number of elements in the variable.

Return the total number of elements in the variable.
sourceraw docstring

-variable-typeclj

(-variable-type v)

Return symbol representing the variable data type

Return symbol representing the variable data type
sourceraw docstring

-variable-unlimited?clj

(-variable-unlimited? v)

True if this variable has an unlimited dimension.

True if this variable has an unlimited dimension.
sourceraw docstring

-variable-variable-length?clj

(-variable-variable-length? v)

True if this variable has a variable length dimension.

True if this variable has a variable length dimension.
sourceraw docstring

-variables->vectorclj

(-variables->vector var-list)

Returns a vector of variable maps. The var-list is a collection of Java Variable objects.

Returns a vector of variable maps. The `var-list` is a collection of Java
`Variable` objects.
sourceraw docstring

variableclj

(variable nc var-name)
(variable nc group var-name)

Find a variable by either full name or by supplying group and short name. Returns a variable map.

Find a variable by either full name or by supplying group and short name.
Returns a variable map.
sourceraw docstring

variable->stringclj

(variable->string v-map)
(variable->string v-map indent)

Return a string representation of the variable details extracted from a variable map.

Return a string representation of the variable details extracted from a
variable `map`. 
sourceraw docstring

variablesclj

(variables nc)

Returns a vector of variable maps representing all the variables defined in a NetCEF file.

Returns a vector of variable maps representing all the variables defined
in a NetCEF file.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close