Raster

Raster provides a light wrapper for isce::io::Raster objects for the primary purpose of passing h5py and GDAL-compatible rasters to lower-level ISCE routines. Provides basic querying of raster information.

Factory

from isce3.io import raster

obj = raster(**kwds)

Documentation

class isce3.io.Raster.Raster

Wrapper for pyRaster.

EPSG

Returns EPSG code associated with raster.

Returns

EPSG code

Return type

int

GeoTransform

Return geotransform.

addRasterToVRT(pyRaster raster)

Add Raster to VRT Raster.

Parameters

raster (pyRaster) – Another instance of raster

Returns

None

getDatatype(int band=1)

Return GDAL data type of Raster.

Returns

gdal.GDT_* datatype

Return type

int

isReadOnly

Returns flag to indicate if raster is read only.

Returns

Flag indicating if raster is read only.

Return type

bool

length

Return length of the raster.

Returns

Length of the raster

Return type

int

numBands

Return number of Bands in the raster.

Returns

Number of bands in the raster.

Return type

int

width

Return width of the raster.

Returns

Width of the raster

Return type

int