Skip to content

Commit

Permalink
pin to older version of dask (2025.1.0 breaks datashader) (#641)
Browse files Browse the repository at this point in the history
Allows CI to pass and docs to build without getting stuck on import errors.
  • Loading branch information
JessicaS11 authored Jan 24, 2025
1 parent 4eb7aaf commit 2f1875a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions icepyx/core/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,8 @@ def viz_elevation(self) -> tuple[hv.DynamicMap, hv.Layout]:
if self.product == "ATL08"
else ["lat", "lon", "elevation", "rgt", "cycle"]
)
# this function is new deprecated and will need to be updated (24 Jan 2025)
# try dd.from_dask_array()
ddf = dd.io.from_dask_array(OA_da, columns=cols).astype(
{
"lat": "float",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
backoff
dask[dataframe]
dask[dataframe] <2025.1.0
datashader
earthaccess>=0.5.1
fiona
Expand Down

0 comments on commit 2f1875a

Please sign in to comment.