.wcm3000

From ADPAA
Revision as of 20:12, 7 April 2025 by Brickbeil (talk | contribs) (→‎wcm3000_twc.py (scripts_python))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Multi-Element Water Content System, SEA Model WCM-3000

process_raw (Level 1)

Purpose

Extracts the liquid and total water content along with WCM 3000 Prove diagnostic data from the SEA M300 data acquisition system file (*.sea). The process_raw script creates the *.seriald0.wcm.raw and *.seriald1.wcm.raw files.

Subroutines

The process_raw script calls the IDL subroutine process_WMI.pro, which in turn calls the subroutine wcm3000.pro, 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

wcm3000_twc.py (scripts_python)

Purpose

Calculates the Science Engineering Associates INC. (SEA) Water Content Measurement (WCM-3000) probe total and liquid water contents and saves the data to a *.processed.wcm.raw file. These data are not base line adjusted.

Required Input Files

*.seriald0.wcm3000.raw

*.seriald3.wcm3000.raw

*.serialc0.wcm3000.raw

Optional Input Files

*.seriald1.wcm3000

Output Files

*.processed.wcm3000.raw

Syntax

[python3] wcm3000_twc.py [verbose=0|1] [pressure_file=press_file] [temperature_file=temp_file] [wcm3000_d1_file] wcm3000_d0_file wcm3000_d3_file wcm3000_c0_file

Examples

wcm3000_twc.py 22_06_09_04_52_26.seriald0.wcm3000.raw 22_06_09_04_52_26.seriald3.wcm3000.raw 22_06_09_04_52_26.serialc0.wcm3000.raw

wcm3000_twc.py -v 22_06_09_04_52_26.seriald0.wcm3000.raw 22_06_09_04_52_26.seriald1.wcm3000.raw 22_06_09_04_52_26.seriald3.wcm3000.raw 22_06_09_04_52_26.serialc0.wcm3000.raw

wcm2correct.py (Level 3)

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 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

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