home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

9 rows where issue = 811409317 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: reactions, created_at (date), updated_at (date)

user 6

  • Tinkaa 3
  • aaron-kaplan 2
  • dopplershift 1
  • dcherian 1
  • scottyhq 1
  • chiaweh2 1

author_association 3

  • NONE 6
  • MEMBER 2
  • CONTRIBUTOR 1

issue 1

  • OpenDAP Documentation Example failing with RunTimeError · 9 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1385870450 https://github.com/pydata/xarray/issues/4925#issuecomment-1385870450 https://api.github.com/repos/pydata/xarray/issues/4925 IC_kwDOAMm_X85SmrRy dcherian 2448579 2023-01-17T18:44:00Z 2023-01-17T18:44:00Z MEMBER

Thanks! @aaron-kaplan

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  OpenDAP Documentation Example failing with RunTimeError 811409317
1374023636 https://github.com/pydata/xarray/issues/4925#issuecomment-1374023636 https://api.github.com/repos/pydata/xarray/issues/4925 IC_kwDOAMm_X85R5e_U aaron-kaplan 766406 2023-01-06T19:11:52Z 2023-01-06T19:11:52Z NONE

Thanks to the holiday lull, I finally found some time to finish implementing URL-decoding for querystrings in the IRI Data Library server software. The example now works for me with xarray 2022.12.0, netcdf4 1.6.2, and libnetcdf 4.8.1.

{
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 1,
    "rocket": 0,
    "eyes": 0
}
  OpenDAP Documentation Example failing with RunTimeError 811409317
1039237763 https://github.com/pydata/xarray/issues/4925#issuecomment-1039237763 https://api.github.com/repos/pydata/xarray/issues/4925 IC_kwDOAMm_X8498YKD chiaweh2 11950284 2022-02-14T15:41:48Z 2022-02-14T15:41:48Z NONE

Thank you for the issue discussion and temporary solution from @scottyhq! I was able to use the temporary solution to get the data I needed from IRI at the moment. The example still generates error while I tried and have some similar error when downloading the NMME hindcasts. Hope the IRI software issue will be clear soon!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  OpenDAP Documentation Example failing with RunTimeError 811409317
977948373 https://github.com/pydata/xarray/issues/4925#issuecomment-977948373 https://api.github.com/repos/pydata/xarray/issues/4925 IC_kwDOAMm_X846Sk7V aaron-kaplan 766406 2021-11-24T14:48:02Z 2021-11-24T14:48:02Z NONE

The OPeNDAP server at iridl.ldeo.columbia.edu doesn't accept URL-encoded querystrings. It never did, but that used to be ok because older versions of netcdf-c didn't encode the querystrings. More recent versions do. So a change in netcdf-c is the proximal cause of the example breaking, but the root of the problem is on the server side.

We (IRI) are working on fixing the server software.

