Closed davidorme closed 1 year ago
This is closely related to #24, which was aimed at using pytest-datadir
to better organise data within the tests
directory. However, given all the code involved with the golden output generation, I think it is probably better to use pyrealm_build_data
and keep the tests
directory clear of data generation code.
There are several "golden output" datasets currently embedded in the
tests
directory. These most logically belong in thepyrealm_build_data
sdist
package and indeed a number of bits of test data are already stored in there.The code, inputs and outputs should probably moved into sensible directory structures in
pyrealm_build_data
along with better documentation and clear instructions on how to regenerate the outputs.One issue here - I do not really want to make
R
a build dependency, so I'd be tempted to just simply document that developers will need to install R and therpmodel
package for that dataset.