wavespectra 4.7.0__tar.gz → 4.8.0__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 (76) hide show
  1. {wavespectra-4.7.0/wavespectra.egg-info → wavespectra-4.8.0}/PKG-INFO +3 -1
  2. {wavespectra-4.7.0 → wavespectra-4.8.0}/pyproject.toml +4 -15
  3. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/__init__.py +1 -1
  4. {wavespectra-4.7.0 → wavespectra-4.8.0/wavespectra.egg-info}/PKG-INFO +3 -1
  5. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra.egg-info/requires.txt +1 -0
  6. {wavespectra-4.7.0 → wavespectra-4.8.0}/AUTHORS.rst +0 -0
  7. {wavespectra-4.7.0 → wavespectra-4.8.0}/LICENSE.txt +0 -0
  8. {wavespectra-4.7.0 → wavespectra-4.8.0}/README.rst +0 -0
  9. {wavespectra-4.7.0 → wavespectra-4.8.0}/setup.cfg +0 -0
  10. {wavespectra-4.7.0 → wavespectra-4.8.0}/setup.py +0 -0
  11. {wavespectra-4.7.0 → wavespectra-4.8.0}/tests/test_cli.py +0 -0
  12. {wavespectra-4.7.0 → wavespectra-4.8.0}/tests/test_combine_hp01.py +0 -0
  13. {wavespectra-4.7.0 → wavespectra-4.8.0}/tests/test_cookiecutter_template.py +0 -0
  14. {wavespectra-4.7.0 → wavespectra-4.8.0}/tests/test_partition.py +0 -0
  15. {wavespectra-4.7.0 → wavespectra-4.8.0}/tests/test_reader_registry.py +0 -0
  16. {wavespectra-4.7.0 → wavespectra-4.8.0}/tests/test_specarray.py +0 -0
  17. {wavespectra-4.7.0 → wavespectra-4.8.0}/tests/test_specdataset.py +0 -0
  18. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/cli.py +0 -0
  19. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/construct/__init__.py +0 -0
  20. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/construct/direction.py +0 -0
  21. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/construct/frequency.py +0 -0
  22. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/core/__init__.py +0 -0
  23. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/core/attributes.py +0 -0
  24. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/core/attributes.yml +0 -0
  25. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/core/fitting.py +0 -0
  26. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/core/npstats.py +0 -0
  27. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/core/options.py +0 -0
  28. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/core/select.py +0 -0
  29. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/core/swan.py +0 -0
  30. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/core/utils.py +0 -0
  31. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/core/xrstats.py +0 -0
  32. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/__init__.py +0 -0
  33. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/awac.py +0 -0
  34. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/dataset.py +0 -0
  35. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/datawell.py +0 -0
  36. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/era5.py +0 -0
  37. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/funwave.py +0 -0
  38. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/funwave_new.py +0 -0
  39. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/json.py +0 -0
  40. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/ncswan.py +0 -0
  41. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/ndbc.py +0 -0
  42. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/ndbc_ascii.py +0 -0
  43. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/netcdf.py +0 -0
  44. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/obscape.py +0 -0
  45. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/octopus.py +0 -0
  46. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/spotter.py +0 -0
  47. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/swan.py +0 -0
  48. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/triaxys.py +0 -0
  49. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/wavespectra.py +0 -0
  50. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/ww3.py +0 -0
  51. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/ww3_station.py +0 -0
  52. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/wwm.py +0 -0
  53. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/input/xwaves.py +0 -0
  54. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/output/__init__.py +0 -0
  55. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/output/funwave.py +0 -0
  56. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/output/json.py +0 -0
  57. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/output/netcdf.py +0 -0
  58. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/output/octopus.py +0 -0
  59. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/output/orcaflex.py +0 -0
  60. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/output/swan.py +0 -0
  61. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/output/ww3.py +0 -0
  62. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/output/ww3.yml +0 -0
  63. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/partition/__init__.py +0 -0
  64. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/partition/hanson_and_phillips_2001.py +0 -0
  65. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/partition/partition.py +0 -0
  66. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/partition/specpart/specpart.c +0 -0
  67. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/partition/specpart/specpart.h +0 -0
  68. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/partition/specpart/specpart_wrap.c +0 -0
  69. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/partition/tracking.py +0 -0
  70. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/plot.py +0 -0
  71. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/specarray.py +0 -0
  72. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra/specdataset.py +0 -0
  73. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra.egg-info/SOURCES.txt +0 -0
  74. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra.egg-info/dependency_links.txt +0 -0
  75. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra.egg-info/entry_points.txt +0 -0
  76. {wavespectra-4.7.0 → wavespectra-4.8.0}/wavespectra.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wavespectra
3
- Version: 4.7.0
3
+ Version: 4.8.0
4
4
  Summary: Library for ocean wave spectra
5
5
  Author-email: Wavespectra Developers <r.guedes@oceanum.science>
6
6
  Maintainer-email: Rafael Guedes <r.guedes@oceanum.science>, Tom Durrant <t.durrant@oceanum.science>
@@ -42,6 +42,7 @@ Classifier: Programming Language :: Python :: 3.10
42
42
  Classifier: Programming Language :: Python :: 3.11
43
43
  Classifier: Programming Language :: Python :: 3.12
44
44
  Classifier: Programming Language :: Python :: 3.13
45
+ Classifier: Programming Language :: Python :: 3.14
45
46
  Requires-Python: >=3.9
46
47
  Description-Content-Type: text/x-rst
47
48
  License-File: LICENSE.txt
@@ -49,6 +50,7 @@ License-File: AUTHORS.rst
49
50
  Requires-Dist: click
