.king: Difference between revisions

From ADPAA
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
'''Purpose'''
'''Purpose'''


Extracts the King probe power data from the SEA M300 data acquisition system file (*.sea).
This script extracts analog data from SEA M300 data system file (*.sea) and creates the *.analog.raw file.
The process_raw script creates the *.physical.raw file which contains the power.


'''Subroutines'''
'''Required Input File'''
 
The process_raw script calls the IDL subroutine process_WMI.pro, which in turn calls the subroutine '''king''', which then calls the '''create_wcm3000_headerd0.pro''' and '''create_wcm3000_headerd1.pro''' subroutines.
 
'''Required Input Files'''


<nowiki>*.sea</nowiki>
<nowiki>*.sea</nowiki>


'''Output Files'''
'''Output File'''


Among many other files, it generates:
Among many other files, it generates:


*<nowiki>*.physical.raw</nowiki>
<nowiki>*.analog.raw</nowiki>
 
This will be used in the following scripts.


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


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
'''Example Syntax'''
 
process_raw ${CoPAS_DIR}/ADTAE/TestData/FlightData/20220411_152103/PostProcessing/22_04_11_15_21_03.sea


==analog2physical (Level 2)==
==analog2physical (Level 2)==

Latest revision as of 21:56, 26 August 2024

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