home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

8 rows where issue = 1299316581 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 3

  • ghost 4
  • dopplershift 2
  • dcherian 2

author_association 3

  • NONE 4
  • CONTRIBUTOR 2
  • MEMBER 2

issue 1

  • xr.open_dataset(url) gives NetCDF4 (lru_cache.py) error "oc_open: Could not read url" · 8 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1180507258 https://github.com/pydata/xarray/issues/6766#issuecomment-1180507258 https://api.github.com/repos/pydata/xarray/issues/6766 IC_kwDOAMm_X85GXRx6 ghost 10137 2022-07-11T14:49:09Z 2022-07-11T14:49:09Z NONE

okay thank you, started issue at: https://github.com/Unidata/netcdf-c/issues/2459

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xr.open_dataset(url) gives NetCDF4 (lru_cache.py) error "oc_open: Could not read url" 1299316581
1180471644 https://github.com/pydata/xarray/issues/6766#issuecomment-1180471644 https://api.github.com/repos/pydata/xarray/issues/6766 IC_kwDOAMm_X85GXJFc dopplershift 221526 2022-07-11T14:20:06Z 2022-07-11T14:20:06Z CONTRIBUTOR

@DanCodigaMWRA Well, given that it's failing with ncdump, you can skip netcdf4 and go straight to netcdf-c.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xr.open_dataset(url) gives NetCDF4 (lru_cache.py) error "oc_open: Could not read url" 1299316581
1180470141 https://github.com/pydata/xarray/issues/6766#issuecomment-1180470141 https://api.github.com/repos/pydata/xarray/issues/6766 IC_kwDOAMm_X85GXIt9 ghost 10137 2022-07-11T14:18:54Z 2022-07-11T14:18:54Z NONE

Or maybe I should add to this issue https://github.com/Unidata/netcdf4-python/issues/812 rather than starting a new one? Guidance welcome thanks.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xr.open_dataset(url) gives NetCDF4 (lru_cache.py) error "oc_open: Could not read url" 1299316581
1180462733 https://github.com/pydata/xarray/issues/6766#issuecomment-1180462733 https://api.github.com/repos/pydata/xarray/issues/6766 IC_kwDOAMm_X85GXG6N ghost 10137 2022-07-11T14:12:54Z 2022-07-11T14:12:54Z NONE

Thanks for these suggestions, very helpful. See below, for details, but as far as I can tell it looks like: * my conda env ("EQ") has the same curl, libcurl, ca-certificates, and certifi as your system. * the ncdump commands gives same error (as netcdf4 and xarray).

I should post an issue at netcdf4, correct?

``` (EQ) PS C:\Users\Codiga_D> conda list curl

packages in environment at C:\Users\Codiga_D\AppData\Local\Continuum\miniconda3\envs\EQ:

Name Version Build Channel

curl 7.83.1 h789b8ee_0 conda-forge libcurl 7.83.1 h789b8ee_0 conda-forge

(EQ) PS C:\Users\Codiga_D> conda list certifi

packages in environment at C:\Users\Codiga_D\AppData\Local\Continuum\miniconda3\envs\EQ:

Name Version Build Channel

ca-certificates 2022.6.15 h5b45459_0 conda-forge certifi 2022.6.15 py37h03978a9_0 conda-forge

(EQ) PS C:\Users\Codiga_D> ncdump -h http://psl.noaa.gov/thredds/dodsC/Datasets/NARR/monolevel/uwnd.10m.2000.nc Error:curl error: SSL connect error curl error details: Warning:oc_open: Could not read url C:\Users\Codiga_D\AppData\Local\Continuum\miniconda3\envs\EQ\Library\bin\ncdump.exe: http://psl.noaa.gov/thredds/dodsC/Datasets/NARR/monolevel/uwnd.10m.2000.nc: NetCDF: I/O failure ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xr.open_dataset(url) gives NetCDF4 (lru_cache.py) error "oc_open: Could not read url" 1299316581
1179403944 https://github.com/pydata/xarray/issues/6766#issuecomment-1179403944 https://api.github.com/repos/pydata/xarray/issues/6766 IC_kwDOAMm_X85GTEao dopplershift 221526 2022-07-08T22:22:15Z 2022-07-08T22:22:15Z CONTRIBUTOR

I just created a new Python 3.7 environment on my Mac and that worked fine. What do these show? ``` ❯ conda list curl

packages in environment at /Users/rmay/miniconda3/envs/py37:

Name Version Build Channel

curl 7.83.1 h23f1065_0 conda-forge libcurl 7.83.1 h23f1065_0 conda-forge ❯ conda list certifi

packages in environment at /Users/rmay/miniconda3/envs/py37:

Name Version Build Channel

ca-certificates 2022.6.15 h033912b_0 conda-forge certifi 2022.6.15 py37hf985489_0 conda-forge Though I agree this is not an xarray problem at this point. Does it work if you do (with the env active): ncdump -h http://psl.noaa.gov/thredds/dodsC/Datasets/NARR/monolevel/uwnd.10m.2000.nc ``` ?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xr.open_dataset(url) gives NetCDF4 (lru_cache.py) error "oc_open: Could not read url" 1299316581
1179305426 https://github.com/pydata/xarray/issues/6766#issuecomment-1179305426 https://api.github.com/repos/pydata/xarray/issues/6766 IC_kwDOAMm_X85GSsXS ghost 10137 2022-07-08T19:36:39Z 2022-07-08T19:36:39Z NONE

Thanks for the quick response. Result from xr.show_versions()is below. I tried netCDF4.Dataset(url)and it gave the same error.

Just a thought: I still wonder if this could be related to certification... which is something that did change on my system recently. I looked for information as to where netCDF4 would check for its certificate chain, but wasn't able to find something useful so far.

INSTALLED VERSIONS

commit: None python: 3.7.12 | packaged by conda-forge | (default, Oct 26 2021, 05:37:49) [MSC v.1916 64 bit (AMD64)] python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 158 Stepping 10, GenuineIntel byteorder: little LC_ALL: None LANG: en LOCALE: (None, None) libhdf5: 1.12.1 libnetcdf: 4.8.1

xarray: 0.20.2 pandas: 1.3.5 numpy: 1.21.6 scipy: 1.7.3 netCDF4: 1.6.0 pydap: None h5netcdf: None h5py: None Nio: None zarr: None cftime: 1.6.1 nc_time_axis: None PseudoNetCDF: None rasterio: 1.2.10 cfgrib: 0.9.10.1 iris: None bottleneck: 1.3.4 dask: None distributed: None matplotlib: 3.5.2 cartopy: 0.20.2 seaborn: 0.11.2 numbagg: None fsspec: None cupy: None pint: None sparse: None setuptools: 59.8.0 pip: 22.1.2 conda: None pytest: None IPython: 7.33.0 sphinx: 4.3.2

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xr.open_dataset(url) gives NetCDF4 (lru_cache.py) error "oc_open: Could not read url" 1299316581
1179301026 https://github.com/pydata/xarray/issues/6766#issuecomment-1179301026 https://api.github.com/repos/pydata/xarray/issues/6766 IC_kwDOAMm_X85GSrSi dcherian 2448579 2022-07-08T19:29:37Z 2022-07-08T19:29:37Z MEMBER

OH I see your xarray and netCDF versions. Hmmm...

perhaps @dopplershift has tips for debugging this.

One thing to try is to skip xarray and use netcdf directly ``` import netCDF4

netCDF4.Dataset(url) ```

Does that succeed? If not, let's move this to netcdf4-python

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xr.open_dataset(url) gives NetCDF4 (lru_cache.py) error "oc_open: Could not read url" 1299316581
1179299848 https://github.com/pydata/xarray/issues/6766#issuecomment-1179299848 https://api.github.com/repos/pydata/xarray/issues/6766 IC_kwDOAMm_X85GSrAI dcherian 2448579 2022-07-08T19:27:44Z 2022-07-08T19:27:44Z MEMBER

Works for me with these versions. Can you compare with your versions using xr.show_versions()

``` INSTALLED VERSIONS ------------------ commit: None python: 3.10.5 | packaged by conda-forge | (main, Jun 14 2022, 07:04:59) [GCC 10.3.0] python-bits: 64 OS: Linux OS-release: 3.10.0-1127.18.2.el7.x86_64 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: en_US.UTF-8 LANG: en_US.UTF-8 LOCALE: ('en_US', 'UTF-8') libhdf5: 1.12.1 libnetcdf: 4.8.1 xarray: 2022.3.0 pandas: 1.4.3 numpy: 1.22.4 scipy: 1.8.1 netCDF4: 1.6.0 pydap: None h5netcdf: None h5py: 3.7.0 Nio: None zarr: 2.12.0 cftime: 1.6.0 nc_time_axis: 1.4.1 PseudoNetCDF: None rasterio: None cfgrib: None iris: None bottleneck: 1.3.4 dask: 2022.6.1 distributed: 2022.6.1 matplotlib: 3.5.2 cartopy: 0.20.3 seaborn: 0.11.2 numbagg: None fsspec: 0.8.4 cupy: None pint: None sparse: None setuptools: 62.6.0 pip: 22.1.2 conda: None pytest: None IPython: 8.4.0 sphinx: None ```
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xr.open_dataset(url) gives NetCDF4 (lru_cache.py) error "oc_open: Could not read url" 1299316581

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 960.54ms · About: xarray-datasette