JGCRI / hector

The Hector Simple Climate Model
http://jgcri.github.io/hector/
GNU General Public License v3.0
113 stars 47 forks source link

Testing for current date data #704

Open kdorheim opened 1 year ago

kdorheim commented 1 year ago

The R unit testing is pretty powerful but it does not check the values that are returned at the current state (if no date is provided, it assumes to return the current value/most recent date. This is how GCAM interacts with Hector). @pralitp and I ran into a problem caused by this when adding GMST to GCAM output. It would be good to test these outputs somehow may be with google tests?