CHECKRPC

Check an RPC MathModel for division by zero


EnvironmentsPYTHON :: EASI
Quick linksDescription :: Parameters :: Parameter descriptions :: Return Value :: Details :: Example

Back to top

Description


CHECKRPC checks a scene's RPC MathModel for division using a DEM
Back to top

Parameters


checkrpc(file, filedem)

Name Type Caption Length Value range
FILE * str Name of input reference file 1 -   1 -
FILEDEM * str File name of DEM 1 -    

* Required parameter
Back to top

Parameter descriptions

FILE

The name of the input file.

FILEDEM

The name of the input file containing elevation data.

Back to top

Return Value

Returns: Program execution status

Type:  PCI_INT

The return value is 0 if no division by zero was detected.

The return value is 1 if a division by zero was detected.

Back to top

Details

Back to top

Example

from pci.checkrpc import checkrpc
file="input.pix"
filedem="n38w123.hgt"
checkrpc(file, filedem)
      

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.