-
Notifications
You must be signed in to change notification settings - Fork 194
[PULL REQUEST] Add co2 run #582
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
Changes from 16 commits
7515c06
e6e2ebd
83d328c
cd488b8
8086fe4
a9f305e
2f675c7
f358e6a
3502d06
a62f440
32c723f
81a3a0e
5891c0a
b1076ea
d298d16
4c0a282
48919c2
e34e0eb
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 |
|---|---|---|
|
|
@@ -5600,6 +5600,19 @@ SUBROUTINE CHECK_TIME_STEPS( Input_Opt, State_Grid, RC) | |
| TS_DYN = Input_Opt%TS_DYN | ||
| TS_RAD = Input_Opt%TS_RAD | ||
|
|
||
| ! If we're doing the reverse integration | ||
| ! multiply all the timesteps by -1 here | ||
| if (TS_DYN < 0) THEN | ||
| ! TS_DYN and TS_CHEM should always be set to something valid...? | ||
| TS_DYN = TS_DYN * -1 | ||
| TS_CHEM = TS_CHEM * -1 | ||
| if (LTURB .or. LCONV) TS_CONV = TS_CONV * -1 | ||
| if (LEMIS .or. LDRYD) TS_EMIS = TS_EMIS * -1 | ||
| ! I'm not sure which flag determins radiation on/off? | ||
| if (LCHEM) TS_RAD = TS_RAD * -1 | ||
| endif | ||
|
|
||
|
|
||
|
Contributor
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. For GC-Classic to build and run I needed to change this section to this:
Contributor
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. Otherwise this looks good to go. If you could just push the update I will go ahead and merge. Thanks for your work on this! |
||
| ! NUNIT is time step in minutes for unit conversion | ||
| TS_UNIT = -1 | ||
|
|
||
|
|
||
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.
This will need to be in a MAPL ifdef so that GC-Classic does not execute it