issue_comments
10 rows where author_association = "MEMBER" and issue = 140063713 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- ENH: Optional Read-Only RasterIO backend · 10 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
211109010 | https://github.com/pydata/xarray/issues/790#issuecomment-211109010 | https://api.github.com/repos/pydata/xarray/issues/790 | MDEyOklzc3VlQ29tbWVudDIxMTEwOTAxMA== | jhamman 2443309 | 2016-04-17T20:34:31Z | 2016-04-17T20:34:31Z | MEMBER | Thanks for the comments @IamJeffG. I haven't had any time recently to mess around with this so I haven't made any progress since the original notebook.
Agreed. My notebook was just a quick example of how this could work and it would certainly benefit from some generalization when applying this as an xarray backend.
Interesting. Any chance that's available for public viewing?
I only want to expose the reader and the necessary metadata to use the georeferenced dataset. Warping and other projection transformations would need to be handled downstream. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
ENH: Optional Read-Only RasterIO backend 140063713 | |
198474766 | https://github.com/pydata/xarray/issues/790#issuecomment-198474766 | https://api.github.com/repos/pydata/xarray/issues/790 | MDEyOklzc3VlQ29tbWVudDE5ODQ3NDc2Ng== | jhamman 2443309 | 2016-03-18T18:04:52Z | 2016-03-18T18:04:52Z | MEMBER | @shoyer - that's what I was thinking too. In fact, that's more or less what I did in this example, although this is a eager implementation: https://anaconda.org/jhamman/rasterio_to_xarray/notebook |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
ENH: Optional Read-Only RasterIO backend 140063713 | |
198428399 | https://github.com/pydata/xarray/issues/790#issuecomment-198428399 | https://api.github.com/repos/pydata/xarray/issues/790 | MDEyOklzc3VlQ29tbWVudDE5ODQyODM5OQ== | shoyer 1217238 | 2016-03-18T16:04:40Z | 2016-03-18T16:04:40Z | MEMBER | Because each point can be computed separately, we could straightforwardly add latitude/longitude as lazily computed 2D arrays (under "coordinates"), similarly to how we currently handle on-the-fly data rescaling. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
ENH: Optional Read-Only RasterIO backend 140063713 | |
197939841 | https://github.com/pydata/xarray/issues/790#issuecomment-197939841 | https://api.github.com/repos/pydata/xarray/issues/790 | MDEyOklzc3VlQ29tbWVudDE5NzkzOTg0MQ== | jhamman 2443309 | 2016-03-17T15:44:48Z | 2016-03-17T15:44:48Z | MEMBER | As for 1) I'm open to having more discussion on decoding the coordinates. My contention here is that are useful, even in their unstructured format, since it permits visualization out of the box. I'll ping @perrygeo for more on this. 2) I don't really want to get into this because there isn't a standard treatment in geotiffs so it would, at best, be a guess on our end. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
ENH: Optional Read-Only RasterIO backend 140063713 | |
197601132 | https://github.com/pydata/xarray/issues/790#issuecomment-197601132 | https://api.github.com/repos/pydata/xarray/issues/790 | MDEyOklzc3VlQ29tbWVudDE5NzYwMTEzMg== | fmaussion 10050469 | 2016-03-16T23:22:10Z | 2016-03-16T23:22:10Z | MEMBER | Hi @jhamman , this is close to how I would've done it, but I am maybe not the most qualified (probably the gis specialists from rasterio would be more helpful). But still, a couple of remarks from my side:
- I wouldn't necessarily do the To your questions:
1. I agree that returning a dataset is a good idea. I don't know if |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
ENH: Optional Read-Only RasterIO backend 140063713 | |
197573068 | https://github.com/pydata/xarray/issues/790#issuecomment-197573068 | https://api.github.com/repos/pydata/xarray/issues/790 | MDEyOklzc3VlQ29tbWVudDE5NzU3MzA2OA== | jhamman 2443309 | 2016-03-16T22:05:34Z | 2016-03-16T22:05:34Z | MEMBER | @fmaussion - Here's an example of the basic functionality I'm thinking of implementing: https://anaconda.org/jhamman/rasterio_to_xarray/notebook A things to think about:
1. I've given each array the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
ENH: Optional Read-Only RasterIO backend 140063713 | |
196021945 | https://github.com/pydata/xarray/issues/790#issuecomment-196021945 | https://api.github.com/repos/pydata/xarray/issues/790 | MDEyOklzc3VlQ29tbWVudDE5NjAyMTk0NQ== | jhamman 2443309 | 2016-03-13T19:06:03Z | 2016-03-13T19:06:03Z | MEMBER | @fmaussion - As for (1), I like your idea of leaving out the projection of the coordinates. That certainly makes things easier from the perspective of the backend. A I'm not concerned about the GDAL dependency (3). I would love to see more robust conda support for GDAL but that's another issue. This would be an optional backend, similar to Pynio, which isn't broadly available on conda. We could sort out the CI issues. So, if we took the simplest approach for implementing a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
ENH: Optional Read-Only RasterIO backend 140063713 | |
195955210 | https://github.com/pydata/xarray/issues/790#issuecomment-195955210 | https://api.github.com/repos/pydata/xarray/issues/790 | MDEyOklzc3VlQ29tbWVudDE5NTk1NTIxMA== | fmaussion 10050469 | 2016-03-13T13:13:56Z | 2016-03-13T13:15:07Z | MEMBER | Hi @jhamman , I tend to agree with your doubts. I'll still comment on your cons: To (1): I also think that xarray should avoid opening the projection can of worms. But the minimum things that xarray could do with rasterio is to read corner coordinates, dx and dy and define the two coordinates "x" and "y" out of it, without taking care of whether these are meters, degrees of arc or whatever. As long at the other rasterio file attributes are available as attribute of the To (2): some geotiffs files also have more than one band. I don't know if these bands are named or have metadata, so maybe xarray will have to take decisions about these names too (most probably 1, 2, 3...). I'll add a (3): rasterio depends on GDAL, which is huge and every now and then causes trouble on conda. This might also cause troubles to the continuous integration of xarray Altogether this might be more complicated than worth it, but maybe the rasterio folks have interest in this and might provide more support. If the idea for xarray accessors is implemented (https://github.com/pydata/xarray/issues/706#issuecomment-169099306) this will allow more specific libraries like mine to do their own rasterio support at low cost. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
ENH: Optional Read-Only RasterIO backend 140063713 | |
195676319 | https://github.com/pydata/xarray/issues/790#issuecomment-195676319 | https://api.github.com/repos/pydata/xarray/issues/790 | MDEyOklzc3VlQ29tbWVudDE5NTY3NjMxOQ== | jhamman 2443309 | 2016-03-12T07:01:12Z | 2016-03-12T07:01:12Z | MEMBER | Thanks @fmaussion. This was a helpful illustration of how this could be done. The Pros:
- Rasterio supports a wide range of raster formats (e.g. GeoTiff, ArcInfo ASCII Grid, etc.)
- Combined with Cons:
- Would require |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
ENH: Optional Read-Only RasterIO backend 140063713 | |
195254611 | https://github.com/pydata/xarray/issues/790#issuecomment-195254611 | https://api.github.com/repos/pydata/xarray/issues/790 | MDEyOklzc3VlQ29tbWVudDE5NTI1NDYxMQ== | fmaussion 10050469 | 2016-03-11T08:25:04Z | 2016-03-11T08:25:04Z | MEMBER | :+1: Rasterio shines at reading georeferencing metadata out of any file, and I guess it would be no big deal to treat the various info as attributes in an xarray dataset. It is also possible to do lazy reading out of rasterio files. (example with a geotiff file: https://github.com/fmaussion/salem/blob/master/salem/datasets.py#L263) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
ENH: Optional Read-Only RasterIO backend 140063713 |
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]);
user 3