Skip to content

Commit

Permalink
Update diagnostics/MDSL/MDSL.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmims authored Jan 31, 2025
1 parent 6556e74 commit f78ac1c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions diagnostics/MDSL/MDSL.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,12 @@ def coastal_tch_calc(reginfo, nreg):# Add columns to hold TCH results
# Section 1: Set parameters
# -------------------------

reg_choice = "all" # gs or all
modname ="cm4" # cm4 or esm4 or ECMWF-HR
threshold = 25.0 # Threshold for number of non-nan grid points to perform TCH on that cell
tch_size = 3.0 # Size of TCH box in degrees for regional POD (recommend ~5+ time model horiz resolution); set automatically for global
rez = 0.5 # Resolution for global regridding. Options are 0.5 or 1.0 (degrees)
cost_threshold = 5.0 # cost --> higher means larger model error relative to data
reg_choice = os.environ['reg_choice']
modname = os.environ['modname']
threshold = float(os.environ['threshold'])
tch_size = float(os.environ['tch_size'])
rez = float(os.environ['rez'])
cost_threshold = float(os.environ['cost_threshold'])

print("Parameters Set!")

Expand Down

0 comments on commit f78ac1c

Please sign in to comment.