Click or drag to resize

CRPSSTPCorrectionFromPressure 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 STPCorrectionFromPressure(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	string raw_radar_altimeter,
	string pressure_channel,
	string temperature_channel,
	string stp_alt_channel
)

public static void STPCorrectionFromPressure(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	string raw_radar_altimeter,
	string pressure_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
pressure_channel
Type: SystemString
Input pressure channel name (kPa)
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 * P))/((273.15 + temp) * 101.325) where: STP_Altitude = STP corrected altitude (m) radar_alt = raw radar altimeter channel value (m) P = raw pressure channel value (kPa) temp = temperature channel value (degrees Celsius)
See Also