GF1_PMS

Luo_Suppe2026-11-20

gma.sensors.optical.GF1_PMS

[class] GF1_PMS(infile):

The image must be accompanied by an XML metadata file (the same name as the image, with a .xml extension, in the same path) for radiometric calibration.

Create a GF-1 PMS sensor object.

Parameters:

infile: str.

The GF-1 PMS image file path.

Optional:

**kwargs:

Other parameters passed to gma.gio.open_raster.

Returns:

Type: GF1_PMS.

Method

radiometric_calibration(out_file = None)

Radiometric calibration based on the XML metadata of the GF-1 PMS image.

The gain and offset are read from the XML metadata ('AbsCeof' and 'AOffset') by default, and can be overridden by AGain and AOffset.

Optional:

out_file = str or None. Default None.

The output raster file path. If not set (None), a memory file is created.

**kwargs:

AGain = float or list. Absolute calibration gain for each band. Default is read from XML ('AbsCeof').

AOffset = float or list. Absolute calibration offset for each band. Default is read from XML ('AOffset').

Returns:

Type: DataSet.

orthorectification(out_file = None, dem = None)

Orthorectify the image based on RPC (Rational Polynomial Coefficients) metadata.

Optional:

out_file = str or None. Default None.

The output raster file path. If not set (None), a memory file is created.

dem = str or None. Default None.

The DEM file path used for RPC calculations.

**kwargs:

Other parameters passed to gma.etools.orthorectification.

Returns:

Type: DataSet.

Last Updated 11/21/2026, 2:33:17 AM