.king: Difference between revisions

From ADPAA
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


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


'''Subroutines'''
'''Subroutines'''
Line 30: Line 30:
  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


==wcm2correct.py (Level 3)==
==king2lwc.pro (Level 3)==


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


Calculates the adjusted TWC and LWC (083) for the SEA Water Content Measurement (WCM) probe. Uses the CIP and CDP (PADS/M300) files to
To calculate the liquid water content for the king probe using a correction factor for the baseline voltage.
determine when in or out of cloud and does a baseline correction when out of cloud for a set duration. Creates a file (*.correct.wcm.raw)
with baseline corrected and adjusted water contents.


'''Required Input Files'''
'''Required Input Files'''


<nowiki>*.seriald1.wcm.raw</nowiki> or <nowiki>*.wcm_comb.raw</nowiki>
<nowiki>*.physical.raw</nowiki> <nowiki>*.wcm_comb.raw</nowiki>


'''Optional Input Files'''
'''Optional Input Files'''

Revision as of 20:58, 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:

  • *.seriald0.wcm.raw
  • *.seriald1.wcm.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

king2lwc.pro (Level 3)

Purpose

To calculate the liquid water content for the king probe using a correction factor for the baseline voltage.

Required Input Files

*.physical.raw *.wcm_comb.raw

Optional Input Files

*.CIP_V.conc.1Hz

*.conc.cdp.1Hz

Output Files

*.correct.wcm.raw

Syntax

[python3] wcm2correct.py [verbose=0|1] [ci_conc_file] [cdp_conc_file] wcm_file

Examples

wcm2correct.py verbose=1 22_04_11_15_21_03.wcm_comb.raw
wcm2correct.py 22_04_11_15_21_03.conc.cdp.1Hz 22_04_11_15_21_03.seriald1.wcm.raw
wcm2correct.py verbose=1 22_04_11_15_21_03.cip_PADS.raw 22_04_11_15_21_03.seriald1.wcm.raw