issue_comments
10 rows where author_association = "MEMBER" and issue = 312203596 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Anyone working on a to_tiff? Alternatively, how do you write an xarray to a geotiff? · 10 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
1093555182 | https://github.com/pydata/xarray/issues/2042#issuecomment-1093555182 | https://api.github.com/repos/pydata/xarray/issues/2042 | IC_kwDOAMm_X85BLlPu | dcherian 2448579 | 2022-04-09T01:19:10Z | 2022-04-09T01:19:10Z | MEMBER | I think rioxarray is now the recommended solution. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Anyone working on a to_tiff? Alternatively, how do you write an xarray to a geotiff? 312203596 | |
385501221 | https://github.com/pydata/xarray/issues/2042#issuecomment-385501221 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM4NTUwMTIyMQ== | mrocklin 306380 | 2018-04-30T19:20:04Z | 2018-04-30T19:20:04Z | MEMBER |
I'm aware. See this doc listed above for rasterio: https://rasterio.readthedocs.io/en/latest/topics/windowed-rw.html#writing Background here is that rasterio more-or-less wraps around GDAL, but with interfaces that are somewhat more idiomatic to this community.
We've run into these issues before as well. Typically we handle them with locks of various types. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Anyone working on a to_tiff? Alternatively, how do you write an xarray to a geotiff? 312203596 | |
385488636 | https://github.com/pydata/xarray/issues/2042#issuecomment-385488636 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM4NTQ4ODYzNg== | mrocklin 306380 | 2018-04-30T18:34:21Z | 2018-04-30T18:34:21Z | MEMBER | My first attempt would be to use this API: https://rasterio.readthedocs.io/en/latest/topics/windowed-rw.html#writing |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Anyone working on a to_tiff? Alternatively, how do you write an xarray to a geotiff? 312203596 | |
385488169 | https://github.com/pydata/xarray/issues/2042#issuecomment-385488169 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM4NTQ4ODE2OQ== | mrocklin 306380 | 2018-04-30T18:32:44Z | 2018-04-30T18:32:44Z | MEMBER |
If you're able to expand on this that would be welcome.
My hope would be that rasterio/GDAL would handle the many-file-format issue for us if they support writing in chunks. I also lack experience here though. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Anyone working on a to_tiff? Alternatively, how do you write an xarray to a geotiff? 312203596 | |
385475461 | https://github.com/pydata/xarray/issues/2042#issuecomment-385475461 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM4NTQ3NTQ2MQ== | jhamman 2443309 | 2018-04-30T17:48:13Z | 2018-04-30T17:48:13Z | MEMBER | I agree, it would be nice to have the This is a bit outside my area of expertise but I imagine it will be useful to see a prototype, that perhaps only supports a few rasterio file formats, before diving into the xarray backends to implement this full bore. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Anyone working on a to_tiff? Alternatively, how do you write an xarray to a geotiff? 312203596 | |
385451826 | https://github.com/pydata/xarray/issues/2042#issuecomment-385451826 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM4NTQ1MTgyNg== | mrocklin 306380 | 2018-04-30T16:26:13Z | 2018-04-30T16:26:13Z | MEMBER | When writing https://github.com/pydata/xarray/issues/2093 I came across this issue and thought I'd weigh in. The GIS community seems like a fairly close neighbor to XArray's current community. Some API compatibility here might be a good to expand the community. I definitely agree that GeoTiff does not implement the full XArray model, but it might be useful to support the subset of datasets that do, just so that round-trip operations can occur. For example, it might be nice if the following worked: ```python dset = xr.open_rasterio(...) do modest modifications to destdset.to_rasterio(...) ``` My hope would be that the rasterio/GDAL data model would be consistent enough so that we could detect and err early if the dataset was not well-formed. |
{ "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Anyone working on a to_tiff? Alternatively, how do you write an xarray to a geotiff? 312203596 | |
379834837 | https://github.com/pydata/xarray/issues/2042#issuecomment-379834837 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM3OTgzNDgzNw== | rabernat 1197350 | 2018-04-09T17:43:11Z | 2018-04-09T17:43:11Z | MEMBER |
@ebo, we are very glad to hear your input about how you might use xarray together with geotiff data. The majority of xarray developers are coming from a netCDF background, so this is somewhat new territory for us. It sounds like you have a real need for the computational tools that xarray provides. Engaging the geotiff community could potentially be very advantageous for xarray, since it could bring lots of new users. On the other hand, there are already lots of powerful tools in the geotiff space, and we have limited resources (i.e. time), so we need to be a bit conservative. It would probably be useful to clarify how the decision making process works on things like this for open source projects. There is no xarray master plan that can provide a simple answer to your question of "what xarray is planning to do with tiffs". The main questions that have to be answered when deciding whether to add a big new feature are - Does this feature make sense within the "scope" of the project? (Can be difficult to answer--much discussion is usually required.) - Do the xarray developers have the time and expertise to implement and support such a feature? The first item, regarding "scope," is being addressed now via this discussion. What are the pros and cons of attempting to add the new feature? Different people will have different opinions. Let's hear them out. A key question, as identified by @fmaussion, is whether the geotiff data model is compatible enough with the xarray data model enough to provide a full-featured writeable backend. In other words, can I write any arbitrary xarray dataset to geotiff and then read it back, with no loss of information. If the answer is "no," then it will be hard to convince the xarray community that geotiff is a suitable candidate for a backend. If you feel strongly that we need the ability to not only directly read (as we can already with The second item (time) is a rather strong constraint: xarray is a volunteer effort. There are currently 369 open issues in xarray. Which ones should be the top priority? Will attempting to add a new feature lead to much more work down the line, in the form of unforeseen bugs? Ultimately, what happens in xarray is determined by the needs of the xarray developers themselves, who use xarray heavily in their daily science work. This may sound exclusive, but it is the opposite, because anyone can become an xarray developer. The reason we can read geotiffs today is because, one year ago, @fmaussion rolled up his sleeves and wrote the rasterio backend (#1260). That little number 1260 is a link to a merged pull request (aka "PR"). A PR is much more powerful than a feature request; it is an actual implementation of the feature someone wishes to see in xarray. Anyone is free to make a PR to xarray, although before doing so, it is good to discuss the possible new feature via the issue tracker, as described in the xarray contributing guide. As a full time programmer in a lab dealing with geospatial data, you yourself are already a prime candidate to implement your desired feature! 😉 As an example of how a new backend was incorporated into xarray, you can refer to #1905, in which @barronh implemented a backend for "pseudo-netCDF" a file format used by his research group. Skimming through that discussion will give you a good idea of some of the questions that arise in implementing new backend functionality. Apologies for the long digression into open-source politics. I thought it would be useful to clarify these things. |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Anyone working on a to_tiff? Alternatively, how do you write an xarray to a geotiff? 312203596 | |
379790588 | https://github.com/pydata/xarray/issues/2042#issuecomment-379790588 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM3OTc5MDU4OA== | rabernat 1197350 | 2018-04-09T15:22:25Z | 2018-04-09T15:22:25Z | MEMBER |
👍 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Anyone working on a to_tiff? Alternatively, how do you write an xarray to a geotiff? 312203596 | |
379651950 | https://github.com/pydata/xarray/issues/2042#issuecomment-379651950 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM3OTY1MTk1MA== | fmaussion 10050469 | 2018-04-09T06:49:16Z | 2018-04-09T06:49:16Z | MEMBER |
Yes sorry, I meant
I'm not saying it shouldn't exist, I'm just asking whether it should be in the xarray codebase or elsewhere. If you'd like to parse new attributes when opening the geotiff file this could be added easily. PRs are welcome! |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Anyone working on a to_tiff? Alternatively, how do you write an xarray to a geotiff? 312203596 | |
379572622 | https://github.com/pydata/xarray/issues/2042#issuecomment-379572622 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM3OTU3MjYyMg== | fmaussion 10050469 | 2018-04-08T18:45:40Z | 2018-04-08T18:45:40Z | MEMBER |
We have been adding new attributes like this recently (https://github.com/pydata/xarray/pull/1583 and https://github.com/pydata/xarray/pull/1740), so I don't see much trouble in adding a few more. Note that the rasterio object is available via the (undocumented) As for the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Anyone working on a to_tiff? Alternatively, how do you write an xarray to a geotiff? 312203596 |
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 5