 | 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
Syntaxpublic 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
)
Public Shared Sub STPCorrectionFromPressure (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
raw_radar_altimeter As String,
pressure_channel As String,
temperature_channel As String,
stp_alt_channel As String
)
Public Shared Sub STPCorrectionFromPressure (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
raw_radar_altimeter As String,
pressure_channel As String,
temperature_channel As String,
stp_alt_channel As String
)
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
)
static member STPCorrectionFromPressure :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
raw_radar_altimeter : string *
pressure_channel : string *
temperature_channel : string *
stp_alt_channel : string -> unit
static member STPCorrectionFromPressure :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
raw_radar_altimeter : string *
pressure_channel : string *
temperature_channel : string *
stp_alt_channel : string -> unit
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