Skip to content

Commit

Permalink
Refactor getting and generating bounds (#84)
Browse files Browse the repository at this point in the history
- Update AxisAccessor to CoordsAccessor
- Add cf_xarray package to access mapping system of names to CF convention

Add ability to generate time bounds
  • Loading branch information
tomvothecoder authored Jul 23, 2021
1 parent 87c5920 commit 6b811fa
Show file tree
Hide file tree
Showing 8 changed files with 386 additions and 563 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,6 @@ ENV/

# Anaconda
conda-build/

# Ad-hoc QA
qa/
1 change: 1 addition & 0 deletions conda-env/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dependencies:
- matplotlib=3.3.4
- netcdf4=1.5.6
- xarray=0.17.0
- cf_xarray=0.6.0
# Additional
# ==================
- bump2version==1.0.1
Expand Down
5 changes: 4 additions & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@ requirements:
- netcdf4
- xarray
- typing_extensions
- cf_xarray

test:
imports:
- xcdat
- xcdat.axis
- xcdat.logs
- xcdat.coord
- xcdat.utils

about:
home: https://github.com/tomvothecoder/xcdat
Expand Down
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ API Reference
.. autosummary::
:toctree: generated/

xcdat.axis
xcdat.coord
xcdat.log
xcdat.utils
249 changes: 0 additions & 249 deletions tests/test_axis.py

This file was deleted.

Loading

0 comments on commit 6b811fa

Please sign in to comment.