home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

18 rows where issue = 401874795 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 9

  • huard 5
  • shoyer 3
  • andersy005 2
  • keewis 2
  • vietnguyengit 2
  • dopplershift 1
  • rabernat 1
  • rsignell-usgs 1
  • jdha 1

author_association 3

  • MEMBER 8
  • CONTRIBUTOR 6
  • NONE 4

issue 1

  • read ncml files to create multifile datasets · 18 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1567154608 https://github.com/pydata/xarray/issues/2697#issuecomment-1567154608 https://api.github.com/repos/pydata/xarray/issues/2697 IC_kwDOAMm_X85daOGw keewis 14808389 2023-05-29T13:41:37Z 2023-05-29T13:41:37Z MEMBER

closing, since anything still missing should be feature requests for xncml

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
1326516874 https://github.com/pydata/xarray/issues/2697#issuecomment-1326516874 https://api.github.com/repos/pydata/xarray/issues/2697 IC_kwDOAMm_X85PEQqK huard 81219 2022-11-24T14:20:54Z 2022-11-24T14:20:54Z CONTRIBUTOR

That's right. I just did a quick 0.1 release of xncml, most likely rough around the edges. Give it a spin. PRs most welcome.

@rabernat If you're happy with it, this issue can probably be closed.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
1326444972 https://github.com/pydata/xarray/issues/2697#issuecomment-1326444972 https://api.github.com/repos/pydata/xarray/issues/2697 IC_kwDOAMm_X85PD_Gs vietnguyengit 26201635 2022-11-24T13:18:50Z 2022-11-24T13:18:50Z NONE

Thanks @keewis that's right, looks like they are still working on the docs, it was confusing.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
1326436762 https://github.com/pydata/xarray/issues/2697#issuecomment-1326436762 https://api.github.com/repos/pydata/xarray/issues/2697 IC_kwDOAMm_X85PD9Ga keewis 14808389 2022-11-24T13:12:36Z 2022-11-24T13:12:36Z MEMBER

I'd assume that xncml has never been released (there's an issue suggesting the release of version 0.1), so obviously there's no package on PyPI. You can try installing from github: bash pip install git+https://github.com/xarray-contrib/xncml.git to see if that gives you something to work with, otherwise I'd wait for any of the devs to get back to you (most likely in the issue you opened on the xncml repo)

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
1326428376 https://github.com/pydata/xarray/issues/2697#issuecomment-1326428376 https://api.github.com/repos/pydata/xarray/issues/2697 IC_kwDOAMm_X85PD7DY vietnguyengit 26201635 2022-11-24T13:06:26Z 2022-11-24T13:06:26Z NONE

Hi everyone, I've hit a problem where I need to read ncml to xarray, which brought me here... Just wondering if there are any updates regarding this?

p/s xncml is broken at the moment.

Thank you.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
1177518755 https://github.com/pydata/xarray/issues/2697#issuecomment-1177518755 https://api.github.com/repos/pydata/xarray/issues/2697 IC_kwDOAMm_X85GL4Kj huard 81219 2022-07-07T12:18:01Z 2022-07-07T12:18:01Z CONTRIBUTOR

@andersy005 Sounds good !

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
1176866026 https://github.com/pydata/xarray/issues/2697#issuecomment-1176866026 https://api.github.com/repos/pydata/xarray/issues/2697 IC_kwDOAMm_X85GJYzq andersy005 13301940 2022-07-06T23:53:55Z 2022-07-06T23:53:55Z MEMBER

Ok, another option would be to add that to xncml

@andersy005 What do you think ?

@huard, I haven't touched the codebase in that repo for three years 😃... So, I'm happy to transfer the xncml repo to xarray-contrib org and give you and anyone who wants access to it

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
1176862288 https://github.com/pydata/xarray/issues/2697#issuecomment-1176862288 https://api.github.com/repos/pydata/xarray/issues/2697 IC_kwDOAMm_X85GJX5Q huard 81219 2022-07-06T23:45:57Z 2022-07-06T23:46:14Z CONTRIBUTOR

Ok, another option would be to add that to xncml

@andersy005 What do you think ?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
1176808719 https://github.com/pydata/xarray/issues/2697#issuecomment-1176808719 https://api.github.com/repos/pydata/xarray/issues/2697 IC_kwDOAMm_X85GJK0P shoyer 1217238 2022-07-06T22:21:48Z 2022-07-06T22:21:48Z MEMBER

Maybe a separate project in xarray-contrib would make sense?

I would be reluctant to add this into Xarray proper if we need a new external dependency for reading XML files.

On Wed, Jul 6, 2022 at 2:37 PM David Huard @.***> wrote:

