Skip to content

Commit

Permalink
Allow requesting 'temperature_k'
Browse files Browse the repository at this point in the history
MM standard variable for model temperature
  • Loading branch information
zmoon committed Nov 18, 2024
1 parent 898528b commit cc33d00
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions monetio/models/_wrfchem_mm.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ def open_mfdataset(
# Additional defaults for satellite analysis
var_list.append("zstag") # 'height'

# Make sure we get 'temperature_k' if requested
if "temperature_k" in var_list:
var_list.remove("temperature_k")
if "tk" not in var_list:
var_list.append("tk")

var_wrf_list = []
for var in var_list:
if var == "pres": # Insert special versions.
Expand Down

0 comments on commit cc33d00

Please sign in to comment.