50
51
  Requires-Dist: dask
51
52
  Requires-Dist: matplotlib
53
+ Requires-Dist: numpy
52
54
  Requires-Dist: python-dateutil
53
55
  Requires-Dist: pyyaml
54
56
  Requires-Dist: sortedcontainers
@@ -30,12 +30,14 @@ classifiers = [
30
30
  "Programming Language :: Python :: 3.11",
31
31
  "Programming Language :: Python :: 3.12",
32
32
  "Programming Language :: Python :: 3.13",
33
+ "Programming Language :: Python :: 3.14",
33
34
  ]
34
35
  requires-python = ">=3.9"
35
36
  dependencies = [
36
37
  "click",
37
38
  "dask",
38
39
  "matplotlib",
40
+ "numpy",
39
41
  "python-dateutil",
40
42
  "pyyaml",
41
43
  "sortedcontainers",
@@ -99,8 +101,6 @@ docs = [
99
101
  ]
100
102
 
101
103
  [tool.setuptools.packages.find]
102
- # Explicit include so stray top-level directories created at build time
103
- # (e.g. cibuildwheel's wheelhouse/) don't break flat-layout auto-discovery.
104
104
  include = ["wavespectra*"]
105
105
 
106
106
  [tool.setuptools.package-data]
@@ -112,15 +112,9 @@ include = ["wavespectra*"]
112
112
  version = {attr = "wavespectra.__version__"}
113
113
 
114
114
  [tool.cibuildwheel]
115
- # CPython versions matching the supported range in the classifiers.
116
- build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*"]
117
- # 64-bit only: 32-bit Windows wheels would be built by default, but core
118
- # dependencies (e.g. matplotlib) no longer ship win32 wheels to test against.
115
+ build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*", "cp314-*"]
119
116
  archs = ["auto64"]
120
- # Skip musl-based linux; can be added later if there is demand.
121
117
  skip = ["*-musllinux*"]
122
- # Test every built wheel by running the partition test module, which
123
- # exercises the compiled specpart extension end to end.
124
118
  test-requires = ["pytest", "netCDF4"]
125
119
  test-command = "pytest {project}/tests/test_partition.py -q"
126
120
  build-verbosity = 1
@@ -128,9 +122,6 @@ build-verbosity = 1
128
122
  [tool.pytest.ini_options]
129
123
  norecursedirs = [".*", "build", "dist", "CVS", "_darcs", "{arch}", "*.egg", "venv", "broken"]
130
124
  filterwarnings = [
131
- # netCDF4-python sets the .shape attribute on numpy arrays, which numpy
132
- # 2.5 deprecated; it surfaces through xarray's netCDF4 backend whenever a
133
- # netCDF file is written. Third-party issue, nothing to fix in wavespectra.
134
125
  "ignore:Setting the shape on a NumPy array has been deprecated:DeprecationWarning",
135
126
  ]
136
127
 
@@ -143,8 +134,6 @@ indent-style = "space"
143
134
  line-ending = "auto"
144
135
 
145
136
  [tool.ruff.lint]
146
- # B015/B018: flag comparisons/expressions whose result is discarded, which in
147
- # tests almost always means a forgotten `assert`.
148
137
  extend-select = ["B015", "B018"]
149
138
 
150
139
  [tool.ruff.lint.extend-per-file-ignores]
@@ -173,7 +162,7 @@ extend-select = ["B015", "B018"]
173
162
  github_url = "https://github.com/wavespectra/wavespectra/"
174
163
 
175
164
  [tool.tbump.version]
176
- current = "4.7.0"
165
+ current = "4.8.0"
177
166
  regex = '''
178
167
  (?P<major>\d+)
179
168
  \.(?P<minor>\d+)
@@ -16,7 +16,7 @@ except ImportError as exc:
16
16
  warnings.warn(f"Cannot import accessors at the main module level:\n{exc}")
17
17
 
18
18
 
19
- __version__ = "4.7.0"
19
+ __version__ = "4.8.0"
20
20
 
21
21
 
22
22
  def _import_functions(pkgname="input", prefix="read"):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wavespectra
3
- Version: 4.7.0
3
+ Version: 4.8.0
4
4
  Summary: Library for ocean wave spectra
5
5
  Author-email: Wavespectra Developers <r.guedes@oceanum.science>
6
6
  Maintainer-email: Rafael Guedes <r.guedes@oceanum.science>, Tom Durrant <t.durrant@oceanum.science>
@@ -42,6 +42,7 @@ Classifier: Programming Language :: Python :: 3.10
42
42
  Classifier: Programming Language :: Python :: 3.11
43
43
  Classifier: Programming Language :: Python :: 3.12
44
44
  Classifier: Programming Language :: Python :: 3.13
45
+ Classifier: Programming Language :: Python :: 3.14
45
46
  Requires-Python: >=3.9
46
47
  Description-Content-Type: text/x-rst
47
48
  License-File: LICENSE.txt
@@ -49,6 +50,7 @@ License-File: AUTHORS.rst
49
50
  Requires-Dist: click
50
51
  Requires-Dist: dask
51
52
  Requires-Dist: matplotlib
53
+ Requires-Dist: numpy
52
54
  Requires-Dist: python-dateutil
53
55
  Requires-Dist: pyyaml
54
56
  Requires-Dist: sortedcontainers
@@ -1,6 +1,7 @@
1
1
  click
2
2
  dask
3
3
  matplotlib
4
+ numpy
4
5
  python-dateutil
5
6
  pyyaml
6
7
  sortedcontainers
File without changes
File without changes
File without changes
File without changes
File without changes