I've got a first draft that parses an NcML document and spits out an xarray.Dataset. It does not cover all the NcML syntax, but the essential elements are there.

It uses xsdata https://xsdata.readthedocs.io/en/latest/ to parse the XML, using a datamodel automatically generated from the NcML 2-2 schema. I've scrapped test files from the netcdf-java https://github.com/Unidata/netcdf-java repo to create a test suite.

Wondering what's the best place to host the code, tests and test data so others may give it a spin ?

— Reply to this email directly, view it on GitHub https://github.com/pydata/xarray/issues/2697#issuecomment-1176775280, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJJFVW32WV5YKZZP7KFVBTVSX4BZANCNFSM4GRUVDBQ . You are receiving this because you were mentioned.Message ID: @.***>

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
1176775280 https://github.com/pydata/xarray/issues/2697#issuecomment-1176775280 https://api.github.com/repos/pydata/xarray/issues/2697 IC_kwDOAMm_X85GJCpw huard 81219 2022-07-06T21:37:21Z 2022-07-06T21:37:21Z CONTRIBUTOR

I've got a first draft that parses an NcML document and spits out an xarray.Dataset. It does not cover all the NcML syntax, but the essential elements are there.

It uses xsdata to parse the XML, using a datamodel automatically generated from the NcML 2-2 schema. I've scrapped test files from the netcdf-java repo to create a test suite.

Wondering what's the best place to host the code, tests and test data so others may give it a spin ?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
832761716 https://github.com/pydata/xarray/issues/2697#issuecomment-832761716 https://api.github.com/repos/pydata/xarray/issues/2697 MDEyOklzc3VlQ29tbWVudDgzMjc2MTcxNg== rsignell-usgs 1872600 2021-05-05T15:02:55Z 2021-05-05T15:04:59Z NONE

It's worth pointing out that you can create FileReferenceSystem JSON to accomplish many of the tasks we used to use NcML for: * create a single virtual dataset that points to a collection of files * modify dataset and variable attributes

It also has the nice feature that it makes your dataset faster to work with on the cloud because the map to the data is loaded in one shot!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
686576870 https://github.com/pydata/xarray/issues/2697#issuecomment-686576870 https://api.github.com/repos/pydata/xarray/issues/2697 MDEyOklzc3VlQ29tbWVudDY4NjU3Njg3MA== jdha 10219352 2020-09-03T15:37:47Z 2020-09-03T15:37:47Z NONE

This just popped up in my inbox and reminded me of the conversation I had with @rabernathttps://github.com/rabernat a few years back at a DRAKKAR meeting in France.

I haven't really kept up with things since then, but 6+ years ago we modified one of our python tools to abstract the IO method from the user by using NCML files as input. Then either the mfdataset or the unidata Java Netcdf library was used to access local or remote data (single file, directory or aggregation). As there wasn't any native NCML parser in python, and we had limited time, we ended up using pyjniushttps://github.com/kivy/pyjnius to call the netcdf java class from python which gave us access to the directory scan, aggregation functions etc from the Java Library.... probably not the most efficient way - but we've been using it ever since. I don't have a huge amount of time (or expertise), but happy to get involved if I can.


From: Ryan Abernathey notifications@github.com Sent: 03 September 2020 15:47 To: pydata/xarray xarray@noreply.github.com Cc: Harle, James jdha@noc.ac.uk; Mention mention@noreply.github.com Subject: Re: [pydata/xarray] read ncml files to create multifile datasets (#2697)

Thanks for reviving this @huardhttps://github.com/huard!

FWIW, I think it's best for this sort of utility to live in its own small standalone package, which I have referred to as "xarray-mergetool" in the past. NCML could be one special case of the things it could it. It would also be very useful for intake-esm.

We have also discussed this in NCAR/esm-collection-spec#12https://github.com/NCAR/esm-collection-spec/issues/12

We should have some bandwidth to work on this over the next year via the pangeo-forge project.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/pydata/xarray/issues/2697#issuecomment-686543493, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACN66WFQ43YO36IEE6NMMDDSD6UABANCNFSM4GRUVDBQ.

This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. The National Oceanography Centre (NOC) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. NOC does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to NOC business are solely those of the author and do not represent the views of NOC.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
686543493 https://github.com/pydata/xarray/issues/2697#issuecomment-686543493 https://api.github.com/repos/pydata/xarray/issues/2697 MDEyOklzc3VlQ29tbWVudDY4NjU0MzQ5Mw== rabernat 1197350 2020-09-03T14:47:10Z 2020-09-03T14:47:10Z MEMBER

Thanks for reviving this @huard!

FWIW, I think it's best for this sort of utility to live in its own small standalone package, which I have referred to as "xarray-mergetool" in the past. NCML could be one special case of the things it could it. It would also be very useful for intake-esm.

We have also discussed this in https://github.com/NCAR/esm-collection-spec/issues/12

We should have some bandwidth to work on this over the next year via the pangeo-forge project.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
686540299 https://github.com/pydata/xarray/issues/2697#issuecomment-686540299 https://api.github.com/repos/pydata/xarray/issues/2697 MDEyOklzc3VlQ29tbWVudDY4NjU0MDI5OQ== huard 81219 2020-09-03T14:42:19Z 2020-09-03T14:42:19Z CONTRIBUTOR

I'd like to revive this issue. We're increasingly using NcML aggregations within our THREDDS server to create "logical" datasets. This allows us to fix some non-CF-conforming metadata fields without changing files on disk (which would break syncing with ESGF nodes). More importantly, by aggregating multiple time periods, variables and realizations, we're able to create catalog entries for simulations instead of files, which we expect will greatly facilitate parsing catalog search results. We'd like to offer the same aggregation functionality outside of the THREDDS server. Ideally, this would be supported right from the netcdf-c library (see https://github.com/Unidata/netcdf-c/issues/1478), but an xarray NcML backend is the second best option. I also imagine that NcML files could be use as a clean mechanism to create Zarr/NCZarr objects ie: *.nc -> open_ncml -> xr.Dataset -> to_zarr -> Zarr store

@andersy005 In terms of API, I think the need is not so much to create or modify NcML files, but rather to return an xarray.Dataset from an NcML description. My understanding is that open_ncml would be a wrapper around open_mfdataset. My hope is that NcML-based xarray.Dataset objects would behave similarly whether they are created from files on disk through xarray.open_ncml('sim.ncml') or xarray.open_dataset('https://.../thredds/sim.ncml').

The THREDDS repo contains a number of unit tests that could be emulated to steer the Python implementation. My understanding is that getting this done could involve a fair amount of work, so I'd like to see who's interested in collaborating on this and maybe schedule a meeting to plan work for this year or the next.

{
    "total_count": 2,
    "+1": 2,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
484760579 https://github.com/pydata/xarray/issues/2697#issuecomment-484760579 https://api.github.com/repos/pydata/xarray/issues/2697 MDEyOklzc3VlQ29tbWVudDQ4NDc2MDU3OQ== shoyer 1217238 2019-04-19T04:00:04Z 2019-04-19T04:00:04Z MEMBER

I have not thought much about APIs yet.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
484758877 https://github.com/pydata/xarray/issues/2697#issuecomment-484758877 https://api.github.com/repos/pydata/xarray/issues/2697 MDEyOklzc3VlQ29tbWVudDQ4NDc1ODg3Nw== dopplershift 221526 2019-04-19T03:47:37Z 2019-04-19T03:47:37Z CONTRIBUTOR

I haven't had any time to start on this (and I'm a few more weeks out), so feel free to take a cut. I'm not sure what @shoyer or @rabernat have in mind for API.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
484231843 https://github.com/pydata/xarray/issues/2697#issuecomment-484231843 https://api.github.com/repos/pydata/xarray/issues/2697 MDEyOklzc3VlQ29tbWVudDQ4NDIzMTg0Mw== andersy005 13301940 2019-04-17T19:38:19Z 2019-04-17T19:38:19Z MEMBER

Any updates regarding this?

A while ago @rabernat mentioned that @dopplershift was potentially interested in working on implementing this feature in xarray in https://github.com/pangeo-data/esgf2xarray/issues/1#issuecomment-470707112

I am interested in helping out with getting this feature in xarray. I tried finding Python tools that provide NcML functionality and the ones I found namely:

  • ncml: https://github.com/ioos/ncml
  • pyncml: https://github.com/axiom-data-science/pyncml

seem to be outdated and unmaintained.

In the meantime, I've been experimenting with some basics of NcML: https://nbviewer.jupyter.org/github/NCAR/xncml/blob/master/docs/source/tutorial.ipynb

With guidance, input and feedback on what the API is expected to look like in xarray, I'd be more than happy to work on this moving forward

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795
456503505 https://github.com/pydata/xarray/issues/2697#issuecomment-456503505 https://api.github.com/repos/pydata/xarray/issues/2697 MDEyOklzc3VlQ29tbWVudDQ1NjUwMzUwNQ== shoyer 1217238 2019-01-22T18:11:01Z 2019-01-22T18:11:01Z MEMBER

+1 for adding this to xarray. to_ncml would also be nice to have.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  read ncml files to create multifile datasets 401874795

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