home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 917694806

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-917694806 https://api.github.com/repos/pydata/xarray/issues/5786 917694806 IC_kwDOAMm_X842sulW 5635139 2021-09-12T19:20:57Z 2021-09-12T19:20:57Z MEMBER

Thanks for the issue @nickdoty . Is it a rounding issue?

```python

In [5]: import xarray as xr ...: longitude = -68.0 ...: ...: 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') ...: ex_1 = data['analysed_sst'].sel(lat=slice(10.47, 10.52), lon=longitude).indexes['lat'] ...: ex_2 = data['analysed_sst'].sel(lat=slice(10.45, 10.52), lon=longitude).indexes['lat'] ...: ex_3 = data['analysed_sst'].sel(lat=slice(10.449, 10.52), lon=longitude).indexes['lat'] ...: ...: print(ex_1) ...: print(ex_2) ...: print(ex_3) Float64Index([10.470000267028809, 10.479999542236328, 10.489999771118164, 10.5, 10.510000228881836], dtype='float64', name='lat') Float64Index([10.460000038146973, 10.470000267028809, 10.479999542236328, 10.489999771118164, 10.5, 10.510000228881836], dtype='float64', name='lat') Float64Index([10.449999809265137, 10.460000038146973, 10.470000267028809, 10.479999542236328, 10.489999771118164, 10.5, 10.510000228881836], dtype='float64', name='lat') ```

{
    "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.634ms · About: xarray-datasette