JGCRI / gcam-core

GCAM -- The Global Change Analysis Model
http://jgcri.github.io/gcam-doc/
Other
282 stars 163 forks source link

Cannot run GCAM with 1 year time steps #317

Closed euterpe87 closed 1 year ago

euterpe87 commented 1 year ago

Hi everybody, I'm trying to run the model with the below time settings (namely with 1 year time steps), but I get errors related to interpolation issues (e.g. "Skipping interpolation for BC in year 2021 due to mismatch.") or input data issues. Is it actually possible to run the model with 1 year time steps? If yes, does it require customization? I haven't changed anything from the default settings other than the below time settings, and I'm running the reference scenario. Thanks so much for any help!

<?xml version="1.0" encoding="UTF-8"?><scenario> <modeltime> <start-year time-step="15">1975</start-year> <final-calibration-year>2015</final-calibration-year> <end-year>2100</end-year> <carbon-model-start-year>1705</carbon-model-start-year> <inter-year dummy-tag="1" time-step="1">2005</inter-year> </modeltime> </scenario>

MincingWords commented 1 year ago

This is a total guess and based on very little concrete knowledge but, can you get away with two-year time steps? It occurs to me that not all interpolation algorithms correctly handle the edge case where there's nothing to interpolate.

euterpe87 commented 1 year ago

thanks for your answer :) but I got the below error message now: ERROR:Specified time step of 2 does not evenly divide years from 2005 to 2100

MincingWords commented 1 year ago

What if you changed

<inter-year dummy-tag="1" time-step="1">2005</inter-year>

to

<inter-year dummy-tag="1" time-step="1">2004</inter-year>

?

rjplevin commented 1 year ago

See https://github.com/JGCRI/gcam-core/issues/219#issuecomment-1133114708

euterpe87 commented 1 year ago

See #219 (comment)

thank you!!