nismod / smif

Simulation Modelling Integration Framework
http://www.itrc.org.uk
MIT License
22 stars 6 forks source link

Improve results API #372

Closed fcooper8472 closed 5 years ago

fcooper8472 commented 5 years ago

A few convenience methods to add to the results api:

Also:

fcooper8472 commented 5 years ago

Question for @willu47:

Scenarios are in the model run like so:

scenarios:
  population: population_med
  climate: central
  reservoir_level: historical
  water_sector_energy_demand: central

You want a list of scenario names given a model run... do you want:

['population', 'climate', 'reservoir_level', 'water_sector_energy_demand']

or

['population_med', 'central', 'historical', 'central']

or something else?

fcooper8472 commented 5 years ago

Perhaps just return the dictionary?

fcooper8472 commented 5 years ago

First draft is ready - @willu47 I'll open a PR for your comments on the interface

willu47 commented 5 years ago

Closed by #374