classmodel / class-web

Web version of CLASS
https://classmodel.github.io/class-web
GNU General Public License v3.0
0 stars 0 forks source link

Implement CLASS #3

Closed Peter9192 closed 1 month ago

Peter9192 commented 2 months ago

This PR adds a basic implementation of CLASS after my simplified python version. I skipped the calculation of for CO2 and dz_h. It also adds some basic tests with Jest.

I've chosen to implement the main lifecycle methods (initialize, update) in the most basic way possible for CLASS. Wrapping them in a BMI can be done later, if so desired.

TODO:

Closes #2

Peter9192 commented 2 months ago

@sverhoeven I've tried grouping some related settings in the configuration. That would affect #1, let's see if that can work. Also, feel free to provide feedback on this PR already. It might not be the most idiomatic code, since I'm not used to writing typescript.

Peter9192 commented 1 month ago
  • Handle the new config and output formats in the web application.

Done in #4