Closed
Description
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'
Metadata
Metadata
Assignees
Labels
No labels