-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add TUV-x to CAM #784
base: cam_development
Are you sure you want to change the base?
Add TUV-x to CAM #784
Changes from 88 commits
452b0fc
fdf16a3
9507439
6fa3038
2e3b965
8403076
dd39794
9f6b6d2
5f1378c
46ff4f3
ab18e82
5da13c7
7a59241
ffb0f5e
9cebe0d
3241b31
8e100d5
64f9a3b
49d323b
0a0b3ff
0562e9d
69a5897
e3cc2ab
1e05ffe
80c3479
5d89cb7
422aba7
147e15a
7854fde
f8be1bb
13e030f
996bd91
1011882
ea8a654
439a0ba
9ded52f
facccaf
a3b66a0
ee5f4fc
f4fa3dc
583c4b5
1f433ff
fd715e1
9c3d234
a60e90d
fe1f142
d5c4d84
26375d9
3d8852c
364d905
d29ea42
3c6def8
a7e1030
be7e7f1
37326c4
0608ae3
1b4f238
790a0e1
4b8ca93
a13d6f8
22811e6
770f6cc
620b8d4
d69a00a
1e8d9fa
c47a4c3
60e0f54
eb69196
1a2204e
1a85f0a
f8882cd
07fae13
3e1f445
6d528a2
23c8252
f977c85
1919ddd
889e146
616fcdc
561d226
e0b3ca6
c572a68
0087b93
ab79052
34a48a3
c90dccb
93983f6
8a8c1af
3e4c77b
a3669a5
c12d1e4
15ba87b
ace8449
402be6e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -211,6 +211,17 @@ def buildnml(case, caseroot, compname): | |
if (os.path.isfile(file1)) and (not os.path.isfile(file2)): | ||
shutil.copy(file1,file2) | ||
|
||
# Temporary copy of TUV-x data for development | ||
dest_data = os.path.join(rundir, "data") | ||
if os.path.exists(dest_data): | ||
shutil.rmtree(dest_data) | ||
shutil.copytree(os.path.join(srcroot, "libraries", "tuv-x", "data"), \ | ||
dest_data) | ||
shutil.copy2(os.path.join(srcroot, "cime_config", "tuvx_MOZART.json"), \ | ||
os.path.join(rundir, "tuvx_MOZART.json")) | ||
shutil.copy2(os.path.join(srcroot, "cime_config", "tuvx_MOZART_TS1.json"), \ | ||
os.path.join(rundir, "tuvx_MOZART_TS1.json")) | ||
Comment on lines
+220
to
+223
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are two CAM-specific configuration files (each for specific MOZART chemical mechanisms) needed to use TUV-x in CAM. Should these be moved to the CAM dataset repository? @nusbaume @cacraigucar There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This handling for config files looks similar to what we originally did for GEOS-Chem. Ultimately we decided to keep the config files in the source code, copy them at case setup time to the case root via cam/cime_config/case.case_setup.py, and then copy from case root to run directory upon submit (via this code in buildnml). This is good if you think your config file template will be tied to source code version and you want users to be able to custom edit it prior to run-time(from case root). |
||
|
||
############################################################################### | ||
def _main_func(): | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mattldawson
I believe to get the correct compiler flags you need this line: