File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33Create a multidimensional array within a group.
44
5+ It is recommended that the GDALDimension objects passed in aoDimensions
6+ belong to this group, either by retrieving them with :py:func:`osgeo.gdal.Group.GetDimensions`
7+ or creating a new one with :py:func:`osgeo.gdal.Group.CreateDimension`.
8+
59See :cpp:func:`GDALGroup::CreateMDArray`.
610
711Parameters
812----------
9- osName : str
13+ name : str
1014 name
11- aoDimensions : list
15+ dimensions : list
1216 List of dimensions, ordered from the slowest varying
1317 dimension first to the fastest varying dimension last.
1418 Might be empty for a scalar array (if supported by driver)
15- oDataType: GDALExtendedDataType
16- papszOptions : CSLConstList
19+ data_type: :py:class:`osgeo.gdal.ExtendedDataType`
20+ options: dict/list
21+ an optional dict or list of driver specific ``NAME=VALUE`` option strings.
1722
1823Returns
1924-------
2025
21- GDALMDArray - the new array
26+ MDArray:
27+ the new :py:class:`osgeo.gdal.MDArray` or ``None`` on failure.
2228
2329Examples
2430--------
25- >>> from osgeo import gdal
2631>>> drv = gdal.GetDriverByName('MEM')
2732>>> mem_ds = drv.CreateMultiDimensional('myds')
2833>>> rg = mem_ds.GetRootGroup()
You can’t perform that action at this time.
0 commit comments