CSHS-CWRA / RavenHydroFramework

repository for the Raven Hydrological Modelling Framework developed at the University of Waterloo
Artistic License 2.0
18 stars 8 forks source link

Build shared library that exposes Raven to Python #16

Closed huard closed 6 months ago

huard commented 8 months ago

Addressing a Problem?

I want to know the Raven version without having to execute the model and parse the output.

This implies:

While this is fairly trivial, it opens the door to expose more complex functionalities to Python, ie the BMI interface.

Potential Solution

Create a new file libraven.cpp that defines a PYBIND11_MODULE mapping c++ objects to their Python equivalent.

Additional context

No response

Contribution