cf-xarray 0.8.6__tar.gz → 0.8.8__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 (91) hide show
  1. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.github/workflows/pypi.yaml +7 -7
  2. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.github/workflows/testpypi-release.yaml +4 -4
  3. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.pre-commit-config.yaml +4 -4
  4. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/PKG-INFO +2 -2
  5. cf_xarray-0.8.8/cf_xarray/_version.py +1 -0
  6. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/accessor.py +241 -145
  7. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/coding.py +2 -2
  8. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/criteria.py +2 -2
  9. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/datasets.py +10 -0
  10. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/formatting.py +64 -24
  11. cf_xarray-0.8.8/cf_xarray/geometry.py +586 -0
  12. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/helpers.py +9 -5
  13. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/options.py +5 -4
  14. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/tests/test_accessor.py +44 -4
  15. cf_xarray-0.8.8/cf_xarray/tests/test_geometry.py +523 -0
  16. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/tests/test_helpers.py +1 -1
  17. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/units.py +5 -3
  18. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/utils.py +47 -1
  19. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray.egg-info/PKG-INFO +3 -3
  20. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray.egg-info/SOURCES.txt +1 -0
  21. cf_xarray-0.8.8/codecov.yml +3 -0
  22. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/conf.py +10 -3
  23. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/examples/introduction.ipynb +1 -1
  24. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/whats-new.rst +11 -0
  25. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/pyproject.toml +17 -5
  26. cf_xarray-0.8.6/cf_xarray/_version.py +0 -1
  27. cf_xarray-0.8.6/cf_xarray/geometry.py +0 -295
  28. cf_xarray-0.8.6/cf_xarray/tests/test_geometry.py +0 -158
  29. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.binder/environment.yml +0 -0
  30. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.deepsource.toml +0 -0
  31. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.github/dependabot.yml +0 -0
  32. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.github/workflows/ci.yaml +0 -0
  33. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.github/workflows/parse_logs.py +0 -0
  34. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.github/workflows/upstream-dev-ci.yaml +0 -0
  35. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.gitignore +0 -0
  36. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.readthedocs.yml +0 -0
  37. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.tributors +0 -0
  38. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/CITATION.cff +0 -0
  39. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/LICENSE +0 -0
  40. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/README.rst +0 -0
  41. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/__init__.py +0 -0
  42. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/py.typed +0 -0
  43. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/scripts/make_doc.py +0 -0
  44. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/scripts/print_versions.py +0 -0
  45. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/sgrid.py +0 -0
  46. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/tests/__init__.py +0 -0
  47. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/tests/test_coding.py +0 -0
  48. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/tests/test_options.py +0 -0
  49. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/tests/test_scripts.py +0 -0
  50. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/tests/test_units.py +0 -0
  51. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray.egg-info/dependency_links.txt +0 -0
  52. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray.egg-info/requires.txt +0 -0
  53. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray.egg-info/top_level.txt +0 -0
  54. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/ci/doc.yml +0 -0
  55. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/ci/environment-no-optional-deps.yml +0 -0
  56. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/ci/environment.yml +0 -0
  57. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/ci/upstream-dev-env.yml +0 -0
  58. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/2D_bounds_averaged.png +0 -0
  59. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/2D_bounds_error.png +0 -0
  60. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/2D_bounds_nonunique.png +0 -0
  61. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/Makefile +0 -0
  62. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/_static/dataset-diagram-logo.tex +0 -0
  63. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/_static/full-logo.png +0 -0
  64. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/_static/logo.png +0 -0
  65. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/_static/logo.svg +0 -0
  66. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/_static/rich-repr-example.png +0 -0
  67. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/_static/style.css +0 -0
  68. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/api.rst +0 -0
  69. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/bounds.md +0 -0
  70. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/cartopy_rotated_pole.png +0 -0
  71. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/coding.md +0 -0
  72. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/contributing.rst +0 -0
  73. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/coord_axes.md +0 -0
  74. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/custom-criteria.md +0 -0
  75. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/dsg.md +0 -0
  76. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/faq.md +0 -0
  77. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/flags.md +0 -0
  78. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/geometry.md +0 -0
  79. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/grid_mappings.md +0 -0
  80. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/howtouse.md +0 -0
  81. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/index.rst +0 -0
  82. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/make.bat +0 -0
  83. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/parametricz.md +0 -0
  84. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/plotting.md +0 -0
  85. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/provenance.md +0 -0
  86. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/quickstart.md +0 -0
  87. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/roadmap.rst +0 -0
  88. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/selecting.md +0 -0
  89. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/sgrid_ugrid.md +0 -0
  90. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/units.md +0 -0
  91. {cf_xarray-0.8.6 → cf_xarray-0.8.8}/setup.cfg +0 -0
@@ -15,7 +15,7 @@ jobs:
15
15
  - uses: actions/checkout@v4
16
16
  with:
17
17
  fetch-depth: 0
18
- - uses: actions/setup-python@v4
18
+ - uses: actions/setup-python@v5
19
19
  name: Install Python
20
20
  with:
21
21
  python-version: "3.10"
@@ -41,7 +41,7 @@ jobs:
41
41
  else
42
42
  echo "✅ Looks good"
43
43
  fi
44
- - uses: actions/upload-artifact@v3
44
+ - uses: actions/upload-artifact@v4
45
45
  with:
46
46
  name: releases
47
47
  path: dist
@@ -50,11 +50,11 @@ jobs:
50
50
  needs: build-artifacts
51
51
  runs-on: ubuntu-latest
52
52
  steps:
53
- - uses: actions/setup-python@v4
53
+ - uses: actions/setup-python@v5
54
54
  name: Install Python
55
55
  with:
56
56
  python-version: "3.10"
57
- - uses: actions/download-artifact@v3
57
+ - uses: actions/download-artifact@v4
58
58
  with:
59
59
  name: releases
60
60
  path: dist
@@ -72,7 +72,7 @@ jobs:
72
72
 
73
73
  - name: Publish package to TestPyPI
74
74
  if: github.event_name == 'push'
75
- uses: pypa/gh-action-pypi-publish@v1.8.10
75
+ uses: pypa/gh-action-pypi-publish@v1.8.11
76
76
  with:
77
77
  password: ${{ secrets.TESTPYPI_TOKEN }}
78
78
  repository_url: https://test.pypi.org/legacy/
@@ -91,11 +91,11 @@ jobs:
91
91
  id-token: write
92
92
 
93
93
  steps:
94
- - uses: actions/download-artifact@v3
94
+ - uses: actions/download-artifact@v4
95
95
  with:
96
96
  name: releases
97
97
  path: dist
98
98
  - name: Publish package to PyPI
99
- uses: pypa/gh-action-pypi-publish@v1.8.10
99
+ uses: pypa/gh-action-pypi-publish@v1.8.11
100
100
  with:
101
101
  verbose: true
@@ -21,7 +21,7 @@ jobs:
21
21
  with:
22
22
  fetch-depth: 0
23
23
 
24
- - uses: actions/setup-python@v4
24
+ - uses: actions/setup-python@v5
25
25
  name: Install Python
26
26
  with:
27
27
  python-version: "3.10"
@@ -53,7 +53,7 @@ jobs:
53
53
  echo "✅ Looks good"
54
54
  fi
55
55
 
56
- - uses: actions/upload-artifact@v3
56
+ - uses: actions/upload-artifact@v4
57
57
  with:
58
58
  name: releases
59
59
  path: dist
@@ -62,11 +62,11 @@ jobs:
62
62
  needs: build-artifacts
63
63
  runs-on: ubuntu-latest
64
64
  steps:
65
- - uses: actions/setup-python@v4
65
+ - uses: actions/setup-python@v5
66
66
  name: Install Python
67
67
  with:
68
68
  python-version: "3.10"
69
- - uses: actions/download-artifact@v3
69
+ - uses: actions/download-artifact@v4
70
70
  with:
71
71
  name: releases
72
72
  path: dist
@@ -10,13 +10,13 @@ repos:
10
10
 
11
11
  - repo: https://github.com/astral-sh/ruff-pre-commit
12
12
  # Ruff version.
13
- rev: 'v0.1.1'
13
+ rev: 'v0.1.9'
14
14
  hooks:
15
15
  - id: ruff
16
16
  args: ["--show-fixes", "--fix"]
17
17
 
18
18
  - repo: https://github.com/psf/black-pre-commit-mirror
19
- rev: 23.10.1
19
+ rev: 23.12.1
20
20
  hooks:
21
21
  - id: black
22
22
 
@@ -36,7 +36,7 @@ repos:
36
36
  - mdformat-myst
37
37
 
38
38
  - repo: https://github.com/nbQA-dev/nbQA
39
- rev: 1.7.0
39
+ rev: 1.7.1
40
40
  hooks:
41
41
  - id: nbqa-black
42
42
  - id: nbqa-ruff
@@ -56,7 +56,7 @@ repos:
56
56
  - id: debug-statements
57
57
 
58
58
  - repo: https://github.com/keewis/blackdoc
59
- rev: v0.3.8
59
+ rev: v0.3.9
60
60
  hooks:
61
61
  - id: blackdoc
62
62
  files: .+\.py$
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cf_xarray
3
- Version: 0.8.6
3
+ Version: 0.8.8
4
4
  Summary: A convenience wrapper for using CF attributes on xarray objects
5
5
  License: Apache License
6
6
  Version 2.0, January 2004
@@ -218,7 +218,7 @@ Classifier: Programming Language :: Python :: 3.9
218
218
  Classifier: Programming Language :: Python :: 3.10
219
219
  Classifier: Programming Language :: Python :: 3.11
220
220
  Classifier: Programming Language :: Python :: 3.12
221
- Requires-Python: >=3.8
221
+ Requires-Python: >=3.9
222
222
  Description-Content-Type: text/x-rst
223
223
  License-File: LICENSE
224
224
  Requires-Dist: xarray
@@ -0,0 +1 @@
1
+ __version__ = "0.8.8"