Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Xarray accessor mirroring Raster class #446

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft
3 changes: 2 additions & 1 deletion dev-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ dependencies:
- scipy=1.*
- tqdm
- xarray
- dask
- rioxarray=0.*
- geocube
- dask

# Development-specific, to mirror manually in setup.cfg [options.extras_require].
- pip
Expand Down
3 changes: 2 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ dependencies:
- scipy=1.*
- tqdm
- xarray
- dask
- rioxarray=0.*
- geocube
- dask
3 changes: 2 additions & 1 deletion geoutils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

from geoutils import examples, pointcloud, projtools, raster, vector # noqa
from geoutils._config import config # noqa
from geoutils.raster import Mask, Raster # noqa
from geoutils.raster import Mask, Raster, xr_accessor # noqa
from geoutils.raster.xr_accessor import open_raster # noqa
from geoutils.vector import Vector # noqa

try:
Expand Down
Loading
Loading