{
    "total_count": 4,
    "+1": 4,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  OpenDAP Documentation Example failing with RunTimeError 811409317
812643265 https://github.com/pydata/xarray/issues/4925#issuecomment-812643265 https://api.github.com/repos/pydata/xarray/issues/4925 MDEyOklzc3VlQ29tbWVudDgxMjY0MzI2NQ== dopplershift 221526 2021-04-02T18:01:21Z 2021-04-02T18:01:21Z CONTRIBUTOR

The message:

"The identifier `tmax.tmax%5b0%5d%5b0:3:620%5d%5b0:3:1404%5d' is not in the dataset."

makes me wonder if there's some issue with how the webserver is handling the escaping of certain characters (like e.g. [)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  OpenDAP Documentation Example failing with RunTimeError 811409317
812365653 https://github.com/pydata/xarray/issues/4925#issuecomment-812365653 https://api.github.com/repos/pydata/xarray/issues/4925 MDEyOklzc3VlQ29tbWVudDgxMjM2NTY1Mw== Tinkaa 12556634 2021-04-02T07:09:12Z 2021-04-02T07:09:53Z NONE

Hi, did anyone in the meantime gain insights on the cause of this issue? @scottyhq @dopplershift @rabernat ?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  OpenDAP Documentation Example failing with RunTimeError 811409317
783353154 https://github.com/pydata/xarray/issues/4925#issuecomment-783353154 https://api.github.com/repos/pydata/xarray/issues/4925 MDEyOklzc3VlQ29tbWVudDc4MzM1MzE1NA== Tinkaa 12556634 2021-02-22T12:54:38Z 2021-02-22T12:54:38Z NONE

@scottyhq Sorry yes that was indeed the problem, was installing packages with pip and that caused incompatibility, thanks for looking into it. Would be great nevertheless to figure out the root of the issue.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  OpenDAP Documentation Example failing with RunTimeError 811409317
782258574 https://github.com/pydata/xarray/issues/4925#issuecomment-782258574 https://api.github.com/repos/pydata/xarray/issues/4925 MDEyOklzc3VlQ29tbWVudDc4MjI1ODU3NA== scottyhq 3924836 2021-02-19T18:29:34Z 2021-02-19T19:10:58Z MEMBER

@Tinkaa I looked into this a bit more and I suspect the way you are installing packages (conda, pip?) is important to bring in compatible libnetcdf behind the scenes (You're xr.show_versions() shows new libnetcdf: 4.7.4 but older netCDF4: 1.5.0.1 making me think you installed and older version netcdf into an existing environment without any dependency resolution).

This works for me on mac0S: conda create -c conda-forge -n opendap_working python xarray netcdf4==1.5.1 matplotlib Note that I found the explicit pin important. Perhaps because it brings in libnetcdf=4.6.2 behind the scenes? Here is my full list of working versions:

``` INSTALLED VERSIONS


commit: None python: 3.7.10 | packaged by conda-forge | (default, Feb 19 2021, 15:59:12) [Clang 11.0.1 ] python-bits: 64 OS: Darwin OS-release: 20.3.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 libhdf5: 1.10.4 libnetcdf: 4.6.2

xarray: 0.16.2 pandas: 1.2.2 numpy: 1.20.1 scipy: None netCDF4: 1.5.0.1 pydap: None h5netcdf: None h5py: None Nio: None zarr: None cftime: 1.4.1 nc_time_axis: None PseudoNetCDF: None rasterio: None cfgrib: None iris: None bottleneck: None dask: None distributed: None matplotlib: 3.3.4 cartopy: None seaborn: None numbagg: None pint: None setuptools: 49.6.0.post20210108 pip: 21.0.1 conda: None pytest: None IPython: None sphinx: None ```

Hopefully some folks that know more about opendap could chime in (@dopplershift, @rabernat ?) to help get to the root of this issue. For what it's worth, I noticed this additional log output that wasn't surfaced in the jupyter notebook in addition to the original traceback i posted: oc_open: server error retrieving url: code=3 message="The identifier `tmax.tmax%5b0%5d%5b0:3:620%5d%5b0:3:1404%5d' is not in the dataset."oc_open: server error retrieving url: code=3 message="The identifier `tmax.tmax%5b0%5d%5b0:3:620%5d%5b0:3:1404%5d' is not in the dataset."oc_open: server error retrieving url: code=3 message="The identifier `tmax.tmax%5b0%5d%5b0:3:620%5d%5b0:3:1404%5d' is not in the dataset."oc_open: server error retrieving url: code=3 message="The identifier `tmax.tmax%5b0%5d%5b0:3:620%5d%5b0:3:1404%5d' is not in the dataset." oc_open: server error retrieving url: code=3 message="The identifier `tmax.tmax%5b0%5d%5b0:3:620%5d%5b0:3:1404%5d' is not in the dataset."^CTraceback (most recent call last): File "/Users/scott/miniconda3/envs/opendap_test/lib/python3.9/site-packages/xarray/backends/common.py", line 52, in robust_getitem return array[key] File "src/netCDF4/_netCDF4.pyx", line 4420, in netCDF4._netCDF4.Variable.__getitem__ File "src/netCDF4/_netCDF4.pyx", line 5363, in netCDF4._netCDF4.Variable._get File "src/netCDF4/_netCDF4.pyx", line 1950, in netCDF4._netCDF4._ensure_nc_success RuntimeError: NetCDF: file not found

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  OpenDAP Documentation Example failing with RunTimeError 811409317
781968755 https://github.com/pydata/xarray/issues/4925#issuecomment-781968755 https://api.github.com/repos/pydata/xarray/issues/4925 MDEyOklzc3VlQ29tbWVudDc4MTk2ODc1NQ== Tinkaa 12556634 2021-02-19T09:58:11Z 2021-02-19T09:58:22Z NONE

Just confirming I have the same error/traceback with the example you gave. But this error persists when pinning netCDF4 to version 1.5.1.. Got to the issue because I got the same error when trying to clip another IRI dataset with OpenDAP.

Environment:

Output of xr.show_versions()
$ INSTALLED VERSIONS
------------------
commit: None
python: 3.8.5 (default, Nov 18 2020, 15:31:37) 
[Clang 12.0.0 (clang-1200.0.31.1)]
python-bits: 64
OS: Darwin
OS-release: 20.3.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.UTF-8
libhdf5: 1.12.0
libnetcdf: 4.7.4

xarray: 0.16.2
pandas: 1.1.3
numpy: 1.19.1
scipy: 1.5.4
netCDF4: 1.5.0.1
pydap: installed
h5netcdf: None
h5py: None
Nio: None
zarr: None
cftime: 1.3.0
nc_time_axis: None
PseudoNetCDF: None
rasterio: 1.1.7
cfgrib: None
iris: None
bottleneck: None
dask: None
distributed: None
matplotlib: 3.3.1
cartopy: 0.18.0
seaborn: 0.11.0
numbagg: None
pint: None
setuptools: 50.3.2
pip: 20.3.3
conda: None
pytest: None
IPython: 7.19.0
sphinx: None
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  OpenDAP Documentation Example failing with RunTimeError 811409317

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 229.79ms · About: xarray-datasette