functions to manipulate NetcdfFile
objects.
functions to manipulate `NetcdfFile` objects.
(close nc)
Closes a NetCDF file object and releases resources. nc
is a
NetcdfFile
object returned from a call to open
or open-in-memory
.
Closes a NetCDF file object and releases resources. `nc` is a `NetcdfFile` object returned from a call to `open` or `open-in-memory`.
(file-type-description nc)
Return description of file type. nc
is a NetcdfFile
object returned from a
call to open
or open-in-memory
. Returns a string
Return description of file type. `nc` is a `NetcdfFile` object returned from a call to `open` or `open-in-memory`. Returns a `string`
(file-type-version nc)
Get the file type version for the file. nc
is a NetcdfFile
object returned
from a call to open
or open-in-memory
. Returns a string
.
Get the file type version for the file. `nc` is a `NetcdfFile` object returned from a call to `open` or `open-in-memory`. Returns a `string`.
(location nc)
Return the location of the NetCDF file. Argument nc
is a NetcdfFile
object
returned from a call to open
or open-in-memory
.
Return the location of the NetCDF file. Argument `nc` is a `NetcdfFile` object returned from a call to `open` or `open-in-memory`.
(open location & {:keys [buffer-size] :or {buffer-size 0}})
Open a NetCDF file. Return a NetcdfFile
object. location
is a path
to an NetCDF 4 file. The optional keyword arguement value pair
buffer-size
can be used to set a specific buffer size to hold the
data. Defaults to 0, which says to use the default buffer size.
Examples (open "/path/to/data.nc") (open "/path/to/data-nc" :buffer-size 1024000)
Open a NetCDF file. Return a `NetcdfFile` object. `location` is a path to an NetCDF 4 file. The optional keyword arguement value pair `buffer-size`can be used to set a specific buffer size to hold the data. Defaults to 0, which says to use the default buffer size. Examples (open "/path/to/data.nc") (open "/path/to/data-nc" :buffer-size 1024000)
(open-in-memory location)
Opens a NetCDF file and read it into memory. location
is a path to the
location of the NetCDF 4 file. Returns a NetcdfFile
object.
Opens a NetCDF file and read it into memory. `location` is a path to the location of the NetCDF 4 file. Returns a `NetcdfFile` object.
(type-id nc)
Get the file type id for the underlying data source. The nc
argument is a
NetcdfFile
object returned from a call to open
or open-in-memory
Get the file type id for the underlying data source. The `nc` argument is a `NetcdfFile` object returned from a call to `open` or `open-in-memory`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close