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.
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.github/workflows/pypi.yaml +7 -7
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.github/workflows/testpypi-release.yaml +4 -4
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.pre-commit-config.yaml +4 -4
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/PKG-INFO +2 -2
- cf_xarray-0.8.8/cf_xarray/_version.py +1 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/accessor.py +241 -145
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/coding.py +2 -2
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/criteria.py +2 -2
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/datasets.py +10 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/formatting.py +64 -24
- cf_xarray-0.8.8/cf_xarray/geometry.py +586 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/helpers.py +9 -5
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/options.py +5 -4
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/tests/test_accessor.py +44 -4
- cf_xarray-0.8.8/cf_xarray/tests/test_geometry.py +523 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/tests/test_helpers.py +1 -1
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/units.py +5 -3
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/utils.py +47 -1
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray.egg-info/PKG-INFO +3 -3
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray.egg-info/SOURCES.txt +1 -0
- cf_xarray-0.8.8/codecov.yml +3 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/conf.py +10 -3
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/examples/introduction.ipynb +1 -1
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/whats-new.rst +11 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/pyproject.toml +17 -5
- cf_xarray-0.8.6/cf_xarray/_version.py +0 -1
- cf_xarray-0.8.6/cf_xarray/geometry.py +0 -295
- cf_xarray-0.8.6/cf_xarray/tests/test_geometry.py +0 -158
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.binder/environment.yml +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.deepsource.toml +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.github/dependabot.yml +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.github/workflows/ci.yaml +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.github/workflows/parse_logs.py +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.github/workflows/upstream-dev-ci.yaml +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.gitignore +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.readthedocs.yml +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/.tributors +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/CITATION.cff +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/LICENSE +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/README.rst +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/__init__.py +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/py.typed +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/scripts/make_doc.py +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/scripts/print_versions.py +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/sgrid.py +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/tests/__init__.py +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/tests/test_coding.py +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/tests/test_options.py +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/tests/test_scripts.py +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray/tests/test_units.py +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray.egg-info/dependency_links.txt +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray.egg-info/requires.txt +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/cf_xarray.egg-info/top_level.txt +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/ci/doc.yml +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/ci/environment-no-optional-deps.yml +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/ci/environment.yml +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/ci/upstream-dev-env.yml +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/2D_bounds_averaged.png +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/2D_bounds_error.png +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/2D_bounds_nonunique.png +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/Makefile +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/_static/dataset-diagram-logo.tex +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/_static/full-logo.png +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/_static/logo.png +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/_static/logo.svg +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/_static/rich-repr-example.png +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/_static/style.css +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/api.rst +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/bounds.md +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/cartopy_rotated_pole.png +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/coding.md +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/contributing.rst +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/coord_axes.md +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/custom-criteria.md +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/dsg.md +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/faq.md +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/flags.md +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/geometry.md +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/grid_mappings.md +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/howtouse.md +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/index.rst +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/make.bat +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/parametricz.md +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/plotting.md +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/provenance.md +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/quickstart.md +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/roadmap.rst +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/selecting.md +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/sgrid_ugrid.md +0 -0
- {cf_xarray-0.8.6 → cf_xarray-0.8.8}/doc/units.md +0 -0
- {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@
|
|
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@
|
|
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@
|
|
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@
|
|
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.
|
|
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@
|
|
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.
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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"
|