Skip to content

Commit

Permalink
Rename tasmean to tg for unit options
Browse files Browse the repository at this point in the history
  • Loading branch information
eyvorchuk committed Apr 15, 2024
1 parent 4002c11 commit 727af01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions chickadee/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@
data_type="string",
),
LiteralInput(
"tasmean_units",
"tg_units",
"Tasmean Units",
abstract="Units used for tasmean in output file",
abstract="Units used for tg (tasmean) in output file",
max_occurs=1,
default="celsius",
data_type="string",
Expand Down
4 changes: 2 additions & 2 deletions chickadee/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def set_general_options(
n_pr_bool,
tasmax_units,
tasmin_units,
tasmean_units,
tg_units,
pr_units,
max_gb,
start_date,
Expand All @@ -46,7 +46,7 @@ def set_general_options(
max.GB={max_gb},
check.units={r_boolean(units_bool)},
check.neg.precip={r_boolean(n_pr_bool)},
target.units=c(tasmax='{tasmax_units}', tasmin='{tasmin_units}', tasmean='{tasmean_units}', pr='{pr_units}'),
target.units=c(tasmax='{tasmax_units}', tasmin='{tasmin_units}', tg='{tg_units}', pr='{pr_units}'),
calibration.start=as.POSIXct('{start_date}', tz='GMT'),
calibration.end=as.POSIXct('{end_date}', tz='GMT')
)
Expand Down

0 comments on commit 727af01

Please sign in to comment.