|
| | PYRAVE_DEBUG_MODULE ("_ravedata2d") |
| | Debug this module.
|
| |
|
long int | _pyravedata2d_len (PyObject *self) |
| |
|
int | _pyravedata2d__setitem__ (PyObject *_self, PyObject *args, PyObject *value) |
| |
|
| MOD_DIR_FORWARD_DECLARE (PyRaveData2D) |
| |
|
| PyDoc_STRVAR (_pyravedata2d_type_doc, "Defines a 2 dimensional data field that can be used within rave. Most classes uses this data field as underlying container\n" "It requires a numpy array for initializing data field with proper x & ysize which are read only. The members are:\n" "xsize - xsize of data field (read only)\n" "ysize - ysize of data field (read only)\n" "datatype - data type (read only)\n" "nodata - nodata value to use (if useNodata has been set to True)\n" "useNodata - If nodata value should be used in calculation or not. Like using NaN in for example matlab.\n" "\n" "Usage:\n" " import _ravedata2d, numpy\n" " dfield = _ravedata2d.new(numpy.array([[1,2],[3,4]],numpy.uint8))") |
| |
|
| MOD_INIT (_ravedata2d) |
| |
Python version of the RaveData2D API.
- Author
- Anders Henja (Swedish Meteorological and Hydrological Institute, SMHI)
- Date
- 2019-02-18