Workflow
This page summarizes the practical workflows already encoded in the repository test suite.
Radiance Inspection Workflow
The rad_test regression demonstrates a minimal Level-1B radiance workflow:
- Extract a spectrum with
spec2tab. - Extract quality flags with
spec_qual. - Build a radiance map with
map_rad. - Extract orbit information with
orbit.
Representative commands:
export LD_LIBRARY_PATH=../../libs/build/lib:$LD_LIBRARY_PATH
export OMP_NUM_THREADS=4
../../src/spec2tab ../data/AIRS...02637.hdf index 60 44 data/spec.tab
../../src/spec_qual ../data/AIRS...02637.hdf 60 44 data/qual.tab
../../src/map_rad - ../data/AIRS...02637.hdf ../data/AIRS...02639.hdf 2338.43 data/wave.tab
../../src/orbit data/orbit.tab ../data/AIRS...02637.hdf
The sample granules live in tests/data.
Perturbation And Gravity-Wave Workflow
The pert_test regression demonstrates the gravity-wave analysis chain:
- Create a perturbation product with
perturbation. - Extract perturbation maps with
map_pert. - Estimate noise with
noise_pert. - Estimate variance with
variance. - Detect events with
events.
Representative commands:
../../src/perturbation data/pert.nc ../data/AIRS...02637.hdf ../data/AIRS...02639.hdf
../../src/map_pert - data/pert.nc data/map_4mu.tab PERTNAME 4mu
../../src/noise_pert - data/pert.nc data/noise_4mu.tab PERTNAME 4mu
../../src/variance - data/var_4mu.tab data/pert.nc PERTNAME 4mu NX 60 NY 30
../../src/events - data/events_4mu.tab data/pert.nc PERTNAME 4mu VARMIN 0.2
The same workflow is used for these predefined perturbation channel sets:
4mu15mu_low15mu_high
Retrieval-Oriented Workflow
The retrieval side of the code base is centered on:
extractfor preparing AIRS data for retrievalsretrievalfor the main AIRS retrieval processornltefor non-LTE index retrieval- post-processing tools such as
ret2tab,map_ret,noise_ret,diff_apr,diff_ret,select_ret, andzm_ret
In practice, start by preparing a control file and a file list, then run retrieval or nlte before using the downstream diagnostics.
Runtime Notes
- Most analysis commands accept
-as the first argument instead of a control file, allowing parameters to be supplied directly on the command line. - Several programs use OpenMP; setting
OMP_NUM_THREADSis recommended for reproducible runs. - The test scripts prepend
../../libs/build/libtoLD_LIBRARY_PATH, which is the expected pattern when relying on locally built libraries.