.king: Difference between revisions
Shawnwagner (talk | contribs) |
Shawnwagner (talk | contribs) No edit summary |
||
Line 67: | Line 67: | ||
The *.analog.raw file is generated from process_raw. | The *.analog.raw file is generated from process_raw. | ||
==winds_file (Level 3)== | |||
'''Purpose''' | |||
To create a "*winds.raw" file by compiling and running the winds_file idl routines. | |||
'''Required Input Files''' | |||
<nowiki>*.physical.raw</nowiki> and <nowiki>*.applanix.raw</nowiki> | |||
The *.physical.raw file is generated by running the analog2physical script on the *.analog.raw file created by the process_raw script from the *.sea file. | |||
The *applanix.raw file is generated by running the process_raw script on an *.sea file. | |||
'''Output File''' | |||
<nowiki>*REAL.winds.raw*</nowiki> | |||
'''Syntax''' | |||
winds_file <final> <csh_error> physical_file applanix_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 instead of occurring in the IDL code. | |||
''Example Syntax'' | |||
winds_file 14_04_29_15_21_03.physical.raw 14_04_29_15_21_03.applanix.raw | |||
==king2lwc (Level 3)== | ==king2lwc (Level 3)== |
Revision as of 21:51, 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
*.applanix.raw
*.housekeeping.cip.raw
The first file 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.
winds_file (Level 3)
Purpose
To create a "*winds.raw" file by compiling and running the winds_file idl routines.
Required Input Files
*.physical.raw and *.applanix.raw
The *.physical.raw file is generated by running the analog2physical script on the *.analog.raw file created by the process_raw script from the *.sea file. The *applanix.raw file is generated by running the process_raw script on an *.sea file.
Output File
*REAL.winds.raw*
Syntax
winds_file <final> <csh_error> physical_file applanix_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 instead of occurring in the IDL code.
Example Syntax
winds_file 14_04_29_15_21_03.physical.raw 14_04_29_15_21_03.applanix.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