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

CI failing #28

Open
kafitzgerald opened this issue Feb 3, 2025 · 1 comment
Open

CI failing #28

kafitzgerald opened this issue Feb 3, 2025 · 1 comment

Comments

@kafitzgerald
Copy link
Contributor

Looks like from an hvplot issue for a bit (holoviz/hvplot#1471), which has now been addressed and now from what looks to be a UXarray issue:

------------------
# Bounding box around Boulder, CO
ref_lon = -105.2705
ref_lat = 40.0150
ref_offset = 1

lon_bounds = (ref_lon - ref_offset, ref_lon + ref_offset)
lat_bounds = (ref_lat - ref_offset, ref_lat + ref_offset)

# Subset the global data variable and its grid using the bounding box
uxda_bbox = uxda.subset.bounding_box(lon_bounds, lat_bounds, element="nodes")
------------------


---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[3], line 10
      7 lat_bounds = (ref_lat - ref_offset, ref_lat + ref_offset)
      9 # Subset the global data variable and its grid using the bounding box
---> 10 uxda_bbox = uxda.subset.bounding_box(lon_bounds,lat_bounds,element="nodes")

TypeError: DataArraySubsetAccessor.bounding_box() got an unexpected keyword argument 'element'
@kafitzgerald
Copy link
Contributor Author

Looks like this is from changes here (UXARRAY/uxarray#1115) that were in the latest UXarray release.

@philipc2, is it safe to just drop the element kwarg?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant