Closed ledm closed 1 year ago
you have a buggy bug, have a look at the failed test buds
It's here: https://github.com/valeriupredoi/bgcval2/pull/87/commits/60cf6b0fcc3ae39eb441c0bfd45dc24f0322b6dd
The tests are passing netcdf filenames as a string, but the function requires an openned netcdf as a bgcval.dataset object.
Ergo: Test is wrong, not code.
test is never wrong - it means you have changed the handling in a function - hence the test failing is a good thing (catches that and is waiting for a fix or test change); if you have tests passing on main
and tests failing here it means once you "fix" the test here the behaviour in main
will make it fail. I'll have a look
you were missing a check on the existence of kwargs
in globalVolumeMean()
standard function - always good to check if stuff's there before starting to call it :grin:
Here's a few minor changes for Terrafirma. Including:
Closes #82 Addresses but does not close #72