Skip to content

Commit

Permalink
ENH: support exactextract as a method in zonal_stats (#68)
Browse files Browse the repository at this point in the history
* exactextract

* try getting exactextract from PyPI dev0

* fix errors

* item iterable

* item iterable

* pytest

* Update xvec/tests/test_zonal_stats.py

it was a typo. I used same values

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>

* q20

* doc

* doc

* expected type

* minor docstring change

* minor message changes

* i/o matches and pytests

* args types

* pass attrs

---------

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
  • Loading branch information
masawdah and martinfleis authored Jul 2, 2024
1 parent e450c89 commit 6167014
Show file tree
Hide file tree
Showing 11 changed files with 1,121 additions and 104 deletions.
3 changes: 3 additions & 0 deletions ci/310.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ dependencies:
- geopandas-base
- geodatasets
- pyogrio
- pip
- pip:
- exactextract==0.2.0.dev0

3 changes: 3 additions & 0 deletions ci/311.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ dependencies:
- geopandas-base
- geodatasets
- pyogrio
- pip
- pip:
- exactextract==0.2.0.dev0

3 changes: 3 additions & 0 deletions ci/312.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ dependencies:
- geodatasets
- pyogrio
- mypy
- pip
- pip:
- exactextract==0.2.0.dev0

3 changes: 3 additions & 0 deletions ci/39.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ dependencies:
- geopandas-base
- geodatasets
- pyogrio
- pip
- pip:
- exactextract==0.2.0.dev0
1 change: 1 addition & 0 deletions ci/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ dependencies:
- git+https://github.com/shapely/shapely.git@main
- git+https://github.com/pydata/xarray.git@main
- git+https://github.com/pyproj4/pyproj.git
- exactextract==0.2.0.dev0
1 change: 1 addition & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"geopandas": ("https://geopandas.org/en/latest", None),
"pandas": ("https://pandas.pydata.org/docs", None),
"rasterio": ("https://rasterio.readthedocs.io/en/latest/", None),
"exactextract": ("https://isciences.github.io/exactextract/", None),
}

# -- Options for HTML output -------------------------------------------------
Expand Down
Loading

0 comments on commit 6167014

Please sign in to comment.