html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/6490#issuecomment-1101504397,https://api.github.com/repos/pydata/xarray/issues/6490,1101504397,IC_kwDOAMm_X85Bp5-N,2448579,2022-04-18T15:35:23Z,2022-04-18T15:35:23Z,MEMBER," ``` # subsetting the data based on boundary coordinates ds_sel = ds2011_2014.isel(lon=(ds2011_2014.lon >= left) & (ds2011_2014.lon <= right), lat=(ds2011_2014.lat >= bottom) & (ds2011_2014.lat <= top), ) ``` Please use the `sel` method instead of a boolean mask. This will work for this dataset because `lat` and `lon` are dimension coordinates. See https://docs.xarray.dev/en/stable/user-guide/indexing.html ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1206496679