Skip to content
This repository was archived by the owner on Sep 21, 2025. It is now read-only.

Commit efb8fde

Browse files
authored
Merge pull request #220 from ACCESS-Community-Hub/issue219
Issue219
2 parents 010fc68 + 774ce44 commit efb8fde

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/mopper/mop_setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# originally written for CMIP5 by Peter Uhe and dapted for CMIP6 by Chloe Mackallah
2020
# ( https://doi.org/10.5281/zenodo.7703469 )
2121
#
22-
# last updated 10/10/2024
22+
# last updated 01/08/2025
2323

2424
import os
2525
import shutil
@@ -96,7 +96,10 @@ def find_matches(table, var, realm, frequency, mappings):
9696
resample = match.get('resample', '')
9797
timeshot, frequency, orig_timeshot = define_timeshot(frequency, resample,
9898
match['cell_methods'])
99-
match['resample'] = f"{resample} {orig_timeshot}"
99+
if resample != "":
100+
resample = f"{resample} {orig_timeshot}"
101+
match['resample'] = resample
102+
mop_log.debug(f"Resample is {resample}")
100103
match['timeshot'] = timeshot
101104
match['table'] = table
102105
match['frequency'] = frequency

src/mopper/setup_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ def define_template(ctx, flag, nrows):
766766
# for a list of packages
767767
768768
module use /g/data/hh5/public/modules
769-
module load conda/analysis3
769+
module load conda/analysis3-unstable
770770
{ctx.obj['conda_env']}
771771
772772
cd {ctx.obj['appdir']}

0 commit comments

Comments
 (0)