home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 920276263

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-920276263 https://api.github.com/repos/pydata/xarray/issues/5786 920276263 IC_kwDOAMm_X8422k0n 89942016 2021-09-15T18:33:58Z 2021-09-15T18:33:58Z NONE

This is as clear an example as I can make of the problem. ```python 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') ex = data['analysed_sst'].sel(lat=slice(10.45, 10.52), lon=-68.00).values[0]

print("Items in the array:") print(ex) print("Number of items in the array: " + str(len(ex))) ```

Output: Items in the array: [ nan nan nan nan 299.485 299.46 ] Number of items in the array: 6

Where that says Number of items in the array: 6 there should be 7 items in the array.

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