home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 920287535

This data as json

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/5786#issuecomment-920287535 https://api.github.com/repos/pydata/xarray/issues/5786 920287535 IC_kwDOAMm_X8422nkv 5635139 2021-09-15T18:45:06Z 2021-09-15T18:45:06Z MEMBER

Thanks for trying @nickdoty

Here's that slightly modified — does this help explain the 44.99 point?

```python

In [3]: import xarray as xr ...: ...: data = xr.open_dataset('https://podaac-opendap.jpl.nasa.gov/opendap/allData/ghrsst/data/GDS2/L4/GLOB/JPL/MUR/' ...: 'v4.1/2018/030/20180130090000-JPL-L4_GHRSST-SSTfnd-MUR-GLOB-v02.0-fv04.1.nc') ...: print(data['analysed_sst'].sel(lat=slice(None, 10.45), lon=-68.00).indexes['lat']) ...: print(data['analysed_sst'].sel(lat=slice(10.45, None), lon=-68.00).indexes['lat']) ...: Float64Index([-89.98999786376953, -89.9800033569336, -89.97000122070312, -89.95999908447266, -89.94999694824219, -89.94000244140625, -89.93000030517578, -89.91999816894531, -89.91000366210938, -89.9000015258789, ... 10.359999656677246, 10.369999885559082, 10.380000114440918, 10.390000343322754, 10.399999618530273, 10.40999984741211, 10.420000076293945, 10.430000305175781, 10.4399995803833, 10.449999809265137], dtype='float64', name='lat', length=10045) Float64Index([10.460000038146973, 10.470000267028809, 10.479999542236328, 10.489999771118164, 10.5, 10.510000228881836, 10.520000457763672, 10.529999732971191, 10.539999961853027, 10.550000190734863, ... 89.9000015258789, 89.91000366210938, 89.91999816894531, 89.93000030517578, 89.94000244140625, 89.94999694824219, 89.95999908447266, 89.97000122070312, 89.9800033569336, 89.98999786376953], dtype='float64', name='lat', length=7954) ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  993563624
Powered by Datasette · Queries took 0.74ms · About: xarray-datasette