Skip to content

Commit

Permalink
remove xarray dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
callumrollo committed Aug 9, 2023
1 parent 03f13b8 commit 170e3c2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions erddapy/erddapy.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from typing import Dict, List, Optional, Tuple, Union

import pandas as pd
import xarray as xr

from erddapy.core.griddap import (
_griddap_check_constraints,
Expand Down Expand Up @@ -372,7 +371,7 @@ def to_xarray(
self,
requests_kwargs: Optional[Dict] = None,
**kw,
) -> "xr.Dataset":
):
"""Load the data request into a xarray.Dataset.
Accepts any `xr.open_dataset` keyword arguments.
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ twine
types-pytz
types-requests
wheel
xarray
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
httpx
pandas>=0.25.2,<3
pytz
xarray

0 comments on commit 170e3c2

Please sign in to comment.