diff --git a/pyproject.toml b/pyproject.toml index 5e2b3dc..237abb1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta" [project] name = "mod16" -version = "0.1.0" +version = "1.0.0" authors = [ {name = "K. Arthur Endsley", email = "arthur.endsley@ntsg.umt.edu"} ] description = "Python tools for MOD16 algorithm" readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.10" license = {file = "LICENSE"} classifiers = [ "Programming Language :: Python :: 3", @@ -38,4 +38,4 @@ dependencies = [ [project.optional-dependencies] docs = ["pdoc3>=0.9.2"] sensitivity = ["SALib>=1.4.5"] -calibration = ["pymc>=5.0.0", "pytensor>=2.18.0", "arviz>=0.13.0"] +calibration = ["pymc >=5.10.0, <=5.12.0", "pytensor>=2.18.0", "arviz>=0.13.0"] diff --git a/setup.cfg b/setup.cfg index 4905885..4677e16 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = mod16 -version = 0.1.0 +version = 1.0.0 author = K. Arthur Endsley author_email = arthur.endsley@ntsg.umt.edu description = Python tools for MOD16 algorithm @@ -13,7 +13,7 @@ classifiers = [options] packages = mod16 py_modules = mod16.utils, mod16.calibration, mod16.sensitivity -python_requires = >=3.8.0 +python_requires = >=3.10.0 install_requires = mod17>=0.1.1 h5py>=3.4.0 @@ -32,5 +32,5 @@ include_package_data = False [options.extras_require] docs = pdoc3>=0.9.2 -calibration = pymc>=5.0.0; arviz>=0.13.0; pytensor>=2.18.0 sensitivity = SALib>=1.4.5 +calibration = pymc >=5.10.0, <=5.12.0; arviz>=0.13.0; pytensor >=2.18.0, <=2.20.0 diff --git a/tests/tests.py b/tests/tests.py index 2dd9a1d..36b76b2 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -82,12 +82,12 @@ def test_et_vectorized(self): self.vpd_night, self.pressure, self.fpar, self.lai) lhv_day = latent_heat_vaporization(self.temp_day) lhv_night = latent_heat_vaporization(self.temp_night) - self.assertEqual(round(_et, 2), 36.76) - self.assertEqual(round(_day + _night, 2), 36.76) + self.assertEqual(round(_et, 2), 40.94) + self.assertEqual(round(_day + _night, 2), 40.94) # NOTE: Converting from mass-flux to radiation units incurs a loss # of precision self.assertEqual( - round((_day2 * lhv_day) + (_night2 * lhv_night), 1), 36.8) + round((_day2 * lhv_day) + (_night2 * lhv_night), 1), 41.0) def test_evaporation_soil(self): 'Should accurately calculate evaporation from bare soil'