Click or drag to resize

CRPSSTPCorrectionFromBarometricAltitude Method

Apply the Standard Temperature/Pressure (STP) correction to the altimeter channel for a line in a database

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.2.0.42
Syntax
public static void STPCorrectionFromBarometricAltitude(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	string raw_radar_altimeter,
	string raw_barometric_altimeter_channel,
	string temperature_channel,
	string stp_alt_channel
)

public static void STPCorrectionFromBarometricAltitude(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	string raw_radar_altimeter,
	string raw_barometric_altimeter_channel,
	string temperature_channel,
	string stp_alt_channel
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
db
Type: GeoEngine.Core.GXNetXCDB
DB Object
line
Type: SystemInt32
Line to process (NULLSYMB for all selected lines)
raw_radar_altimeter
Type: SystemString
Input (BP-filtered) radar altimeter channel name
raw_barometric_altimeter_channel
Type: SystemString
Input raw barometric altimeter channel name
temperature_channel
Type: SystemString
Input temperature channel name (degrees Celsius)
stp_alt_channel
Type: SystemString
Output STP corrected altimeter channel name
Remarks
The output STP corrected altitude is calculated using the formula: STP_Altitude = (273.15 * radar_alt * exp(-1.0/8581.0 * barometric_alt))/(273.15 + temp) where: STP_Altitude = STP corrected altitude (m) radar_alt = raw radar altimeter channel value (m) barometric_alt = raw barometric altimeter channel value (m) temp = temperature channel value (degrees Celsius) Ref: See the RPSFILT.GXC file for details and implementation of the algorithm.
See Also