issue_comments
67 rows where user = 3460034 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
user 1
- jthielen · 67 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
890165626 | https://github.com/pydata/xarray/issues/5648#issuecomment-890165626 | https://api.github.com/repos/pydata/xarray/issues/5648 | IC_kwDOAMm_X841Dtl6 | jthielen 3460034 | 2021-07-30T21:34:32Z | 2021-07-30T21:41:41Z | CONTRIBUTOR | Count me in for the meeting! Here are a few suggestions about possible topics to add to the agenda (based on linked issues/discussions), if we can fit it all in:
Also, tagging a few other array type libraries and maintainers/contributors who may be interested (please ping the relevant folks if you know them):
(interesting side note is the first three of these are all ndarray subclasses right now...perhaps discussing the interplay between array subclassing and wrapping is in order too?) |
{ "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 } |
Duck array compatibility meeting 956103236 | |
872441814 | https://github.com/pydata/xarray/issues/5559#issuecomment-872441814 | https://api.github.com/repos/pydata/xarray/issues/5559 | MDEyOklzc3VlQ29tbWVudDg3MjQ0MTgxNA== | jthielen 3460034 | 2021-07-01T17:57:32Z | 2021-07-01T18:05:19Z | CONTRIBUTOR | Is it correct that xarray ends up calling ```python import dask.array as da da = xr.DataArray([1,2,3], attrs={'units': 'metres'}) chunked = da.chunk(1).pint.quantify() da.mean(chunked.variable._data) ``` Also, the Dask warning If so, I think this gets into a thorny issue with duck array handling in Dask. It was decided in https://github.com/dask/dask/pull/6393 that deliberately calling Dask array operations like If this all checks out, I believe this becomes a Dask issue to improve upcast type/duck Dask array handling. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
UserWarning when wrapping pint & dask arrays together 935062144 | |
793204639 | https://github.com/pydata/xarray/issues/5012#issuecomment-793204639 | https://api.github.com/repos/pydata/xarray/issues/5012 | MDEyOklzc3VlQ29tbWVudDc5MzIwNDYzOQ== | jthielen 3460034 | 2021-03-09T00:38:37Z | 2021-03-09T00:39:02Z | CONTRIBUTOR | I'll leave the exact issue up to someone more acquainted with string and slice handling on 1) Using pandas
However, notice that jump in the time coordinate...which leads to 2) In the failing example, the time coordinate is non-monotonic. If we
(the working example also has a monotonic time coordinate) And so, I would guess this is an example of string-based timedelta selection failing on non-monotonic coordinates. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
trouble slicing on sub-minute dataset 825079209 | |
789146762 | https://github.com/pydata/xarray/pull/4979#issuecomment-789146762 | https://api.github.com/repos/pydata/xarray/issues/4979 | MDEyOklzc3VlQ29tbWVudDc4OTE0Njc2Mg== | jthielen 3460034 | 2021-03-02T19:13:38Z | 2021-03-02T19:13:38Z | CONTRIBUTOR | It's great to be able to follow along with the discussion here! I'm definitely interested in seeing where the duck array index support ends up. One use-case motivated question: the flexible indexes refactoring has also been pointed to as the resolution to https://github.com/pydata/xarray/issues/2233, where multidimensional coordinates have the same name as one of their dimensions. I wasn't quite able to tell through the narrative here if that has been addressed along the way yet or not ("A. only 1D coordinates with a name matching their dimension name" for implicit index creation does seem to get close though). So, would it be worth directly addressing https://github.com/pydata/xarray/issues/2233 here, or should that wait? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Flexible indexes refactoring notes 819062172 | |
782188310 | https://github.com/pydata/xarray/issues/2233#issuecomment-782188310 | https://api.github.com/repos/pydata/xarray/issues/2233 | MDEyOklzc3VlQ29tbWVudDc4MjE4ODMxMA== | jthielen 3460034 | 2021-02-19T16:34:23Z | 2021-02-19T16:41:05Z | CONTRIBUTOR | I've seen this issue come up a few more times recently, so I wanted to ask: in lieu of a "full fix" (a la https://github.com/pydata/xarray/pull/2405, with deep data model changes holding up the PR), would there be support for a partial coordinate-renaming-based fix? I'd imagine something like the following: To read in netCDF like the following,
(note the problematic
thus giving
|
{ "total_count": 6, "+1": 6, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Problem opening unstructured grid ocean forecasts with 4D vertical coordinates 332471780 | |
761843786 | https://github.com/pydata/xarray/pull/2844#issuecomment-761843786 | https://api.github.com/repos/pydata/xarray/issues/2844 | MDEyOklzc3VlQ29tbWVudDc2MTg0Mzc4Ng== | jthielen 3460034 | 2021-01-17T16:58:34Z | 2021-01-17T16:58:34Z | CONTRIBUTOR | I unfortunately have not been following along with the recent developments in this PR, so these may have already been previously covered. Sorry if that is the case! However, earlier on in the development of this PR, there were some substantial concerns about backwards compatibility (e.g., for libraries like MetPy that currently rely on |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Read grid mapping and bounds as coords 424265093 | |
753426440 | https://github.com/pydata/xarray/pull/4746#issuecomment-753426440 | https://api.github.com/repos/pydata/xarray/issues/4746 | MDEyOklzc3VlQ29tbWVudDc1MzQyNjQ0MA== | jthielen 3460034 | 2021-01-02T03:49:28Z | 2021-01-02T03:49:28Z | CONTRIBUTOR | I think it is best to check against the global |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Faster unstacking 777153550 | |
753423841 | https://github.com/pydata/xarray/pull/4746#issuecomment-753423841 | https://api.github.com/repos/pydata/xarray/issues/4746 | MDEyOklzc3VlQ29tbWVudDc1MzQyMzg0MQ== | jthielen 3460034 | 2021-01-02T03:15:56Z | 2021-01-02T03:15:56Z | CONTRIBUTOR | @max-sixty That error seems to be arising because Perhaps relevant to the discussion is this Pint issue https://github.com/hgrecco/pint/issues/882 where it was tentatively decided that Pint's wrapped implementation of |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Faster unstacking 777153550 | |
677698531 | https://github.com/pydata/xarray/issues/4324#issuecomment-677698531 | https://api.github.com/repos/pydata/xarray/issues/4324 | MDEyOklzc3VlQ29tbWVudDY3NzY5ODUzMQ== | jthielen 3460034 | 2020-08-20T14:25:39Z | 2020-08-20T14:25:39Z | CONTRIBUTOR |
Sounds good! Would it make sense to discuss that over on https://github.com/dask/dask/issues/5329, the pre-existing issue for this larger problem of nested duck array reprs/meta? Also, since |
{ "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
constructing nested inline reprs 675342733 | |
676633628 | https://github.com/pydata/xarray/issues/3894#issuecomment-676633628 | https://api.github.com/repos/pydata/xarray/issues/3894 | MDEyOklzc3VlQ29tbWVudDY3NjYzMzYyOA== | jthielen 3460034 | 2020-08-19T20:04:10Z | 2020-08-19T20:24:38Z | CONTRIBUTOR | Would this proposal mean that subsetting variables with |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add public API for Dataset._copy_listed 588112617 | |
674303204 | https://github.com/pydata/xarray/pull/4340#issuecomment-674303204 | https://api.github.com/repos/pydata/xarray/issues/4340 | MDEyOklzc3VlQ29tbWVudDY3NDMwMzIwNA== | jthielen 3460034 | 2020-08-14T22:56:01Z | 2020-08-14T22:56:01Z | CONTRIBUTOR | This looks like the same issue with 3.3.1: https://github.com/matplotlib/matplotlib/issues/18254? Ran into this in MetPy as well. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
pin matplotlib in ci/requirements/doc.yml 679433399 | |
672077055 | https://github.com/pydata/xarray/issues/4324#issuecomment-672077055 | https://api.github.com/repos/pydata/xarray/issues/4324 | MDEyOklzc3VlQ29tbWVudDY3MjA3NzA1NQ== | jthielen 3460034 | 2020-08-11T16:36:17Z | 2020-08-11T16:36:17Z | CONTRIBUTOR | @benbovy These are some good suggestions about possible final products to aim towards in the implementation. Unfortunately, there are a couple problems to keep in mind:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
constructing nested inline reprs 675342733 | |
671094846 | https://github.com/pydata/xarray/pull/2844#issuecomment-671094846 | https://api.github.com/repos/pydata/xarray/issues/2844 | MDEyOklzc3VlQ29tbWVudDY3MTA5NDg0Ng== | jthielen 3460034 | 2020-08-09T20:03:09Z | 2020-08-09T20:03:09Z | CONTRIBUTOR | For what it's worth, here's a bit of an elaboration on my view from https://github.com/pydata/xarray/issues/4215#issuecomment-656789017 and https://github.com/pydata/xarray/issues/4121#issuecomment-639758583:
For those interested, the issue for |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Read grid mapping and bounds as coords 424265093 | |
669287050 | https://github.com/pydata/xarray/pull/4248#issuecomment-669287050 | https://api.github.com/repos/pydata/xarray/issues/4248 | MDEyOklzc3VlQ29tbWVudDY2OTI4NzA1MA== | jthielen 3460034 | 2020-08-05T16:13:06Z | 2020-08-05T16:13:25Z | CONTRIBUTOR | I think |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
allow customizing the inline repr of a duck array 663825726 | |
663121190 | https://github.com/pydata/xarray/issues/4208#issuecomment-663121190 | https://api.github.com/repos/pydata/xarray/issues/4208 | MDEyOklzc3VlQ29tbWVudDY2MzEyMTE5MA== | jthielen 3460034 | 2020-07-23T17:01:44Z | 2020-07-23T17:03:20Z | CONTRIBUTOR |
That's exactly what's been done in Pint (see https://github.com/hgrecco/pint/pull/1129)! @dcherian's points go beyond just that and address what Pint hasn't covered yet through the standard collection interface. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support for duck Dask Arrays 653430454 | |
662602111 | https://github.com/pydata/xarray/issues/3245#issuecomment-662602111 | https://api.github.com/repos/pydata/xarray/issues/3245 | MDEyOklzc3VlQ29tbWVudDY2MjYwMjExMQ== | jthielen 3460034 | 2020-07-22T18:03:51Z | 2020-07-22T18:03:51Z | CONTRIBUTOR |
This brings up a point I was wondering about as well: how should these |
{ "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 } |
sparse and other duck array issues 484240082 | |
660157829 | https://github.com/pydata/xarray/pull/4221#issuecomment-660157829 | https://api.github.com/repos/pydata/xarray/issues/4221 | MDEyOklzc3VlQ29tbWVudDY2MDE1NzgyOQ== | jthielen 3460034 | 2020-07-17T15:04:50Z | 2020-07-17T15:04:50Z | CONTRIBUTOR | @rpmanser For what it's worth, I'd think doing tests like |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Change isinstance checks to duck Dask Array checks #4208 656163384 | |
660156875 | https://github.com/pydata/xarray/issues/4234#issuecomment-660156875 | https://api.github.com/repos/pydata/xarray/issues/4234 | MDEyOklzc3VlQ29tbWVudDY2MDE1Njg3NQ== | jthielen 3460034 | 2020-07-17T15:03:01Z | 2020-07-17T15:03:01Z | CONTRIBUTOR | The accessors could also be where wrapped xarray methods could go (so in your previous example, it could be |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add ability to change underlying array type 659129613 | |
660148938 | https://github.com/pydata/xarray/issues/4234#issuecomment-660148938 | https://api.github.com/repos/pydata/xarray/issues/4234 | MDEyOklzc3VlQ29tbWVudDY2MDE0ODkzOA== | jthielen 3460034 | 2020-07-17T14:48:59Z | 2020-07-17T14:48:59Z | CONTRIBUTOR | @jacobtomlinson Makes complete sense! Just wanted to make sure the option was considered as a possibility. |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add ability to change underlying array type 659129613 | |
660142143 | https://github.com/pydata/xarray/issues/4234#issuecomment-660142143 | https://api.github.com/repos/pydata/xarray/issues/4234 | MDEyOklzc3VlQ29tbWVudDY2MDE0MjE0Mw== | jthielen 3460034 | 2020-07-17T14:36:40Z | 2020-07-17T14:36:40Z | CONTRIBUTOR | @jacobtomlinson Indeed! A similar Though, to have those accessors be registered with just importing |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add ability to change underlying array type 659129613 | |
660129151 | https://github.com/pydata/xarray/issues/4234#issuecomment-660129151 | https://api.github.com/repos/pydata/xarray/issues/4234 | MDEyOklzc3VlQ29tbWVudDY2MDEyOTE1MQ== | jthielen 3460034 | 2020-07-17T14:12:23Z | 2020-07-17T14:13:17Z | CONTRIBUTOR | @jacobtomlinson Have you considered implementing an accessor for this and any other CuPy-specific functionality? This is the approach we are taking with Pint integration (pint-xarray), and I wonder if it might also be a good approach for CuPy. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add ability to change underlying array type 659129613 | |
658140708 | https://github.com/pydata/xarray/pull/4221#issuecomment-658140708 | https://api.github.com/repos/pydata/xarray/issues/4221 | MDEyOklzc3VlQ29tbWVudDY1ODE0MDcwOA== | jthielen 3460034 | 2020-07-14T12:03:05Z | 2020-07-14T12:03:19Z | CONTRIBUTOR |
As long as that doesn't break any of the current uses, I think that would be the best way forwards. This would require xarray to be on NumPy 1.16+ (in order to ensure
Although, while we're at it, do we also need more careful handling of upcast types? I'm not sure if there even are any out there right now (not sure if a HoloViews Dataset counts here), but that doesn't necessarily mean there never will be any. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Change isinstance checks to duck Dask Array checks #4208 656163384 | |
657895835 | https://github.com/pydata/xarray/pull/4221#issuecomment-657895835 | https://api.github.com/repos/pydata/xarray/issues/4221 | MDEyOklzc3VlQ29tbWVudDY1Nzg5NTgzNQ== | jthielen 3460034 | 2020-07-14T00:22:09Z | 2020-07-14T00:22:09Z | CONTRIBUTOR | Also, a broader discussion that's I've seen hinted to in the past, but is brought to the forefront by this PR: how should xarray be checking for general duck array types it can wrap? Right now, it looks like there is a mix of
and it would be nice to bring consistency. However, both these checks seem like they'd let too many types through. For example, |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Change isinstance checks to duck Dask Array checks #4208 656163384 | |
657151954 | https://github.com/pydata/xarray/issues/4212#issuecomment-657151954 | https://api.github.com/repos/pydata/xarray/issues/4212 | MDEyOklzc3VlQ29tbWVudDY1NzE1MTk1NA== | jthielen 3460034 | 2020-07-12T00:14:36Z | 2020-07-12T00:35:25Z | CONTRIBUTOR |
As far as I'd see it, the pieces to get this working are
and then finally testing xarray( pint( cupy )) works automatically from there. https://github.com/hgrecco/pint/issues/964 was deferred due to CI/testing concerns, so it will be great to see what @jacobtomlinson can come up with here for xarray, since hopefully at some point it would be transferable over to pint as well. |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add cupy support 654135405 | |
657152588 | https://github.com/pydata/xarray/issues/4208#issuecomment-657152588 | https://api.github.com/repos/pydata/xarray/issues/4208 | MDEyOklzc3VlQ29tbWVudDY1NzE1MjU4OA== | jthielen 3460034 | 2020-07-12T00:19:53Z | 2020-07-12T00:19:53Z | CONTRIBUTOR |
Only indirectly, since this deals with duck Dask arrays (things like Pint that go between xarray and Dask) rather than Dask chunks, which CuPy would be. But, once this, #4212, https://github.com/hgrecco/pint/issues/964, and https://github.com/dask/dask/pull/6393 are all in place, then we can test if xarray( pint( dask( cupy ))) works automatically from it all or not. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support for duck Dask Arrays 653430454 | |
656250148 | https://github.com/pydata/xarray/issues/4208#issuecomment-656250148 | https://api.github.com/repos/pydata/xarray/issues/4208 | MDEyOklzc3VlQ29tbWVudDY1NjI1MDE0OA== | jthielen 3460034 | 2020-07-09T17:17:34Z | 2020-07-10T17:47:16Z | CONTRIBUTOR | Based on @mrocklin's comment in https://github.com/dask/dask/issues/6385, the plan will be to check for duck Dask Arrays with |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support for duck Dask Arrays 653430454 | |
656789017 | https://github.com/pydata/xarray/issues/4215#issuecomment-656789017 | https://api.github.com/repos/pydata/xarray/issues/4215 | MDEyOklzc3VlQ29tbWVudDY1Njc4OTAxNw== | jthielen 3460034 | 2020-07-10T17:17:59Z | 2020-07-10T17:41:31Z | CONTRIBUTOR | I agree with #3689 that it makes the most sense to have
My one concern with #2844 is clarifying the role of |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
setting variables named in CF attributes as coordinate variables 654889988 | |
656358719 | https://github.com/pydata/xarray/issues/4208#issuecomment-656358719 | https://api.github.com/repos/pydata/xarray/issues/4208 | MDEyOklzc3VlQ29tbWVudDY1NjM1ODcxOQ== | jthielen 3460034 | 2020-07-09T21:24:42Z | 2020-07-09T21:26:37Z | CONTRIBUTOR | @rpmanser That sounds like a good plan to me at least, but it would be great if any of the xarray maintainers would be able to chime in. Also, thanks again for being willing to work on this while I try working on https://github.com/dask/dask/issues/4583. The hidden 4th step is of course testing--primarily that this doesn't break existing functionality, but also that it works for duck Dask Arrays other than Dask Arrays themselves (not sure if Pint Quantities in upcoming v0.15 or a mocked class would be better). Also, thank you @dcherian for pointing out those checks, you found them faster than I did! |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support for duck Dask Arrays 653430454 | |
656119415 | https://github.com/pydata/xarray/issues/4208#issuecomment-656119415 | https://api.github.com/repos/pydata/xarray/issues/4208 | MDEyOklzc3VlQ29tbWVudDY1NjExOTQxNQ== | jthielen 3460034 | 2020-07-09T13:13:43Z | 2020-07-09T13:13:43Z | CONTRIBUTOR |
Since Pint wraps Dask, in order to leverage Dask Array functionality on Pint Quantities, we need to have the Dask collection interface available. In a sense, Pint needs special handling for Dask like xarray Variables do since they both can be upcast types of Dask Array. Implicitly passing through attributes (how Pint handles special methods/attributes of downcast types in general) from the wrapped Dask Array is not sufficient, however, because the finalizers have to rewrap with Quantity (see https://github.com/hgrecco/pint/pull/1129/files#diff-d9924213798d0fc092b8cff13928d747R1947-R1950), hence the explicit awareness of Dask being needed in Pint.
Done! See https://github.com/dask/dask/issues/6385. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support for duck Dask Arrays 653430454 | |
655817246 | https://github.com/pydata/xarray/issues/4208#issuecomment-655817246 | https://api.github.com/repos/pydata/xarray/issues/4208 | MDEyOklzc3VlQ29tbWVudDY1NTgxNzI0Ng== | jthielen 3460034 | 2020-07-08T23:57:36Z | 2020-07-08T23:59:28Z | CONTRIBUTOR |
That would be a straightforward solution to both problems! A Pint Quantity containing a Dask Array passes along the chunks attribute from the Dask Array, and a Pint Quantity containing something else will raise an AttributeError. Unless there are other objections, I'll see what it will take to swap out the existing Dask checks for this in the xarray internals and hopefully get around to a PR (after I get some MetPy stuff done first). |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Support for duck Dask Arrays 653430454 | |
651851046 | https://github.com/pydata/xarray/issues/4183#issuecomment-651851046 | https://api.github.com/repos/pydata/xarray/issues/4183 | MDEyOklzc3VlQ29tbWVudDY1MTg1MTA0Ng== | jthielen 3460034 | 2020-06-30T15:01:27Z | 2020-06-30T15:01:27Z | CONTRIBUTOR |
Nanoseconds (and seconds with any other SI prefix from yocto to yotta) are indeed valid in the CF conventions. For reference, there is this table in v1.8 of the conventions, as well as the SI prefix and SI base unit databases of UDUNITS. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Unable to decode a date in nanoseconds 646038170 | |
639758583 | https://github.com/pydata/xarray/issues/4121#issuecomment-639758583 | https://api.github.com/repos/pydata/xarray/issues/4121 | MDEyOklzc3VlQ29tbWVudDYzOTc1ODU4Mw== | jthielen 3460034 | 2020-06-05T19:52:21Z | 2020-06-05T19:52:21Z | CONTRIBUTOR | I think this could be a good fit for |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
decode_cf doesn't work for ancillary_variables in attributes 630573329 | |
635000563 | https://github.com/pydata/xarray/pull/4102#issuecomment-635000563 | https://api.github.com/repos/pydata/xarray/issues/4102 | MDEyOklzc3VlQ29tbWVudDYzNTAwMDU2Mw== | jthielen 3460034 | 2020-05-27T23:39:36Z | 2020-05-27T23:39:55Z | CONTRIBUTOR | For these kind of cached files, would it be worth using something like Pooch for xarray? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
cache rasterio example files 626083981 | |
620797019 | https://github.com/pydata/xarray/issues/4013#issuecomment-620797019 | https://api.github.com/repos/pydata/xarray/issues/4013 | MDEyOklzc3VlQ29tbWVudDYyMDc5NzAxOQ== | jthielen 3460034 | 2020-04-28T19:03:33Z | 2020-04-28T19:03:33Z | CONTRIBUTOR | Does the
reduces the shape of the |
{ "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Subset from conditional coordinates 608536405 | |
610516526 | https://github.com/pydata/xarray/issues/3946#issuecomment-610516526 | https://api.github.com/repos/pydata/xarray/issues/3946 | MDEyOklzc3VlQ29tbWVudDYxMDUxNjUyNg== | jthielen 3460034 | 2020-04-07T17:22:49Z | 2020-04-07T17:22:49Z | CONTRIBUTOR | If allowing for some degree of tolerance, something like this would also be quite useful in geographic coordinate transformations when going from 2D lon/lat auxiliary coordinates to 1D x/y dimension coordinates. Here's an example of what we're currently doing in MetPy for this: https://github.com/Unidata/MetPy/blob/3aa0118ffbda48be2a426dee956183b7cef81f0c/src/metpy/xarray.py#L907-L947 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
removing uneccessary dimension 595813283 | |
610159680 | https://github.com/pydata/xarray/pull/3643#issuecomment-610159680 | https://api.github.com/repos/pydata/xarray/issues/3643 | MDEyOklzc3VlQ29tbWVudDYxMDE1OTY4MA== | jthielen 3460034 | 2020-04-07T03:58:05Z | 2020-04-07T03:58:05Z | CONTRIBUTOR | Also, after glancing through all this, it seems like xarray is dealing inconsistently with the type casting hierarchy:
Should this be its own issue? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Pint support for DataArray 539988974 | |
610159608 | https://github.com/pydata/xarray/pull/3643#issuecomment-610159608 | https://api.github.com/repos/pydata/xarray/issues/3643 | MDEyOklzc3VlQ29tbWVudDYxMDE1OTYwOA== | jthielen 3460034 | 2020-04-07T03:57:45Z | 2020-04-07T03:57:45Z | CONTRIBUTOR | @keewis Is part of the specific problem that Pint has a guarded import of xarray when defining its upcast types? Would it help if it checked for the fully qualified class name instead? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Pint support for DataArray 539988974 | |
583562118 | https://github.com/pydata/xarray/pull/3706#issuecomment-583562118 | https://api.github.com/repos/pydata/xarray/issues/3706 | MDEyOklzc3VlQ29tbWVudDU4MzU2MjExOA== | jthielen 3460034 | 2020-02-07T19:17:08Z | 2020-02-07T19:17:08Z | CONTRIBUTOR | @keewis For what it is worth, as far as |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Pint support for variables 551680561 | |
576782065 | https://github.com/pydata/xarray/pull/3713#issuecomment-576782065 | https://api.github.com/repos/pydata/xarray/issues/3713 | MDEyOklzc3VlQ29tbWVudDU3Njc4MjA2NQ== | jthielen 3460034 | 2020-01-21T17:08:39Z | 2020-01-21T17:08:39Z | CONTRIBUTOR |
@dcherian Hope you don't mind me jumping in, but that is correct at the moment (see https://github.com/hgrecco/pint/issues/981). It would be easy to add to Pint, though. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
bump min deps for 0.15 552994673 | |
573102940 | https://github.com/pydata/xarray/issues/3509#issuecomment-573102940 | https://api.github.com/repos/pydata/xarray/issues/3509 | MDEyOklzc3VlQ29tbWVudDU3MzEwMjk0MA== | jthielen 3460034 | 2020-01-10T16:21:08Z | 2020-01-10T16:22:20Z | CONTRIBUTOR | @SimonHeybrock So sorry I neglected to reply back in November! https://github.com/hgrecco/pint/issues/982 and https://github.com/hgrecco/pint/issues/918 pinged my recollection of this issue. In short, Pint actually doesn't currently support uncertainties with arrays, only scalars, so my earlier wrapping comment was mistaken. So, moving forward with |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
NEP 18, physical units, uncertainties, and the scipp library? 520815068 | |
569166918 | https://github.com/pydata/xarray/pull/3643#issuecomment-569166918 | https://api.github.com/repos/pydata/xarray/issues/3643 | MDEyOklzc3VlQ29tbWVudDU2OTE2NjkxOA== | jthielen 3460034 | 2019-12-27T02:09:45Z | 2019-12-27T02:09:45Z | CONTRIBUTOR |
No problem at all to add these! See https://github.com/hgrecco/pint/pull/956. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Pint support for DataArray 539988974 | |
564633712 | https://github.com/pydata/xarray/issues/3256#issuecomment-564633712 | https://api.github.com/repos/pydata/xarray/issues/3256 | MDEyOklzc3VlQ29tbWVudDU2NDYzMzcxMg== | jthielen 3460034 | 2019-12-11T16:50:33Z | 2019-12-11T16:50:33Z | CONTRIBUTOR | Would it make sense to add something to the
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
.item() on a DataArray with dtype='datetime64[ns]' returns int 484699415 | |
562905492 | https://github.com/pydata/xarray/pull/3600#issuecomment-562905492 | https://api.github.com/repos/pydata/xarray/issues/3600 | MDEyOklzc3VlQ29tbWVudDU2MjkwNTQ5Mg== | jthielen 3460034 | 2019-12-08T02:15:04Z | 2019-12-08T02:15:04Z | CONTRIBUTOR |
Sounds like a good plan. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Fix pint integration tests 533580931 | |
562348563 | https://github.com/pydata/xarray/pull/3600#issuecomment-562348563 | https://api.github.com/repos/pydata/xarray/issues/3600 | MDEyOklzc3VlQ29tbWVudDU2MjM0ODU2Mw== | jthielen 3460034 | 2019-12-05T22:32:44Z | 2019-12-05T22:32:44Z | CONTRIBUTOR | In general, this looks good! After running through this, a couple thoughts did come to mind:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Fix pint integration tests 533580931 | |
556478921 | https://github.com/pydata/xarray/issues/3556#issuecomment-556478921 | https://api.github.com/repos/pydata/xarray/issues/3556 | MDEyOklzc3VlQ29tbWVudDU1NjQ3ODkyMQ== | jthielen 3460034 | 2019-11-20T22:21:48Z | 2019-11-20T22:21:48Z | CONTRIBUTOR | @r-beer That's strange, could it be a browser cache issue? I took the screenshot from the stable version of the docs (http://xarray.pydata.org/en/stable/contributing.html#requirements). |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
doc\environment.yml not found 526243198 | |
556475826 | https://github.com/pydata/xarray/pull/3554#issuecomment-556475826 | https://api.github.com/repos/pydata/xarray/issues/3554 | MDEyOklzc3VlQ29tbWVudDU1NjQ3NTgyNg== | jthielen 3460034 | 2019-11-20T22:18:54Z | 2019-11-20T22:18:54Z | CONTRIBUTOR |
I'd like to have documentation available for anything in the public API, so that it can be a useful reference for both previously existing and new code. I think for deprecated functionality it makes the most sense to keep the docs, but warn prominently that it should not be used in new code (e.g. https://unidata.github.io/MetPy/dev/api/generated/metpy.calc.html#deprecated)? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Fix documentation 525972395 | |
556469727 | https://github.com/pydata/xarray/issues/3556#issuecomment-556469727 | https://api.github.com/repos/pydata/xarray/issues/3556 | MDEyOklzc3VlQ29tbWVudDU1NjQ2OTcyNw== | jthielen 3460034 | 2019-11-20T22:13:15Z | 2019-11-20T22:13:15Z | CONTRIBUTOR | I think this was already updated in https://github.com/pydata/xarray/pull/3410? Here's what I see in the contributing guidelines: |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
doc\environment.yml not found 526243198 | |
552594045 | https://github.com/pydata/xarray/issues/3509#issuecomment-552594045 | https://api.github.com/repos/pydata/xarray/issues/3509 | MDEyOklzc3VlQ29tbWVudDU1MjU5NDA0NQ== | jthielen 3460034 | 2019-11-11T20:06:49Z | 2019-11-11T20:06:49Z | CONTRIBUTOR | With regards to physical units (and to a lesser extent propagation of uncertainties), this would have overlap with pint. Efforts have been ongoing towards integration with xarray through NEP-18 (xref https://github.com/pydata/xarray/issues/525, https://github.com/hgrecco/pint/pull/764, https://github.com/hgrecco/pint/issues/845, https://github.com/hgrecco/pint/issues/849, as well as https://github.com/pydata/xarray/pull/3238 and following test implementation PRs), but are still not quite there yet...hopefully very soon though! Would you be able to describe any advantages/disadvantages you would see with xarray wrapping scipp, versus something like xarray > pint > uncertainties > numpy? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
NEP 18, physical units, uncertainties, and the scipp library? 520815068 | |
537564221 | https://github.com/pydata/xarray/issues/3361#issuecomment-537564221 | https://api.github.com/repos/pydata/xarray/issues/3361 | MDEyOklzc3VlQ29tbWVudDUzNzU2NDIyMQ== | jthielen 3460034 | 2019-10-02T16:05:57Z | 2019-10-02T16:05:57Z | CONTRIBUTOR | @gmaze Just as an example, here is what we recently added for MetPy: https://unidata.github.io/MetPy/latest/api/generated/metpy.xarray.html. Previously, we just had a narrative-form tutorial. If there are other recommendations, it would be great to incorporate those into MetPy as well! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Recommendations for domain-specific accessor documentation 500949040 | |
536350457 | https://github.com/pydata/xarray/pull/3352#issuecomment-536350457 | https://api.github.com/repos/pydata/xarray/issues/3352 | MDEyOklzc3VlQ29tbWVudDUzNjM1MDQ1Nw== | jthielen 3460034 | 2019-09-29T23:05:46Z | 2019-09-29T23:05:46Z | CONTRIBUTOR | Since the current wording of the "Coordinate" definition seems to imply only one dimension, should the multidimensional coordinate issue that remains be cleared up here or in a follow-up PR? If it's a follow-up, I'd be glad to submit one for it. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Add glossary to documentation 499807676 | |
532383428 | https://github.com/pydata/xarray/pull/3238#issuecomment-532383428 | https://api.github.com/repos/pydata/xarray/issues/3238 | MDEyOklzc3VlQ29tbWVudDUzMjM4MzQyOA== | jthielen 3460034 | 2019-09-17T20:14:33Z | 2019-09-17T20:14:33Z | CONTRIBUTOR | @keewis Thank you for catching this! I've pushed an update to https://github.com/andrewgsavage/pint/pull/6 with your suggested changes. Raising an error on incompatible/missing units is definitely something that will be need to be added, but it may take some re-thinking the current implementations and how I'm thinking that discussion regarding bugs with pint's upcoming |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
tests for arrays with units 484015016 | |
531606320 | https://github.com/pydata/xarray/pull/3238#issuecomment-531606320 | https://api.github.com/repos/pydata/xarray/issues/3238 | MDEyOklzc3VlQ29tbWVudDUzMTYwNjMyMA== | jthielen 3460034 | 2019-09-15T22:51:41Z | 2019-09-15T22:51:41Z | CONTRIBUTOR | @keewis Thank you for pointing that out, I forgot to mention that right now mixed types are not handled by https://github.com/hgrecco/pint/pull/764 (see https://github.com/hgrecco/pint/pull/764#issuecomment-523272038). |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
tests for arrays with units 484015016 | |
531603936 | https://github.com/pydata/xarray/pull/3238#issuecomment-531603936 | https://api.github.com/repos/pydata/xarray/issues/3238 | MDEyOklzc3VlQ29tbWVudDUzMTYwMzkzNg== | jthielen 3460034 | 2019-09-15T22:15:16Z | 2019-09-15T22:15:53Z | CONTRIBUTOR | @keewis My inclination is to think of the units as part of the data, and that, for example, I'm not sure about the indexing behavior. From the sounds of your prior comment, it works because it functions as an "object-type" index? If so, it may cause a decent hit on performance. I'd definitely want to hear others' thoughts on it too. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
tests for arrays with units 484015016 | |
531603357 | https://github.com/pydata/xarray/issues/525#issuecomment-531603357 | https://api.github.com/repos/pydata/xarray/issues/525 | MDEyOklzc3VlQ29tbWVudDUzMTYwMzM1Nw== | jthielen 3460034 | 2019-09-15T22:04:39Z | 2019-09-15T22:04:39Z | CONTRIBUTOR | Based the points raised by @crusaderky in https://github.com/hgrecco/pint/issues/878#issue-492678605 about how much special case handling xarray has for dask arrays, I was thinking recently about what it might take for the xarray > pint > dask.array wrapping discussed here and elsewhere to work as fluidly as xarray > dask.array currently does. Would it help for this integration to have pint Quanitites implement the dask custom collections interface for when it wraps a dask array? I would think that this would allow a pint Quanitity to behave in a "dask-array-like" way rather than just an "array-like" way. Then, instead of xarray checking for Also, if I'm incorrect with this line of thought, or there is a better way forward for implementing this wrapping pattern, please do let me know! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
support for units 100295585 | |
531600938 | https://github.com/pydata/xarray/pull/3238#issuecomment-531600938 | https://api.github.com/repos/pydata/xarray/issues/3238 | MDEyOklzc3VlQ29tbWVudDUzMTYwMDkzOA== | jthielen 3460034 | 2019-09-15T21:27:27Z | 2019-09-15T21:27:27Z | CONTRIBUTOR | @keewis In https://github.com/andrewgsavage/pint/pull/6, I implemented Does this behavior seem reasonable to you? Also, would this be something that should be cleared up with an issue on pint's end? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
tests for arrays with units 484015016 | |
530242012 | https://github.com/pydata/xarray/issues/3299#issuecomment-530242012 | https://api.github.com/repos/pydata/xarray/issues/3299 | MDEyOklzc3VlQ29tbWVudDUzMDI0MjAxMg== | jthielen 3460034 | 2019-09-11T06:32:44Z | 2019-09-11T20:47:29Z | CONTRIBUTOR | Based on your input and expected result, I would guess that you are looking to regrid your data from the x/y curvilinear grid of your GRIB weather data to a new rectilinear (lon/lat) grid? If so, I would suggest using xESMF (example here), since xarray itself does not appear to support this type of interpolation yet. As an example, given the dimension names you currently have and expect in the output, your code could look something like the following: ```python import xesmf as xe ...load data...ds_xy_grid = ds_xy_grid.rename(latitude='lat', longitude='lon') ds_out = xr.Dataset({'lat': (['lat'], np.linspace(44.77, 56.14, 421)), 'lon': (['lon'], np.linspace(2.976, 19.84, 461)}) regridder = xe.Regridder(ds_xy_grid, ds_out, 'bilinear') ds_lonlat_grid = regridder(ds_xy_grid) ds_lonlat_grid = ds_lonlat_grid.rename(lat='latitude', lon='longitude') ``` (updated as per comment below) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
swap dimensions with multi-dimensional coordinates 491719758 | |
527245079 | https://github.com/pydata/xarray/pull/3238#issuecomment-527245079 | https://api.github.com/repos/pydata/xarray/issues/3238 | MDEyOklzc3VlQ29tbWVudDUyNzI0NTA3OQ== | jthielen 3460034 | 2019-09-02T21:24:52Z | 2019-09-02T21:31:05Z | CONTRIBUTOR | After digging a bit more into
Based on your tests and examples, I would agree that https://github.com/pydata/xarray/issues/3241 isn't really fixed. I also agree that adding the method tests is a good idea. Thank you for clarifying about the ```python import xarray as xr import numpy as np import pint unit_registry = pint.UnitRegistry() array = np.linspace(5, 10, 20).astype(int) * unit_registry.m x = np.arange(len(array)) * unit_registry.s data_array = xr.DataArray(data=array, coords={"x": x}, dims=["x"]) print(data_array.sel(x = [15, 16] * unit_registry.volts))
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
tests for arrays with units 484015016 | |
527230031 | https://github.com/pydata/xarray/pull/3238#issuecomment-527230031 | https://api.github.com/repos/pydata/xarray/issues/3238 | MDEyOklzc3VlQ29tbWVudDUyNzIzMDAzMQ== | jthielen 3460034 | 2019-09-02T19:32:16Z | 2019-09-02T19:32:16Z | CONTRIBUTOR | Thank you for the update! Here are responses to each issue brought up:
I passed up
For indexing, when you say "working," would you be able to clarify what your expected behavior is for indexing? Based on https://github.com/pydata/xarray/issues/525#issuecomment-514880353 and the preceding discussion, right now indices will have units stripped, so for me at least, I would expect any attempt at unit-aware indexing to either not work or raise a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
tests for arrays with units 484015016 | |
524570522 | https://github.com/pydata/xarray/issues/525#issuecomment-524570522 | https://api.github.com/repos/pydata/xarray/issues/525 | MDEyOklzc3VlQ29tbWVudDUyNDU3MDUyMg== | jthielen 3460034 | 2019-08-24T18:12:55Z | 2019-08-24T18:39:49Z | CONTRIBUTOR | @shoyer I agree, the accessor interface makes a lot of sense for this: it's more conservative on the xarray side, while also giving the most flexibility for the pint + xarray integration. Based on your feedback and what I'd hope to see out of the pint + xarray integration, I'm thinking a pint-adjacent package like pint-xarray may be the best route forward. ~~I'll create an issue on pint to inquire about that possibility.~~ See https://github.com/hgrecco/pint/issues/849. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
support for units 100295585 | |
524569782 | https://github.com/pydata/xarray/issues/525#issuecomment-524569782 | https://api.github.com/repos/pydata/xarray/issues/525 | MDEyOklzc3VlQ29tbWVudDUyNDU2OTc4Mg== | jthielen 3460034 | 2019-08-24T18:00:37Z | 2019-08-24T18:01:11Z | CONTRIBUTOR | Oh, okay, having the fallback like that was how I thought about implementing it. (I'm sorry that I didn't describe that in my initial comment.) So would the way forward be to implement |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
support for units 100295585 | |
524568112 | https://github.com/pydata/xarray/issues/525#issuecomment-524568112 | https://api.github.com/repos/pydata/xarray/issues/525 | MDEyOklzc3VlQ29tbWVudDUyNDU2ODExMg== | jthielen 3460034 | 2019-08-24T17:34:31Z | 2019-08-24T17:34:31Z | CONTRIBUTOR | @shoyer Thank you for the reply! That sounds good about the repr custom logic. With the units attribute, I was presuming based on the past comments that Possible ideas I had:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
support for units 100295585 | |
524518305 | https://github.com/pydata/xarray/issues/525#issuecomment-524518305 | https://api.github.com/repos/pydata/xarray/issues/525 | MDEyOklzc3VlQ29tbWVudDUyNDUxODMwNQ== | jthielen 3460034 | 2019-08-24T04:17:54Z | 2019-08-24T04:17:54Z | CONTRIBUTOR | With the progress being made with https://github.com/pydata/xarray/pull/2956, https://github.com/pydata/xarray/pull/3238, and https://github.com/hgrecco/pint/pull/764, I was thinking that now might be a good time to work out the details of the "minimal units layer" mentioned by @shoyer in https://github.com/pydata/xarray/issues/525#issuecomment-482641808 and https://github.com/pydata/xarray/issues/988#issuecomment-413732471? I'd be glad to try putting together a PR that could follow up on https://github.com/pydata/xarray/pull/3238 for it, but I would want to ask for some guidance: (For reference, below is the action list from https://github.com/pydata/xarray/issues/988#issuecomment-413732471)
Having
Units and IO While wrapping and unwrapping arrays with Some possibilities that came to mind (by no means an exhaustive list):
With any of these, tests for lazy-loading would be crucial (I don't know yet how pint will handle that). Output may be easier: I was thinking that unwrapping could be done implicitly by automatically putting Extra questions based on sparse implementation Will a set of repr functions for each unit array type need to be added like they were for sparse in https://github.com/pydata/xarray/pull/3211? Or should there be some more general system implemented because of all of the possible combinations that would arise with other duck array types?
What is the expected behavior with unit arrays with regards to this soon-to-be-implemented conversion method? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
support for units 100295585 | |
524099935 | https://github.com/pydata/xarray/pull/3238#issuecomment-524099935 | https://api.github.com/repos/pydata/xarray/issues/3238 | MDEyOklzc3VlQ29tbWVudDUyNDA5OTkzNQ== | jthielen 3460034 | 2019-08-22T22:20:49Z | 2019-08-22T22:20:49Z | CONTRIBUTOR | I noticed you have As to why the warning is happening in the first place, I think that is because the Hence, the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
tests for arrays with units 484015016 | |
524088212 | https://github.com/pydata/xarray/pull/3238#issuecomment-524088212 | https://api.github.com/repos/pydata/xarray/issues/3238 | MDEyOklzc3VlQ29tbWVudDUyNDA4ODIxMg== | jthielen 3460034 | 2019-08-22T21:39:38Z | 2019-08-22T21:39:38Z | CONTRIBUTOR | @keewis: In case it helps, I've added a bunch of additional |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
tests for arrays with units 484015016 | |
523229282 | https://github.com/pydata/xarray/pull/2956#issuecomment-523229282 | https://api.github.com/repos/pydata/xarray/issues/2956 | MDEyOklzc3VlQ29tbWVudDUyMzIyOTI4Mg== | jthielen 3460034 | 2019-08-20T23:07:27Z | 2019-08-20T23:07:27Z | CONTRIBUTOR |
This is actually something that I've been working towards recently, but I've ran into some delays. I'm still working on the pint side of things since there is a fair number of numpy functions not yet implemented and tested in hgrecco/pint#764. @keewis Would you want to take the lead on these xarray + pint with |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Picking up #1118: Do not convert subclasses of `ndarray` unless required 443157666 | |
514877824 | https://github.com/pydata/xarray/issues/525#issuecomment-514877824 | https://api.github.com/repos/pydata/xarray/issues/525 | MDEyOklzc3VlQ29tbWVudDUxNDg3NzgyNA== | jthielen 3460034 | 2019-07-25T03:11:20Z | 2019-07-25T03:11:20Z | CONTRIBUTOR | Thank you for the insight! So if I'm understanding things correctly as they stand now, dimension coordinates store their values internally as a With that in mind, would "dimension coordinates with units" (or more generally "dimension coordinates with (In the mean time, I would guess that the best workaround is using an accessor interface to handle unit-related operations on coordinates, since the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
support for units 100295585 | |
514452182 | https://github.com/pydata/xarray/issues/525#issuecomment-514452182 | https://api.github.com/repos/pydata/xarray/issues/525 | MDEyOklzc3VlQ29tbWVudDUxNDQ1MjE4Mg== | jthielen 3460034 | 2019-07-24T02:19:08Z | 2019-07-24T02:19:08Z | CONTRIBUTOR | In light of the recent activity with However, the other main problem was that coordinates did not work with Also, cc @keewis, since I saw in #2956 you have a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
support for units 100295585 |
Advanced export
JSON shape: default, array, newline-delimited, object
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]);
issue >30