ciceroOslo / ciceroscm

Python version of the CICERO-SCM simple climate model/emulator
Apache License 2.0
17 stars 4 forks source link

direct access to results dataframes #23

Closed benmsanderson closed 2 years ago

benmsanderson commented 2 years ago

A subset of results are available from the cscm object after calling the model i.e. cscm._run( ... ) cscm.results['OHCTOT']

returns a dataframe of ocean heat content

Having access to all model outputs by this mechanism would be useful, along with a switch to turn off writing out text file output.

maritsandstad commented 2 years ago

@benmsanderson how do you feel about the formatting of this. Should it be an IAM dataframe?

benmsanderson commented 2 years ago

I'm a little torn on this. The standardised IAMdf format could be used for both input and output here, but we would have pyam dependencies and it's a bit harder to change things (in input) than just a dictionary of vanilla pandas dataframes. But - I can see the logic.

maritsandstad commented 2 years ago

I have similar feelings on this topic...