Separate examples, possibly tests, into their own repo #191
Replies: 4 comments
-
@vectorflux Curious if you have any thoughts on this too, esp. if it complicates CI that we're hosting. |
Beta Was this translation helpful? Give feedback.
-
@skosukhin Also interested to know if you have an opinion on this question |
Beta Was this translation helpful? Give feedback.
-
Happy to talk soon about organization of code and tests! |
Beta Was this translation helpful? Give feedback.
-
After some discussion we've agreed to generalize the examples and tests to allow for different gas optics implementations, but not to remove the examples and tests from the main repo. |
Beta Was this translation helpful? Give feedback.
-
@Chiil @menzel-gfdl As we expand the universe of gas optics treatments it would be nice to reuse as much of the example and testing codes as possible. A proposal: we separate the Fortran codes currently in examples/ and tests/ into their own repo and generalize them to work with any gas optics object. We write small modules for each specific gas optics implementation that define the specific gas optics type and initialize it with data. At compile time one links the general codes with the specific gas optics type.
Continuous integration would check out, build, and run the codes in the example-n-testing repo.
Comments? Planning to do this in January if it's ok.
Beta Was this translation helpful? Give feedback.
All reactions