Last active
June 30, 2022 16:01
-
-
Save mt5555/fc89e32467572b5099b90f6dc023e678 to your computer and use it in GitHub Desktop.
TSC ninst mods
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
index 330677383..4a22ab908 100644 | |
--- a/CIME/SystemTests/tsc.py | |
+++ b/CIME/SystemTests/tsc.py | |
@@ -105,8 +105,12 @@ class TSC(SystemTestsCommon): | |
nstep_output = OUT_FREQ // dtime | |
for iinst in range(1, NINST + 1): | |
+ | |
+ cmd = '\cp -f ' + f'user_nl_{self.atmmod} ' + f'user_nl_{self.atmmod}_'+str(iinst).zfill(4) + '\n' | |
+ os.system(cmd) | |
+ | |
with open( | |
- f"user_nl_{self.atmmod}_" + str(iinst).zfill(4), "w" | |
+ f"user_nl_{self.atmmod}_" + str(iinst).zfill(4), "a" | |
) as atmnlfile, open( | |
f"user_nl_{self.lndmod}_" + str(iinst).zfill(4), "w" | |
) as lndnlfile: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment