pastastore 1.6.0__tar.gz → 1.6.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. {pastastore-1.6.0 → pastastore-1.6.1}/PKG-INFO +1 -1
  2. {pastastore-1.6.0 → pastastore-1.6.1}/pastastore/version.py +1 -1
  3. {pastastore-1.6.0 → pastastore-1.6.1}/pastastore.egg-info/PKG-INFO +1 -1
  4. {pastastore-1.6.0 → pastastore-1.6.1}/tests/test_007_hpdextension.py +4 -1
  5. {pastastore-1.6.0 → pastastore-1.6.1}/LICENSE +0 -0
  6. {pastastore-1.6.0 → pastastore-1.6.1}/pastastore/__init__.py +0 -0
  7. {pastastore-1.6.0 → pastastore-1.6.1}/pastastore/base.py +0 -0
  8. {pastastore-1.6.0 → pastastore-1.6.1}/pastastore/connectors.py +0 -0
  9. {pastastore-1.6.0 → pastastore-1.6.1}/pastastore/datasets.py +0 -0
  10. {pastastore-1.6.0 → pastastore-1.6.1}/pastastore/plotting.py +0 -0
  11. {pastastore-1.6.0 → pastastore-1.6.1}/pastastore/store.py +0 -0
  12. {pastastore-1.6.0 → pastastore-1.6.1}/pastastore/styling.py +0 -0
  13. {pastastore-1.6.0 → pastastore-1.6.1}/pastastore/util.py +0 -0
  14. {pastastore-1.6.0 → pastastore-1.6.1}/pastastore/yaml_interface.py +0 -0
  15. {pastastore-1.6.0 → pastastore-1.6.1}/pastastore.egg-info/SOURCES.txt +0 -0
  16. {pastastore-1.6.0 → pastastore-1.6.1}/pastastore.egg-info/dependency_links.txt +0 -0
  17. {pastastore-1.6.0 → pastastore-1.6.1}/pastastore.egg-info/requires.txt +0 -0
  18. {pastastore-1.6.0 → pastastore-1.6.1}/pastastore.egg-info/top_level.txt +0 -0
  19. {pastastore-1.6.0 → pastastore-1.6.1}/pyproject.toml +0 -0
  20. {pastastore-1.6.0 → pastastore-1.6.1}/readme.md +0 -0
  21. {pastastore-1.6.0 → pastastore-1.6.1}/setup.cfg +0 -0
  22. {pastastore-1.6.0 → pastastore-1.6.1}/tests/test_001_import.py +0 -0
  23. {pastastore-1.6.0 → pastastore-1.6.1}/tests/test_002_connectors.py +0 -0
  24. {pastastore-1.6.0 → pastastore-1.6.1}/tests/test_003_pastastore.py +0 -0
  25. {pastastore-1.6.0 → pastastore-1.6.1}/tests/test_004_yaml.py +0 -0
  26. {pastastore-1.6.0 → pastastore-1.6.1}/tests/test_005_maps_plots.py +0 -0
  27. {pastastore-1.6.0 → pastastore-1.6.1}/tests/test_006_benchmark.py +0 -0
  28. {pastastore-1.6.0 → pastastore-1.6.1}/tests/test_008_stressmodels.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pastastore
3
- Version: 1.6.0
3
+ Version: 1.6.1
4
4
  Summary: Tools for managing Pastas time series models.
5
5
  Author: D.A. Brakenhoff
6
6
  Maintainer-email: "D.A. Brakenhoff" <d.brakenhoff@artesia-water.nl>, "R. Calje" <r.calje@artesia-water.nl>, "M.A. Vonk" <m.vonk@artesia-water.nl>
@@ -9,7 +9,7 @@ PASTAS_VERSION = parse_version(ps.__version__)
9
9
  PASTAS_LEQ_022 = PASTAS_VERSION <= parse_version("0.22.0")
10
10
  PASTAS_GEQ_150 = PASTAS_VERSION >= parse_version("1.5.0")
11
11
 
12
- __version__ = "1.6.0"
12
+ __version__ = "1.6.1"
13
13
 
14
14
 
15
15
  def show_versions(optional=False) -> None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pastastore
3
- Version: 1.6.0
3
+ Version: 1.6.1
4
4
  Summary: Tools for managing Pastas time series models.
5
5
  Author: D.A. Brakenhoff
6
6
  Maintainer-email: "D.A. Brakenhoff" <d.brakenhoff@artesia-water.nl>, "R. Calje" <r.calje@artesia-water.nl>, "M.A. Vonk" <m.vonk@artesia-water.nl>
@@ -17,6 +17,7 @@ def test_hpd_download_from_bro():
17
17
  assert pstore.n_oseries == 3
18
18
 
19
19
 
20
+ @pytest.mark.xfail(reason="KNMI is being flaky, so allow this test to xfail/xpass.")
20
21
  @pytest.mark.pastas150
21
22
  def test_hpd_download_precipitation_from_knmi():
22
23
  from pastastore.extensions import activate_hydropandas_extension
@@ -29,6 +30,7 @@ def test_hpd_download_precipitation_from_knmi():
29
30
  assert pstore.n_stresses == 1
30
31
 
31
32
 
33
+ @pytest.mark.xfail(reason="KNMI is being flaky, so allow this test to xfail/xpass.")
32
34
  @pytest.mark.pastas150
33
35
  def test_hpd_download_evaporation_from_knmi():
34
36
  from pastastore.extensions import activate_hydropandas_extension
@@ -54,6 +56,7 @@ def test_update_oseries():
54
56
  assert tmintmax.loc["GMW000000036327_1", "tmax"] >= Timestamp("2024-01-20")
55
57
 
56
58
 
59
+ @pytest.mark.xfail(reason="KNMI is being flaky, so allow this test to xfail/xpass.")
57
60
  @pytest.mark.pastas150
58
61
  def test_update_stresses():
59
62
  from pastastore.extensions import activate_hydropandas_extension
@@ -61,6 +64,6 @@ def test_update_stresses():
61
64
  activate_hydropandas_extension()
62
65
 
63
66
  pstore = pst.PastaStore.from_zip("tests/data/test_hpd_update.zip")
64
- pstore.hpd.update_knmi_meteo(tmax="2024-01-31")
67
+ pstore.hpd.update_knmi_meteo(tmax="2024-01-31", normalize_datetime_index=False)
65
68
  tmintmax = pstore.get_tmin_tmax("stresses")
66
69
  assert (tmintmax["tmax"] >= Timestamp("2024-01-31")).all()
File without changes
File without changes
File without changes
File without changes