ashiklom / hector-rcmip

Reduced Complexity Model Intercomparison using the Hector model (jgcri.github.io/hector)
Other
1 stars 2 forks source link

Revise scripts/functions to work with new constraint system #6

Open ashiklom opened 4 years ago

ashiklom commented 4 years ago

Constraints implemented in JGCRI/hector#347 work somewhat differently than what I originally implemented. In particular, rather than setting the concentration, I set an explicit concentration constraint variable (which then sets the concentration downstream).

In practice, this should only mean changing some variable names -- basically, everywhere I currently do something like setvar(..., ATMOSPHERIC_CH4()), I need to do setvar(..., CH4_CONSTRAIN()) instead (for all relevant variables).