create
type, options=[]) fio.GridSource.create(shape, nb,
Create a new data source.
Only in write ('w'
) mode.
Parameters
Name | Type | Description | Default |
---|---|---|---|
shape | tuple | Shape of the grid. Takes the form of [ |
required |
nb | int | The number of bands in the new data source. | required |
type | int | Data type. The values is an integer which is linked to a data type recognized by GDAL. See [this page] (https://gdal.org/java/org/gdal/gdalconst/ gdalconstConstants.html#GDT_Unknown) for more information. | required |
options | list | Additional arguments. | [] |