Skip to content

Commit

Permalink
Revert " Add precipitable clouds in microwave all-sky assimilations" (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTreadon-NOAA authored Jan 18, 2025
1 parent 875fb3c commit 0150d28
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 1,155 deletions.
43 changes: 0 additions & 43 deletions observation_chronicle/atmosphere/atms_n21.yaml

This file was deleted.

142 changes: 5 additions & 137 deletions observations/atmosphere/amsua_n19.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@
# --------------------
obs operator:
name: CRTM
Absorbers: [H2O, O3, CO2]
Clouds: &{{observation_from_jcb}}_clouds [Water, Ice, Rain, Snow, Graupel]
# Cloud_Fraction: 1.0
Cloud_Seeding: true
Absorbers: [H2O, O3]
Clouds: [Water, Ice]
Cloud_Fraction: 1.0
obs options:
Sensor_ID: &{{observation_from_jcb}}_sensor_id amsua_n19
EndianType: little_endian
Expand All @@ -35,8 +34,6 @@
obs bias:
input file: "{{atmosphere_obsbiasin_path}}/{{atmosphere_obsbiasin_prefix}}{{observation_from_jcb}}{{atmosphere_obsbiasin_suffix}}"
output file: "{{atmosphere_obsbiasout_path}}/{{atmosphere_obsbiasout_prefix}}{{observation_from_jcb}}{{atmosphere_obsbiasout_suffix}}"
variables without bc: [brightnessTemperature]
channels: {{ get_satellite_variable(observation_from_jcb, "not_biascorrtd") }}
variational bc:
predictors:
- name: constant
Expand Down Expand Up @@ -67,25 +64,7 @@

# Observation Filters (QC)
# ------------------------
obs prior filters:
# Zero Atmospheric clouds in CRTM where water_area_fraction < 0.99
- filter: Variable Assignment
assignments:
- name: MetaData/zeroCloudInCRTM
type: int
function:
name: ObsFunction/Conditional
options:
# firstmatchingcase: false
defaultvalue: 0 # Will not zero clouds by default
cases:
- where:
- variable:
name: GeoVaLs/water_area_fraction
maxvalue: 0.99
value: 1 # Will zero clouds by default

obs post filters:
obs filters:
- filter: BlackList
filter variables:
- name: brightnessTemperature
Expand Down Expand Up @@ -145,7 +124,6 @@
channels: *{{observation_from_jcb}}_simulated_channels
options:
channels: *{{observation_from_jcb}}_simulated_channels
Clouds: *{{observation_from_jcb}}_clouds
obserr_clearsky: *{{observation_from_jcb}}_err0
clwret_function:
name: ObsFunction/CLWRetMW
Expand Down Expand Up @@ -323,8 +301,6 @@
x1: *{{observation_from_jcb}}_x1
err0: *{{observation_from_jcb}}_err0
err1: *{{observation_from_jcb}}_err1
threshold: 3
threshold_precip: 2.5
obserr_bound_max: [{{ get_satellite_variable(observation_from_jcb, "ermax") }}]
action:
name: reject
Expand Down Expand Up @@ -358,116 +334,8 @@
minvalue: 1.0e-12
action:
name: reject
# Column liquid cloud
- filter: Variable Assignment
assignments:
- name: DerivedMetaData/ColumnLiquidCloud
type: float
function:
name: TotalColumnCloudGuess@ObsFunction
options:
cloud_content: mass_content_of_cloud_liquid_water_in_atmosphere_layer
# Column ice cloud
- filter: Variable Assignment
assignments:
- name: DerivedMetaData/ColumnIceCloud
type: float
function:
name: TotalColumnCloudGuess@ObsFunction
options:
cloud_content: mass_content_of_cloud_ice_in_atmosphere_layer
# Combined ColumnLiquidCloud + ColumnIceCloud
- filter: Variable Assignment
assignments:
- name: DerivedMetaData/ColumnLiquidIceCloud
type: float
function:
name: ObsFunction/Arithmetic
options:
variables:
- name: DerivedMetaData/ColumnLiquidCloud
- name: DerivedMetaData/ColumnIceCloud
coefs: [1, 1]
# replace zero by 1e-7 in DerivedMetaData/ColumnLiquidIceCloud
- filter: Variable Assignment
assignments:
- name: DerivedMetaData/ColumnLiquidIceCloud
type: float
value: 1.0e-7
where:
- variable:
name: DerivedMetaData/ColumnLiquidIceCloud
maxvalue: 1.0e-8

# ratio of liquid /(Liquid+Ice)
- filter: Variable Assignment
assignments:
- name: DerivedMetaData/ColumnRatioLiquidCloud
type: float
function:
name: ObsFunction/ElementMultiply
options:
variables:
- name: DerivedMetaData/ColumnLiquidCloud
- name: DerivedMetaData/ColumnLiquidIceCloud
exponents: [1,-1]
# TotalColumnVaporGuess
- filter: Variable Assignment
assignments:
- name: DerivedMetaData/TotalColumnVaporGuess
type: float
function:
name: ObsFunction/TotalColumnVaporGuess
# potentialTemperature at surface
- filter: Variable Assignment
assignments:
- name: DerivedMetaData/PotentialTemperatureSurface
type: float
function:
name: PotentialTemperatureGuess2D@ObsFunction
options:
approximate pressure: surface_pressure
# potentialTemperature near 700 hPa
- filter: Variable Assignment
assignments:
- name: DerivedMetaData/PotentialTemperatureAt700hPa
type: float
function:
name: PotentialTemperatureGuess2D@ObsFunction
options:
approximate pressure: 70000.0
# stability = Difference between PotentialTemperatur values
- filter: Variable Assignment
assignments:
- name: DerivedMetaData/PotentialTemperatureDiff
type: float
function:
name: ObsFunction/Arithmetic
options:
variables:
- name: DerivedMetaData/PotentialTemperatureAt700hPa
- name: DerivedMetaData/PotentialTemperatureSurface
coefs: [1, -1]
## cao_check
- filter: BlackList
filter variables:
- name: brightnessTemperature
channels: 1-6, 15
where:
- variable:
name: ObsFunction/TotalColumnVaporGuess
maxvalue: 8.0
- variable:
name: DerivedMetaData/ColumnRatioLiquidCloud
maxvalue: 0.5
- variable:
name: DerivedMetaData/ColumnLiquidIceCloud
minvalue: 1.0e-6
- variable:
name: DerivedMetaData/PotentialTemperatureDiff
maxvalue: 12.0
action:
name: reject

# GeoVaLs for Driving Observation Operators (testing mode)
# --------------------------------------------------------
geovals:
Expand Down
Loading

0 comments on commit 0150d28

Please sign in to comment.