forked from xarray-contrib/cf-xarray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* main: (57 commits) Add CITATION.cff, tributors, zenodo.json (xarray-contrib#231) Add zenodo badge Improve `rename_like` (xarray-contrib#222) Don't apply mappers to DataArrays (xarray-contrib#227) Add unit support to cf-xarray (xarray-contrib#197) Update README.rst Add earthcube 2021 notebook link to readme v0.5.2 Some CMIP6 support Add pooch to binder environment (xarray-contrib#223) `add_bounds` uses `keys` rather than `dims` (xarray-contrib#221) Add .cf.formula_terms (xarray-contrib#213) Update whats-new.rst (xarray-contrib#217) add bounds property (xarray-contrib#214) Update some tests. Compile regexes Fix black Add __version__ (xarray-contrib#208) add skip to rename_like (xarray-contrib#206) Refactor out coordinate criteria to criteria.py (xarray-contrib#205) ...
- Loading branch information
Showing
34 changed files
with
2,432 additions
and
717 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,6 @@ dependencies: | |
- netcdf4 | ||
- pip | ||
- xarray | ||
- pooch | ||
- pip: | ||
- git+https://github.com/xarray-contrib/cf-xarray |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
version = 1 | ||
|
||
test_patterns = ["cf_xarray/tests/test_*.py"] | ||
|
||
exclude_patterns = [ | ||
"doc/**", | ||
"ci/**" | ||
] | ||
|
||
[[analyzers]] | ||
name = "python" | ||
enabled = true | ||
|
||
[analyzers.meta] | ||
runtime_version = "3.x.x" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: pre-commit | |
|
||
on: | ||
push: | ||
branches: "*" | ||
branches: "main" | ||
pull_request: | ||
branches: | ||
- "*" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"dcherian": { | ||
"name": "Deepak Cherian", | ||
"bio": "physical oceanographer", | ||
"blog": "http://www.cherian.net", | ||
"orcid": "0000-0002-6861-8734", | ||
"affiliation": "National Center for Atmospheric Research" | ||
}, | ||
"malmans2": { | ||
"name": "Mattia Almansi", | ||
"blog": "https://malmans2.github.io", | ||
"orcid": "0000-0001-6849-3647", | ||
"affiliation": "National Oceanography Centre" | ||
}, | ||
"aulemahal": { | ||
"name": "Pascal Bourgault", | ||
"bio": "Physical oceanography graduate turned climate science specialist and scientific developer.", | ||
"orcid": "0000-0003-1192-0403", | ||
"affiliation": "Ouranos Inc" | ||
}, | ||
"keewis": { | ||
"name": "Justus Magin" | ||
}, | ||
"jukent": { | ||
"name": "Julia Kent", | ||
"affiliation": "National Center for Atmospheric Research", | ||
"orcid": "0000-0002-5611-8986" | ||
}, | ||
"kthyng": { | ||
"name": "Kristen Thyng", | ||
"bio": "MetOcean Data Scientist at Axiom Data Science. Associate Editor in Chief at the Journal for Open Source Software (JOSS). Wrote cmocean colormaps.", | ||
"blog": "http://kristenthyng.com", | ||
"orcid": "0000-0002-8746-614X", | ||
"affiliation": "Axiom Data Science" | ||
}, | ||
"jhamman": { | ||
"name": "Joe Hamman", | ||
"bio": "Scientist and Engineer and Human.\r\n", | ||
"blog": "http://joehamman.com", | ||
"orcid": "0000-0001-7479-8439", | ||
"affiliation": "CarbonPlan" | ||
}, | ||
"withshubh": { | ||
"name": "Shubhendra Singh Chauhan", | ||
"bio": "Developer Advocate at @deepsourcelabs 🥑 \r\n👨🏻💻 work profile: @shubhendra-deepsource", | ||
"blog": "camelcaseguy.com" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"creators": [ | ||
{ | ||
"name": "Deepak Cherian", | ||
"affiliation": "National Center for Atmospheric Research", | ||
"orcid": "0000-0002-6861-8734" | ||
}, | ||
{ | ||
"name": "Mattia Almansi", | ||
"affiliation": "National Oceanography Centre", | ||
"orcid": "0000-0001-6849-3647" | ||
}, | ||
{ | ||
"name": "Pascal Bourgault", | ||
"affiliation": "Ouranos Inc", | ||
"orcid": "0000-0003-1192-0403" | ||
}, | ||
{ | ||
"name": "Julia Kent", | ||
"affiliation": "National Center for Atmospheric Research", | ||
"orcid": "0000-0002-5611-8986" | ||
}, | ||
{ | ||
"name": "Justus Magin" | ||
}, | ||
{ | ||
"name": "Kristen Thyng", | ||
"affiliation": "Axiom Data Science", | ||
"orcid": "0000-0002-8746-614X" | ||
} | ||
], | ||
"upload_type": "software", | ||
"keywords": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# YAML 1.2 | ||
# Metadata for citation of this software according to the CFF format (https://citation-file-format.github.io/) | ||
cff-version: 1.0.3 | ||
message: If you use this software, please cite it using these metadata. | ||
title: cf_xarray | ||
doi: 10.5281/zenodo.4749736 | ||
repository-code: https://github.com/xarray-contrib/cf-xarray | ||
license: Apache-2.0 | ||
version: 0.5.2 | ||
date-released: 2021-05-11 | ||
keywords: | ||
- cf-conventions | ||
- xarray | ||
- metadata | ||
|
||
authors: | ||
- affiliation: National Center for Atmospheric Research, USA | ||
family-names: Cherian | ||
given-names: Deepak | ||
orcid: https://orcid.org/0000-0002-6861-8734 | ||
- affiliation: National Oceanography Centre, Southampton, UK | ||
family-names: Almansi | ||
given-names: Mattia | ||
orcid: https://orcid.org/0000-0001-6849-3647 | ||
- affiliation: Ouranos, Inc. | ||
family-names: Bourgault | ||
given-names: Pascal | ||
orcid: https://orcid.org/0000-0003-1192-0403 | ||
- affiliation: National Center for Atmospheric Research, USA | ||
family-names: Kent | ||
given-names: Julia | ||
orcid: https://orcid.org/0000-0002-5611-8986 | ||
- family-names: Magin | ||
given-names: Justus | ||
- family-names: Thielen | ||
given-names: Jon | ||
orcid: https://orcid.org/0000-0002-5479-0189 | ||
affiliation: Iowa State University, Ames, IA, USA | ||
- affiliation: Axiom Data Science | ||
family-names: Thyng | ||
given-names: Kristen | ||
orcid: https://orcid.org/0000-0002-8746-614X | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
from pkg_resources import DistributionNotFound, get_distribution | ||
|
||
from .accessor import CFAccessor # noqa | ||
from .helpers import bounds_to_vertices, vertices_to_bounds # noqa | ||
|
||
try: | ||
__version__ = get_distribution("cf_xarray").version | ||
except DistributionNotFound: | ||
# package is not installed | ||
__version__ = "unknown" |
Oops, something went wrong.