home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

11 rows where issue = 479063574 and user = 1197350 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • rabernat · 11 ✖

issue 1

  • Add an example of ERA5 and GRIB data & visualization to the gallery · 11 ✖

author_association 1

  • MEMBER 11
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
535218487 https://github.com/pydata/xarray/pull/3199#issuecomment-535218487 https://api.github.com/repos/pydata/xarray/issues/3199 MDEyOklzc3VlQ29tbWVudDUzNTIxODQ4Nw== rabernat 1197350 2019-09-25T20:58:43Z 2019-09-25T20:58:43Z MEMBER

Is someone planning to open this RTD issue? Or is there another workaround? I would love to get this scipy19-docs branch merged to master, but this seems to be standing in the way.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add an example of ERA5 and GRIB data & visualization to the gallery 479063574
534331505 https://github.com/pydata/xarray/pull/3199#issuecomment-534331505 https://api.github.com/repos/pydata/xarray/issues/3199 MDEyOklzc3VlQ29tbWVudDUzNDMzMTUwNQ== rabernat 1197350 2019-09-24T00:04:07Z 2019-09-24T00:04:07Z MEMBER

Unfortunately the RTD build failed!

https://readthedocs.org/projects/xray/builds/9700942/

😭😭😭

This is really trying my patience!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add an example of ERA5 and GRIB data & visualization to the gallery 479063574
534310110 https://github.com/pydata/xarray/pull/3199#issuecomment-534310110 https://api.github.com/repos/pydata/xarray/issues/3199 MDEyOklzc3VlQ29tbWVudDUzNDMxMDExMA== rabernat 1197350 2019-09-23T22:30:36Z 2019-09-23T22:30:36Z MEMBER

We got it! Thanks everyone!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add an example of ERA5 and GRIB data & visualization to the gallery 479063574
534266780 https://github.com/pydata/xarray/pull/3199#issuecomment-534266780 https://api.github.com/repos/pydata/xarray/issues/3199 MDEyOklzc3VlQ29tbWVudDUzNDI2Njc4MA== rabernat 1197350 2019-09-23T20:18:25Z 2019-09-23T20:18:25Z MEMBER

Still failing. Instead of

ds = xr.tutorial.load_dataset('data/era5-2mt-2019-03-uk.grib', engine='cfgrib')

it should be

ds = xr.tutorial.load_dataset('era5-2mt-2019-03-uk.grib', engine='cfgrib')

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add an example of ERA5 and GRIB data & visualization to the gallery 479063574
532280765 https://github.com/pydata/xarray/pull/3199#issuecomment-532280765 https://api.github.com/repos/pydata/xarray/issues/3199 MDEyOklzc3VlQ29tbWVudDUzMjI4MDc2NQ== rabernat 1197350 2019-09-17T15:46:47Z 2019-09-17T15:46:47Z MEMBER

I am really stumped here.

When I run python xr.tutorial.load_dataset('era5-2mt-2019-03-uk.grib', engine='cfgrib')

on the scipy19-docs branch, it works fine.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add an example of ERA5 and GRIB data & visualization to the gallery 479063574
532263787 https://github.com/pydata/xarray/pull/3199#issuecomment-532263787 https://api.github.com/repos/pydata/xarray/issues/3199 MDEyOklzc3VlQ29tbWVudDUzMjI2Mzc4Nw== rabernat 1197350 2019-09-17T15:07:11Z 2019-09-17T15:07:19Z MEMBER

Can someone with the proper credentials (e.g. @shoyer) restart the azure build? I can't reproduce the md5 error locally.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add an example of ERA5 and GRIB data & visualization to the gallery 479063574
530189455 https://github.com/pydata/xarray/pull/3199#issuecomment-530189455 https://api.github.com/repos/pydata/xarray/issues/3199 MDEyOklzc3VlQ29tbWVudDUzMDE4OTQ1NQ== rabernat 1197350 2019-09-11T02:10:43Z 2019-09-11T02:11:00Z MEMBER

Now we are getting MD5 checksum does not match, try downloading dataset again. Doesn't make sense to me.

https://dev.azure.com/xarray/xarray/_build/results?buildId=780

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add an example of ERA5 and GRIB data & visualization to the gallery 479063574
530183810 https://github.com/pydata/xarray/pull/3199#issuecomment-530183810 https://api.github.com/repos/pydata/xarray/issues/3199 MDEyOklzc3VlQ29tbWVudDUzMDE4MzgxMA== rabernat 1197350 2019-09-11T01:42:32Z 2019-09-11T01:42:32Z MEMBER

I just fixed a file naming issue in https://github.com/pydata/xarray-data/pull/18 and can confirm that my code above works for me.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add an example of ERA5 and GRIB data & visualization to the gallery 479063574
530182624 https://github.com/pydata/xarray/pull/3199#issuecomment-530182624 https://api.github.com/repos/pydata/xarray/issues/3199 MDEyOklzc3VlQ29tbWVudDUzMDE4MjYyNA== rabernat 1197350 2019-09-11T01:36:23Z 2019-09-11T01:36:23Z MEMBER

It looks like the doc build is failing with this error

``` Sphinx parallel build error: nbsphinx.NotebookError: CellExecutionError in examples/ERA5-GRIB-example.ipynb:


ds = xr.load_dataset('data/era5-2mt-2019-03-uk.grib', engine='cfgrib')

---------------------------------------------------------------------------‌ FileNotFoundError‌ Traceback (most recent call last)‌ <ipython-input-2-90ecf53ec89c>‌ in ‌<module>‌ ----> 1‌ ‌ds‌ ‌=‌ ‌xr‌.‌load_dataset‌(‌'data/era5-2mt-2019-03-uk.grib'‌,‌ ‌engine‌=‌'cfgrib'‌)‌

~/work/1/s/xarray/backends/api.py‌ in ‌load_dataset‌(filename_or_obj, kwargs)‌ 256‌ ‌raise‌ ‌TypeError‌(‌"cache has no effect in this context"‌)‌ 257‌ ‌ --> 258‌ ‌with‌ ‌open_dataset‌(‌filename_or_obj‌,‌ ‌‌kwargs‌)‌ ‌as‌ ‌ds‌:‌ 259‌ ‌return‌ ‌ds‌.‌load‌(‌)‌ 260‌ ‌

~/work/1/s/xarray/backends/api.py‌ in ‌open_dataset‌(filename_or_obj, group, decode_cf, mask_and_scale, decode_times, autoclose, concat_characters, decode_coords, engine, chunks, lock, cache, drop_variables, backend_kwargs, use_cftime)‌ 516‌ ‌elif‌ ‌engine‌ ‌==‌ ‌"cfgrib"‌:‌ 517‌ store = backends.CfGribDataStore(‌ --> 518‌ ‌filename_or_obj‌,‌ ‌lock‌=‌lock‌,‌ ‌**‌backend_kwargs‌ 519‌ )‌ 520‌ ‌

~/work/1/s/xarray/backends/cfgrib_.py‌ in ‌init‌(self, filename, lock, backend_kwargs)‌ 41‌ ‌lock‌ ‌=‌ ‌ECCODES_LOCK‌ 42‌ ‌self‌.‌lock‌ ‌=‌ ‌ensure_lock‌(‌lock‌)‌ ---> 43‌ ‌self‌.‌ds‌ ‌=‌ ‌cfgrib‌.‌open_file‌(‌filename‌,‌ ‌‌backend_kwargs‌)‌ 44‌ ‌ 45‌ ‌def‌ ‌open_store_variable‌(‌self‌,‌ ‌name‌,‌ ‌var‌)‌:‌

/usr/share/miniconda/envs/xarray-tests/lib/python3.7/site-packages/cfgrib/dataset.py‌ in ‌open_file‌(path, grib_errors, indexpath, filter_by_keys, kwargs)‌ 601‌ ):‌ 602‌ ‌"""Open a GRIB file as a cfgrib.Dataset."""‌ --> 603‌ ‌index‌ ‌=‌ ‌open_fileindex‌(‌path‌,‌ ‌grib_errors‌,‌ ‌indexpath‌,‌ ‌filter_by_keys‌)‌ 604‌ ‌return‌ ‌Dataset‌(‌*‌build_dataset_components‌(‌index‌,‌ ‌‌kwargs‌)‌)‌

/usr/share/miniconda/envs/xarray-tests/lib/python3.7/site-packages/cfgrib/dataset.py‌ in ‌open_fileindex‌(path, grib_errors, indexpath, filter_by_keys)‌ 594‌ ‌filter_by_keys‌ ‌=‌ ‌dict‌(‌filter_by_keys‌)‌ 595‌ ‌stream‌ ‌=‌ ‌messages‌.‌FileStream‌(‌path‌,‌ ‌message_class‌=‌cfmessage‌.‌CfMessage‌,‌ ‌errors‌=‌grib_errors‌)‌ --> 596‌ ‌return‌ ‌stream‌.‌index‌(‌ALL_KEYS‌,‌ ‌indexpath‌=‌indexpath‌)‌.‌subindex‌(‌filter_by_keys‌)‌ 597‌ ‌ 598‌ ‌

/usr/share/miniconda/envs/xarray-tests/lib/python3.7/site-packages/cfgrib/messages.py‌ in ‌index‌(self, index_keys, indexpath)‌ 235‌ ‌def‌ ‌index‌(‌self‌,‌ ‌index_keys‌,‌ ‌indexpath‌=‌'{path}.{short_hash}.idx'‌)‌:‌ 236‌ ‌# type: (T.List[str], str) -> FileIndex‌ --> 237‌ ‌return‌ ‌FileIndex‌.‌from_indexpath_or_filestream‌(‌self‌,‌ ‌index_keys‌,‌ ‌indexpath‌)‌ 238‌ ‌ 239‌ ‌

/usr/share/miniconda/envs/xarray-tests/lib/python3.7/site-packages/cfgrib/messages.py‌ in ‌from_indexpath_or_filestream‌(cls, filestream, index_keys, indexpath, log)‌ 331‌ ‌log‌.‌exception‌(‌"Can't read index file %r"‌,‌ ‌indexpath‌)‌ 332‌ ‌ --> 333‌ ‌return‌ ‌cls‌.‌from_filestream‌(‌filestream‌,‌ ‌index_keys‌)‌ 334‌ ‌ 335‌ ‌def‌ ‌iter‌(‌self‌)‌:‌

/usr/share/miniconda/envs/xarray-tests/lib/python3.7/site-packages/cfgrib/messages.py‌ in ‌from_filestream‌(cls, filestream, index_keys)‌ 262‌ ‌offsets‌ ‌=‌ ‌collections‌.‌OrderedDict‌(‌)‌ 263‌ ‌count_offsets‌ ‌=‌ ‌{‌}‌ ‌# type: T.Dict[int, int]‌ --> 264‌ ‌for‌ ‌message‌ ‌in‌ ‌filestream‌:‌ 265‌ ‌header_values‌ ‌=‌ ‌[‌]‌ 266‌ ‌for‌ ‌key‌ ‌in‌ ‌index_keys‌:‌

/usr/share/miniconda/envs/xarray-tests/lib/python3.7/site-packages/cfgrib/messages.py‌ in ‌iter‌(self)‌ 208‌ ‌def‌ ‌iter‌(‌self‌)‌:‌ 209‌ ‌# type: () -> T.Generator[Message, None, None]‌ --> 210‌ ‌with‌ ‌open‌(‌self‌.‌path‌,‌ ‌'rb'‌)‌ ‌as‌ ‌file‌:‌ 211‌ ‌valid_message_found‌ ‌=‌ ‌False‌ 212‌ ‌while‌ ‌True‌:‌

FileNotFoundError‌: [Errno 2] No such file or directory: '/home/vsts/work/1/s/doc/examples/data/era5-2mt-2019-03-uk.grib'‌ FileNotFoundError: [Errno 2] No such file or directory: '/home/vsts/work/1/s/doc/examples/data/era5-2mt-2019-03-uk.grib' ```

It appears that you are loading the data from a local file, rather than from the tutorial datasets api. This won't work, because the local file is not available in the build environment. That's why we added it to the tutorial repo in https://github.com/pydata/xarray-data/pull/14.

Can you try something like

python ds = xr.tutorial.load_dataset('era5-2mt-2019-03-uk.grib', engine='cfgrib')

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add an example of ERA5 and GRIB data & visualization to the gallery 479063574
530112691 https://github.com/pydata/xarray/pull/3199#issuecomment-530112691 https://api.github.com/repos/pydata/xarray/issues/3199 MDEyOklzc3VlQ29tbWVudDUzMDExMjY5MQ== rabernat 1197350 2019-09-10T20:47:44Z 2019-09-10T20:47:44Z MEMBER

In its current form, I'd say that your example is missing some text (markdown cells) which provide a narrative.

See this example - http://xarray.pydata.org/en/scipy19-docs/examples/ROMS_ocean_model.html - for what I am talking about.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add an example of ERA5 and GRIB data & visualization to the gallery 479063574
530112177 https://github.com/pydata/xarray/pull/3199#issuecomment-530112177 https://api.github.com/repos/pydata/xarray/issues/3199 MDEyOklzc3VlQ29tbWVudDUzMDExMjE3Nw== rabernat 1197350 2019-09-10T20:46:21Z 2019-09-10T20:46:21Z MEMBER

Hi @zbruick - thanks for this and sorry for not following up sooner.

Do you feel this example is ready for review?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add an example of ERA5 and GRIB data & visualization to the gallery 479063574

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