.king: Difference between revisions

From ADPAA
Jump to navigation Jump to search
Line 28: Line 28:
  process_raw ${CoPAS_DIR}/ADTAE/TestData/FlightData/20220411_152103/PostProcessing/22_04_11_15_21_03.sea
  process_raw ${CoPAS_DIR}/ADTAE/TestData/FlightData/20220411_152103/PostProcessing/22_04_11_15_21_03.sea


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


'''Purpose'''
'''Purpose'''


Extracts the King probe power data from the SEA M300 data acquisition system file (*.sea).
To convert analog measurements from engineering units (voltages) to physical units (i.e. degree C).
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.
<nowiki>*.analog.*</nowiki>


'''Required Input Files'''
'''Output File'''


<nowiki>*.sea</nowiki>
<nowiki>*.physical.raw</nowiki>


'''Output Files'''
'''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.


Among many other files, it generates:
<csh_error> causes the error to be returned to the csh calling program.


*<nowiki>*.physical.raw</nowiki>
<nohotwireslave> causes the hot wire probe voltage not to be checked.  


'''Syntax'''
<physical> generates a *.physical.raw file.
 
<ccn> generates a *ccn.raw file.
 
<ballvario> generates a *balvario.raw file.
 
<nevzorov> generates a *.nevzorov file.


process_raw <-d> <-v> <-vm> input_file
<TDLflow> generates a *.TDLflow.raw file.


'''Example Syntax'''


process_raw ${CoPAS_DIR}/ADTAE/TestData/FlightData/20220411_152103/PostProcessing/22_04_11_15_21_03.sea
''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)==
==king2lwc (Level 3)==

Revision as of 21:46, 26 August 2024

process_raw (Level 1)

Purpose

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

Subroutines

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

*.sea

Output Files

Among many other files, it generates:

  • *.physical.raw

Syntax

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

Example Syntax

process_raw ${CoPAS_DIR}/ADTAE/TestData/FlightData/20220411_152103/PostProcessing/22_04_11_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