Package osgeo :: Module gdal :: Class MDArray |
[hide private]
[frames] | no frames]

# Class MDArray

source code

Proxy of C++ GDALMDArrayHS class.

Instance Methods | [hide private]
__init__(self, *args, **kwargs) | source code
__repr__(self) | source code
GetName(self, *args) GetName(MDArray self) -> char const * | source code
GetFullName(self, *args) GetFullName(MDArray self) -> char const * | source code
GetTotalElementsCount(self, *args) GetTotalElementsCount(MDArray self) -> unsigned long long | source code
GetDimensionCount(self, *args) GetDimensionCount(MDArray self) -> size_t | source code
GetDimensions(self, *args) GetDimensions(MDArray self) | source code
GetCoordinateVariables(self, *args) GetCoordinateVariables(MDArray self) | source code
GetBlockSize(self, *args) GetBlockSize(MDArray self) | source code
GetProcessingChunkSize(self, *args) GetProcessingChunkSize(MDArray self, size_t nMaxChunkMemory) | source code
GetDataType(self, *args) GetDataType(MDArray self) -> ExtendedDataType | source code
GetStructuralInfo(self, *args) GetStructuralInfo(MDArray self) -> char ** | source code
WriteStringArray(self, *args) WriteStringArray(MDArray self, int nDims1, int nDims2, int nDims3, ExtendedDataType buffer_datatype, char ** options) -> CPLErr | source code
GetAttribute(self, *args) GetAttribute(MDArray self, char const * name) -> Attribute | source code
GetAttributes(self, *args) GetAttributes(MDArray self, char ** options=None) | source code
CreateAttribute(self, *args) CreateAttribute(MDArray self, char const * name, int nDimensions, ExtendedDataType data_type, char ** options=None) -> Attribute | source code
GetNoDataValueAsRaw(self, *args) GetNoDataValueAsRaw(MDArray self) -> CPLErr | source code
GetNoDataValueAsDouble(self, *args) GetNoDataValueAsDouble(MDArray self) | source code
GetNoDataValueAsInt64(self, *args) GetNoDataValueAsInt64(MDArray self) | source code
GetNoDataValueAsUInt64(self, *args) GetNoDataValueAsUInt64(MDArray self) | source code
GetNoDataValueAsString(self, *args) GetNoDataValueAsString(MDArray self) -> retStringAndCPLFree * | source code
SetNoDataValueDouble(self, *args) SetNoDataValueDouble(MDArray self, double d) -> CPLErr | source code
SetNoDataValueInt64(self, *args) SetNoDataValueInt64(MDArray self, GIntBig v) -> CPLErr | source code
SetNoDataValueUInt64(self, *args) SetNoDataValueUInt64(MDArray self, GUIntBig v) -> CPLErr | source code
SetNoDataValueString(self, *args) SetNoDataValueString(MDArray self, char const * nodata) -> CPLErr | source code
SetNoDataValueRaw(self, *args) SetNoDataValueRaw(MDArray self, GIntBig nLen) -> CPLErr | source code
DeleteNoDataValue(self, *args) DeleteNoDataValue(MDArray self) -> CPLErr | source code
GetOffset(self, *args) GetOffset(MDArray self) | source code
GetOffsetStorageType(self, *args) GetOffsetStorageType(MDArray self) -> GDALDataType | source code
GetScale(self, *args) GetScale(MDArray self) | source code
GetScaleStorageType(self, *args) GetScaleStorageType(MDArray self) -> GDALDataType | source code
SetOffset(self, *args, **kwargs) SetOffset(MDArray self, double val, GDALDataType storageType) -> CPLErr | source code
SetScale(self, *args, **kwargs) SetScale(MDArray self, double val, GDALDataType storageType) -> CPLErr | source code
SetUnit(self, *args) SetUnit(MDArray self, char const * unit) -> CPLErr | source code
GetUnit(self, *args) GetUnit(MDArray self) -> char const * | source code
SetSpatialRef(self, *args) SetSpatialRef(MDArray self, SpatialReference srs) -> OGRErr | source code
GetSpatialRef(self, *args) GetSpatialRef(MDArray self) -> SpatialReference | source code
GetView(self, *args) GetView(MDArray self, char const * viewExpr) -> MDArray | source code
Transpose(self, *args) Transpose(MDArray self, int nList) -> MDArray | source code
GetUnscaled(self, *args) GetUnscaled(MDArray self) -> MDArray | source code
GetMask(self, *args) GetMask(MDArray self, char ** options=None) -> MDArray | source code
AsClassicDataset(self, *args) AsClassicDataset(MDArray self, size_t iXDim, size_t iYDim) -> Dataset | source code
GetStatistics(self, *args, **kwargs) GetStatistics(MDArray self, bool approx_ok=False, bool force=True, GDALProgressFunc callback=0, void * callback_data=None) -> Statistics | source code
ComputeStatistics(self, *args, **kwargs) ComputeStatistics(MDArray self, bool approx_ok=False, GDALProgressFunc callback=0, void * callback_data=None) -> Statistics | source code
GetResampled(self, *args) GetResampled(MDArray self, int nDimensions, GDALRIOResampleAlg resample_alg, OSRSpatialReferenceShadow ** srs, char ** options=None) -> MDArray | source code
Cache(self, *args) Cache(MDArray self, char ** options=None) -> bool | source code
Read(self, array_start_idx=None, count=None, array_step=None, buffer_stride=None, buffer_datatype=None) | source code
ReadAsArray(self, array_start_idx=None, count=None, array_step=None, buffer_datatype=None, buf_obj=None) | source code
AdviseRead(self, array_start_idx=None, count=None, options=[]) | source code
__getitem__(self, item) | source code
Write(self, buffer, array_start_idx=None, count=None, array_step=None, buffer_stride=None, buffer_datatype=None) | source code
WriteArray(self, array, array_start_idx=None, array_step=None) | source code
ReadAsMaskedArray(self, array_start_idx=None, count=None, array_step=None) Return a numpy masked array of ReadAsArray() with GetMask() | source code
GetShape(self) Return the shape of the array | source code
GetNoDataValue(self) GetNoDataValue(MDArray self) -> value | source code
SetNoDataValue(self, value) SetNoDataValue(MDArray self, value) -> CPLErr | source code

Class Variables | [hide private]
| __swig_setmethods__ = `{}`
| __setattr__ = `lambda self, name, value:`
| __swig_getmethods__ = `{}`
| __getattr__ = `lambda self, name:`
| __swig_destroy__ = `_gdal.delete_MDArray`
| __del__ = `lambda self:`
| shape = `property(fget= GetShape, doc= 'Returns the shape of th`...``

Class Variable Details | [hide private]

  ### shape Value:
      property(fget= GetShape, doc= 'Returns the shape of the array.')