Child pages
  • netCDF kickstarter

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Interface

URL prefix

Description

JSON

/json

returns JSON formatted data structures, used for raw data transfer

CDL

/cdl

returns a CDL template with markers replaced

netCDF

/netcdf

returns an empty netCDF file based on a CDL template

Python

/python

returns a Python script generating an empty netCDF file based on a CDL template

Matlab

/matlab

returns a Matlab script generating an empty netCDF file based on a CDL template

R/rncdf4returns a R script generating an empty netCDF file based on a CDL template

ncML

/ncml

returns a netCDF file description in netCDF Markup Language (ncML) which can be used to non-intrusively append netCDF meta data to an already existing netCDF file. The resulting XML formatted file should be kept with the netCDF file that it describes.

...

Python, Matlab and ncML interface

Also the Python, Matlab, R and ncML interface are virtually the same. They all generate scripts that in turn generate an empty netCDF file according to a given CDL template (with markers replaced). The only difference between the interfaces is the language the generated script uses. The interfaces use the same syntax as the CDL and netCDF interface:

Code Block
/python/<template>?m[<marker>]=<value>&m[<marker>]=<value>& ... &m[<marker>]=<value>
/matlab/<template>?m[<marker>]=<value>&m[<marker>]=<value>& ... &m[<marker>]=<value>
/rncdf4/<template>?m[<marker>]=<value>&m[<marker>]=<value>& ... &m[<marker>]=<value>
/ncml/<template>?m[<marker>]=<value>&m[<marker>]=<value>& ... &m[<marker>]=<value>

...