Liking cljdoc? Tell your friends :D

tech.netcdf


att->cljclj

(att->clj att)
source

attributesclj

(attributes netcdf)
source

default-lerp-opclj

source

dim->cljclj

(dim->clj dim)
source

dimensionsclj

(dimensions netcdf)
source

fname->gridsclj

(fname->grids
  fname
  &
  {:keys [time-axis z-axis fill-value datatype container-type]
   :or {time-axis 0 z-axis 0 datatype :float32 container-type :java-array}})

Return a sequence of grids. A grid is a coordinate space and cube of data. Grids have a name, attributes, and a 2d tensor. When creating the grids, you can choose the time-axis and the z-axis to choose. -1 means choose the entire dimension; defaults to 0 meaning all of the returned grids is 2 dimension. Code is written with the assumtion that a non-negative integer will be chosen for the time-axis and the z-axis as this will increase the dimensionality of the data tensor. Returns a sequence of grids where a grid is: {:name :attributes map of name->attribute :coordinate-system GridCoordSystem :data tensor :data-reader FloatTensorReader (allows arbitrary indexing and ad-hoc algorithms) }

Return a sequence of grids.  A grid is a coordinate space and cube of data.
Grids have a name, attributes, and a 2d tensor.  When creating the grids,
you can choose the time-axis and the z-axis to choose.  -1 means choose the entire
dimension; defaults to 0 meaning all of the returned grids is 2 dimension.  Code
is written with the assumtion that a non-negative integer will be chosen for
the time-axis and the z-axis as this will increase the dimensionality of the data
tensor.  Returns a sequence of grids where a grid is:
{:name
 :attributes map of name->attribute
 :coordinate-system GridCoordSystem
 :data tensor
 :data-reader FloatTensorReader (allows arbitrary indexing and ad-hoc algorithms)
}
sourceraw docstring

fname->netcdfclj

(fname->netcdf fname)

Open a netcdf file. The return value is tracked via 'tech.resource/track. If the user wishes to release the memory early they can call .close on the object.

Open a netcdf file.  The return value is tracked via 'tech.resource/track.  If the
user wishes to release the memory early they can call .close on the object.
sourceraw docstring

format-data-sequencecljmultimethod

source

format-scalarclj

(format-scalar dtype s-val)
source

lat-lng-query-grid-exactclj

(lat-lng-query-grid-exact {:keys [coordinate-system name attributes
                                  data-reader]}
                          lat-lon-seq)

Ignoring time, query a grid pointwise by lat-lon. Returns only closest match. Takes a grid and a sequence of [lat lng] tuples. Returns { :missing-value ##NaN, :fullname "Temperature_surface", :abbreviation "TMP", :level-desc "Ground or water surface", :level-type 1, :cell-lat-lngs - reader of [lat lng] tuples of the center points of the grid cells :values - (float-array n-elems) }

Ignoring time, query a grid pointwise by lat-lon.  Returns only closest match.
Takes a grid and a sequence of [lat lng] tuples.
Returns
{
 :missing-value ##NaN,
 :fullname "Temperature_surface",
 :abbreviation "TMP",
 :level-desc "Ground or water surface",
 :level-type 1,
 :cell-lat-lngs - reader of [lat lng] tuples of the center points of the grid cells
 :values - (float-array n-elems)
}
sourceraw docstring

make-fast-lat-lon-projectorclj

(make-fast-lat-lon-projector proj)
source

named-item->mapclj

(named-item->map named-item-seq)
source

overviewclj

(overview netcdf)
source

parallel-lat-lng->projclj

(parallel-lat-lng->proj projection lat-lng-seq)
source

(print-variable-table netcdf & {:keys [return-varmap?]})
source

serial-lat-lng->projclj

(serial-lat-lng->proj projection lat-lng-seq)

Serially project a sequence of lat-lng tuples to a projection. Returns a tuple if [^floats x-coords ^floats y-coords]

Serially project a sequence of lat-lng tuples to a projection.  Returns
a tuple if [^floats x-coords ^floats y-coords]
sourceraw docstring

setup-linear-interpolatorclj

(setup-linear-interpolator lhs-grid rhs-grid & [lerp-op])
source

setup-nearest-projectionclj

(setup-nearest-projection grid)
source

test-cdl-fileclj

source

test-fileclj

source

test-lat-lngclj

source

test-nc-fileclj

source

valid-dataclj

(valid-data data fill-val missing-val)
source

valid-data-indexesclj

(valid-data-indexes data fill-val missing-val)
source

var->cljclj

(var->clj variable)
source

variablesclj

(variables netcdf)
source

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

× close