Definition at line 35 of file array.py.
| def python.array.array.__new__ |
( |
|
cls, |
|
|
|
dtype = numpy.double |
|
) |
| |
Define new numpy array.
- Parameters
-
| cls | |
| dtype | data type (default: numpy.double) |
Definition at line 36 of file array.py.
| def python.array.array.read |
( |
|
self, |
|
|
|
mapname, |
|
|
|
null = None |
|
) |
| |
Read raster map into array.
- Parameters
-
| mapname | name of raster map to be read |
| null | null value |
- Returns
- 0 on success
-
non-zero code on failure
Definition at line 64 of file array.py.
| def python.array.array.write |
( |
|
self, |
|
|
|
mapname, |
|
|
|
title = None, |
|
|
|
null = None, |
|
|
|
overwrite = None |
|
) |
| |
Write array into raster map.
- Parameters
-
| mapname | name for raster map |
| title | title for raster map |
| null | null value |
| overwrite | True for overwritting existing raster maps |
- Returns
- 0 on success
-
non-zero code on failure
Definition at line 95 of file array.py.
| python.array.array.filename |
The documentation for this class was generated from the following file: