.king

From ADPAA
Revision as of 21:56, 26 August 2024 by Shawnwagner (talk | contribs) (→‎process_raw (Level 1))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

process_raw (Level 1)

Purpose

This script extracts analog data from SEA M300 data system file (*.sea) and creates the *.analog.raw file.

Required Input File

*.sea

Output File

Among many other files, it generates:

*.analog.raw

This will be used in the following scripts.

Syntax

 process_raw <-d> <-v> <-vm> input_file

Example Syntax

 process_raw $ADPAA_DIR/src/TestData/FlightData/20140429_152103/PostProcessing/14_04_29_15_21_03.sea

analog2physical (Level 2)

Purpose

To convert analog measurements from engineering units (voltages) to physical units (i.e. degree C).

Required Input File

*.analog.*

Output File

*.physical.raw

Syntax

 analog2physical <final> <csh_error> <hotwire_offset> <nohotwireslave> <physical> <ccn> <ballvario> <nevzorov> <TDLflow> input_file

Optional parameters

<final> causes the output data to be tagged Final instead of Preliminary.

<csh_error> causes the error to be returned to the csh calling program.

<nohotwireslave> causes the hot wire probe voltage not to be checked.

<physical> generates a *.physical.raw file.

<ccn> generates a *ccn.raw file.

<ballvario> generates a *balvario.raw file.

<nevzorov> generates a *.nevzorov file.

<TDLflow> generates a *.TDLflow.raw file.


Example Syntax

 analog2physical $ADPAA_DIR/src/TestData/FlightData/20140429_152103/PostProcessing/14_04_29_15_21_03.analog.raw
 

The *.analog.raw file is generated from process_raw.

king2lwc (Level 3)

Purpose

To calculate the liquid water content for the king probe using a correction factor for the baseline voltage and call all necessary subroutines.

Required Input Files

*.physical.raw, *.wind.raw or *.basic.raw, *.baumgardner.fssp.raw or *.conc.spp_fssp.raw or *.conc.cdp.raw or *.conc.fscdp.raw

Output Files

*.king.raw

Syntax

king2lwc [physical_file] [wind_file or basic_file] [fssp_file or cdp_file]

Examples

king2lwc 02_07_18_16_41_07.physical.raw 02_07_18_16_41_07.REAL.winds.raw 02_07_18_16_41_07.baumgardner.fssp.raw
king2lwc 23_01_13_04_16_54.physical.raw 23_01_13_04_16_54.basic.raw 23_01_13_04_16_54.conc.cdp.raw