Closed HenryDane closed 8 months ago
Python API will probably look something like this:
glEBM.create(num_lat=64, num_lon=64)
num_lat
and num_lon
must be powers of two and must both be >= 32.glEBM.Model
glEBM.Model
model.new_thingy = something
)glEBM.Model.run(num_years=1, num_days=0, num_mins=0)
num_years
+ num_days
+ num_mins
. num_...
arguments may be floatsglEBM.Model.run_to(num_years=1, num_days=0, num_mins=0)
num_years
+ num_days
+ num_mins
. num_years
+ num_days
+ num_mins
, this function does nothing.glEBM.Model.fetch(variable: str)
ValueError
.I'd also like to add some way to get/set parameters using dictionary-like syntax.
I think this is superseeded by the use of NetCDF files and the plan for feature switches.
Maybe add python bindings to make this more useable?