Skip to content

Commit

Permalink
Merge pull request #158 from ACCESS-NRI/157/ESM1.5-stash-overwrite
Browse files Browse the repository at this point in the history
Add stashvar model overwrite functionality, and missing ESM1.5 variable names
  • Loading branch information
blimlim authored Nov 29, 2024
2 parents 31452af + 8a0fde1 commit cc0f2ba
Show file tree
Hide file tree
Showing 4 changed files with 445 additions and 147 deletions.
6 changes: 4 additions & 2 deletions src/um2nc/conversion_driver_esm1p5.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from pathlib import Path
from um2nc import um2netcdf
import mule
from um2nc.stashmasters import STASHmaster


# TODO: um2netcdf will update the way arguments are fed to `process`.
Expand All @@ -31,10 +32,11 @@
# Named tuple to hold the argument list
ARG_NAMES = collections.namedtuple(
"Args",
"nckind compression simple nomask hcrit verbose include_list exclude_list nohist use64bit",
"nckind compression simple nomask hcrit verbose include_list exclude_list nohist use64bit model",
)
# TODO: Confirm with Martin the below arguments are appropriate defaults.
ARG_VALS = ARG_NAMES(3, 4, True, False, 0.5, False, None, None, False, False)
ARG_VALS = ARG_NAMES(3, 4, True, False, 0.5, False, None, None, False, False,
STASHmaster.ACCESS_ESM1p5)


# Character in filenames specifying the unit key
Expand Down
Loading

0 comments on commit cc0f2ba

Please sign in to comment.