cf-xarray 0.9.2__tar.gz → 0.9.4__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.9.4/.github/release.yml +5 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/.github/workflows/ci.yaml +2 -2
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/.github/workflows/pypi.yaml +2 -2
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/.pre-commit-config.yaml +5 -5
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/PKG-INFO +2 -2
- cf_xarray-0.9.4/cf_xarray/_version.py +1 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/geometry.py +375 -186
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/tests/test_geometry.py +14 -8
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/tests/test_units.py +5 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/units.py +46 -51
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray.egg-info/PKG-INFO +2 -2
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray.egg-info/SOURCES.txt +1 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray.egg-info/requires.txt +1 -1
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/api.rst +1 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/geometry.md +2 -3
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/units.md +2 -2
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/pyproject.toml +1 -1
- cf_xarray-0.9.2/cf_xarray/_version.py +0 -1
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/.binder/environment.yml +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/.deepsource.toml +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/.github/dependabot.yml +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/.github/workflows/parse_logs.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/.github/workflows/testpypi-release.yaml +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/.github/workflows/upstream-dev-ci.yaml +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/.gitignore +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/.readthedocs.yml +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/.tributors +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/CITATION.cff +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/LICENSE +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/README.rst +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/__init__.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/accessor.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/coding.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/criteria.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/datasets.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/formatting.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/helpers.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/options.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/py.typed +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/scripts/make_doc.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/scripts/print_versions.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/sgrid.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/tests/__init__.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/tests/conftest.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/tests/test_accessor.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/tests/test_coding.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/tests/test_helpers.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/tests/test_options.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/tests/test_scripts.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray/utils.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray.egg-info/dependency_links.txt +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/cf_xarray.egg-info/top_level.txt +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/ci/doc.yml +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/ci/environment-no-optional-deps.yml +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/ci/environment.yml +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/ci/upstream-dev-env.yml +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/codecov.yml +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/2D_bounds_averaged.png +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/2D_bounds_error.png +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/2D_bounds_nonunique.png +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/Makefile +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/_static/dataset-diagram-logo.tex +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/_static/full-logo.png +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/_static/logo.png +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/_static/logo.svg +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/_static/rich-repr-example.png +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/_static/style.css +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/bounds.md +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/cartopy_rotated_pole.png +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/coding.md +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/conf.py +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/contributing.rst +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/coord_axes.md +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/custom-criteria.md +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/dsg.md +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/examples/introduction.ipynb +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/faq.md +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/flags.md +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/grid_mappings.md +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/howtouse.md +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/index.rst +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/make.bat +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/parametricz.md +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/plotting.md +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/provenance.md +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/quickstart.md +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/roadmap.rst +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/selecting.md +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/sgrid_ugrid.md +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/doc/whats-new.rst +0 -0
- {cf_xarray-0.9.2 → cf_xarray-0.9.4}/setup.cfg +0 -0
|
@@ -50,7 +50,7 @@ jobs:
|
|
|
50
50
|
run: |
|
|
51
51
|
pytest -n auto --cov=./ --cov-report=xml
|
|
52
52
|
- name: Upload code coverage to Codecov
|
|
53
|
-
uses: codecov/codecov-action@v4.
|
|
53
|
+
uses: codecov/codecov-action@v4.5.0
|
|
54
54
|
with:
|
|
55
55
|
file: ./coverage.xml
|
|
56
56
|
flags: unittests
|
|
@@ -114,7 +114,7 @@ jobs:
|
|
|
114
114
|
run: |
|
|
115
115
|
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report cf_xarray/
|
|
116
116
|
- name: Upload mypy coverage to Codecov
|
|
117
|
-
uses: codecov/codecov-action@v4.
|
|
117
|
+
uses: codecov/codecov-action@v4.5.0
|
|
118
118
|
with:
|
|
119
119
|
file: mypy_report/cobertura.xml
|
|
120
120
|
flags: mypy
|
|
@@ -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.
|
|
75
|
+
uses: pypa/gh-action-pypi-publish@v1.9.0
|
|
76
76
|
with:
|
|
77
77
|
password: ${{ secrets.TESTPYPI_TOKEN }}
|
|
78
78
|
repository_url: https://test.pypi.org/legacy/
|
|
@@ -96,6 +96,6 @@ jobs:
|
|
|
96
96
|
name: releases
|
|
97
97
|
path: dist
|
|
98
98
|
- name: Publish package to PyPI
|
|
99
|
-
uses: pypa/gh-action-pypi-publish@v1.
|
|
99
|
+
uses: pypa/gh-action-pypi-publish@v1.9.0
|
|
100
100
|
with:
|
|
101
101
|
verbose: true
|
|
@@ -3,20 +3,20 @@ ci:
|
|
|
3
3
|
|
|
4
4
|
repos:
|
|
5
5
|
- repo: https://github.com/asottile/pyupgrade
|
|
6
|
-
rev: v3.
|
|
6
|
+
rev: v3.16.0
|
|
7
7
|
hooks:
|
|
8
8
|
- id: pyupgrade
|
|
9
9
|
args: ["--py39-plus"]
|
|
10
10
|
|
|
11
11
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
12
12
|
# Ruff version.
|
|
13
|
-
rev: 'v0.
|
|
13
|
+
rev: 'v0.5.0'
|
|
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: 24.
|
|
19
|
+
rev: 24.4.2
|
|
20
20
|
hooks:
|
|
21
21
|
- id: black
|
|
22
22
|
|
|
@@ -47,7 +47,7 @@ repos:
|
|
|
47
47
|
additional_dependencies: [mdformat==0.7.17]
|
|
48
48
|
|
|
49
49
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
50
|
-
rev: v4.
|
|
50
|
+
rev: v4.6.0
|
|
51
51
|
hooks:
|
|
52
52
|
- id: trailing-whitespace
|
|
53
53
|
- id: end-of-file-fixer
|
|
@@ -67,7 +67,7 @@ repos:
|
|
|
67
67
|
- id: validate-cff
|
|
68
68
|
|
|
69
69
|
- repo: https://github.com/abravalheri/validate-pyproject
|
|
70
|
-
rev: v0.
|
|
70
|
+
rev: v0.18
|
|
71
71
|
hooks:
|
|
72
72
|
- id: validate-pyproject
|
|
73
73
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cf_xarray
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.4
|
|
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
|
|
@@ -224,7 +224,7 @@ License-File: LICENSE
|
|
|
224
224
|
Requires-Dist: xarray
|
|
225
225
|
Provides-Extra: all
|
|
226
226
|
Requires-Dist: matplotlib; extra == "all"
|
|
227
|
-
Requires-Dist: pint; extra == "all"
|
|
227
|
+
Requires-Dist: pint!=0.24.0,>=0.18; extra == "all"
|
|
228
228
|
Requires-Dist: shapely; extra == "all"
|
|
229
229
|
Requires-Dist: regex; extra == "all"
|
|
230
230
|
Requires-Dist: rich; extra == "all"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.9.4"
|