HenryDane / glEBM

A high performancee EBM using OpenGL compute shaders.
GNU General Public License v3.0
1 stars 0 forks source link

Python bindings #9

Closed HenryDane closed 8 months ago

HenryDane commented 1 year ago

Maybe add python bindings to make this more useable?

HenryDane commented 1 year ago

Python API will probably look something like this:

glEBM.create(num_lat=64, num_lon=64)

glEBM.Model

glEBM.Model.run(num_years=1, num_days=0, num_mins=0)

glEBM.Model.run_to(num_years=1, num_days=0, num_mins=0)

glEBM.Model.fetch(variable: str)

I'd also like to add some way to get/set parameters using dictionary-like syntax.

HenryDane commented 8 months ago

I think this is superseeded by the use of NetCDF files and the plan for feature switches.