issue_comments
23 rows where author_association = "NONE" and user = 601025 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: issue_url, reactions, created_at (date), updated_at (date)
user 1
- ebo · 23 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
1093630278 | https://github.com/pydata/xarray/issues/2042#issuecomment-1093630278 | https://api.github.com/repos/pydata/xarray/issues/2042 | IC_kwDOAMm_X85BL3lG | ebo 601025 | 2022-04-09T03:14:41Z | 2022-04-09T03:14:41Z | NONE | Thanks for closing this dcherian, I had completely forgotten about it. |
{ "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 | |
457584997 | https://github.com/pydata/xarray/issues/2042#issuecomment-457584997 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDQ1NzU4NDk5Nw== | ebo 601025 | 2019-01-25T14:13:35Z | 2019-01-25T14:13:35Z | NONE | Here is an old chunk of code I wrote awhile back to do this. Please
note three things. There is the metadata attached to the file (I think
it was through "tags"), metadata attached to the metadata "meta"
variable, and some metadata that is attached on a per-band basis. It
can be problematic when you assume that the info is global to the image
and is embedded somehow (it took me weeks to figure some of this out). Hope this helps: ===================== def to_tiff(data, fname, template=None, **kwargs): import numpy as np
surfaces) import numpy as np data = np.expand_dims(data,axis=0) elif 3 != nbands: # nothing to do if it is already 3D print("Error: to_tiff can only currently deal with 2D and 3D data") return
QGIS stats = { 'STATISTICS_MINIMUM': np.nanmin(data[b]), 'STATISTICS_MAXIMUM': np.nanmax(data[b]), 'STATISTICS_MEAN': np.nanmean(data[b]), 'STATISTICS_STDDEV': np.nanstd(data[b])} out.update_tags(b+1,**stats) #print(" stats= %s"%str(stats))
On Jan 23 2019 1:29 PM, Guillaume Eynard-Bontemps wrote:
|
{ "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 | |
456499728 | https://github.com/pydata/xarray/issues/2042#issuecomment-456499728 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDQ1NjQ5OTcyOA== | ebo 601025 | 2019-01-22T18:01:36Z | 2019-01-22T18:01:36Z | NONE | I work with geotiff all the time. A separate to_tiff is not needed. On Jan 22 2019 7:05 AM, David Hoese wrote:
|
{ "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 | |
406698807 | https://github.com/pydata/xarray/issues/2042#issuecomment-406698807 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDQwNjY5ODgwNw== | ebo 601025 | 2018-07-20T19:05:12Z | 2018-07-20T19:05:12Z | NONE | On Jul 20 2018 12:57 PM, David Hoese wrote:
I would love to see these additions (or some recipies on how to do it as xarray stands). As a note, I figured out a rather simple way using with rasterio.open(...,'w',**profile) to effect the write. That might help in the short to medium term. I am also interested in looking at your Pyresample and well as something similar to the morphological operators (in this context specifically measure). Best of success! |
{ "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 | |
399514847 | https://github.com/pydata/xarray/issues/1323#issuecomment-399514847 | https://api.github.com/repos/pydata/xarray/issues/1323 | MDEyOklzc3VlQ29tbWVudDM5OTUxNDg0Nw== | ebo 601025 | 2018-06-22T17:12:59Z | 2018-06-22T17:12:59Z | NONE | On Jun 22 2018 10:10 AM, Scott wrote:
I have not built hooks into skimage. If you get that to work I would if you could share with me 8-) I'm not fully sure of how to make that work in production, but I would be glad to help test. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Image related methods 216621142 | |
398214607 | https://github.com/pydata/xarray/issues/2093#issuecomment-398214607 | https://api.github.com/repos/pydata/xarray/issues/2093 | MDEyOklzc3VlQ29tbWVudDM5ODIxNDYwNw== | ebo 601025 | 2018-06-18T22:24:18Z | 2018-06-18T22:24:18Z | NONE | On Jun 18 2018 4:03 PM, Fabien Maussion wrote:
ok. Maybe the overall chunking issue has been sorted. I will try to look into this and see what is working now related to this issue. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Default chunking in GeoTIFF images 318950038 | |
398183774 | https://github.com/pydata/xarray/issues/2093#issuecomment-398183774 | https://api.github.com/repos/pydata/xarray/issues/2093 | MDEyOklzc3VlQ29tbWVudDM5ODE4Mzc3NA== | ebo 601025 | 2018-06-18T20:24:53Z | 2018-06-18T20:24:53Z | NONE | one of the issues related to this has been closed. Has a default GeoTIFF chunk been implemented? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Default chunking in GeoTIFF images 318950038 | |
387058496 | https://github.com/pydata/xarray/issues/2093#issuecomment-387058496 | https://api.github.com/repos/pydata/xarray/issues/2093 | MDEyOklzc3VlQ29tbWVudDM4NzA1ODQ5Ng== | ebo 601025 | 2018-05-07T13:07:16Z | 2018-05-07T13:07:16Z | NONE | that would definitely work for me. On May 7 2018 6:43 AM, Zac Hatfield-Dodds wrote:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Default chunking in GeoTIFF images 318950038 | |
385532574 | https://github.com/pydata/xarray/issues/2042#issuecomment-385532574 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM4NTUzMjU3NA== | ebo 601025 | 2018-04-30T21:20:49Z | 2018-04-30T21:20:49Z | NONE | When I poked at this I could not figure out how to keep the internal cached states separate. That may have been because the processing loop was opening many different images, and not just one. I'm glad you found a way. |
{ "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 | |
385498531 | https://github.com/pydata/xarray/issues/2042#issuecomment-385498531 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM4NTQ5ODUzMQ== | ebo 601025 | 2018-04-30T19:09:41Z | 2018-04-30T19:09:41Z | NONE | @mrocklin gdal can read/write windows: ``` Read raster as arraysbanddataraster = raster.GetRasterBand(1) dataraster = banddataraster.ReadAsArray(xoff, yoff, xcount, ycount).astype(numpy.float) ``` from: https://pcjericks.github.io/py-gdalogr-cookbook/raster_layers.html Also see BandReadAsArray and BandWriteAsArray in http://gdal.org/python/osgeo.gdal_array-module.html (which appear to be a read/write gdal.Band.ReadAsArray method and gdal.Band.WriteArray method respectively). But there are some got'yas there in that GDAL as far as I recall is not thread safe. I wonder how you got that to work other than setting up a slave read process that handles all reads. |
{ "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 | |
385496306 | https://github.com/pydata/xarray/issues/2042#issuecomment-385496306 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM4NTQ5NjMwNg== | ebo 601025 | 2018-04-30T19:01:29Z | 2018-04-30T19:01:29Z | NONE | @mrocklin it was the windowed-rw example that prompted a number of my early questions about dask.array and xarray equivalents. Maybe someting along the lines of the following would also be helpful: |
{ "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 | |
385492564 | https://github.com/pydata/xarray/issues/2042#issuecomment-385492564 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM4NTQ5MjU2NA== | ebo 601025 | 2018-04-30T18:48:16Z | 2018-04-30T18:48:16Z | NONE | So far as I have run into open_rasterio takes care of most things out of the box. Besides how to deal with chunks, there is also how to deal with several types of metadata:
Whether xarray/open_rasterio uses the same interface or not, there will be a need to deal with file metadata and per-band metadata. |
{ "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 | |
385463527 | https://github.com/pydata/xarray/issues/2093#issuecomment-385463527 | https://api.github.com/repos/pydata/xarray/issues/2093 | MDEyOklzc3VlQ29tbWVudDM4NTQ2MzUyNw== | ebo 601025 | 2018-04-30T17:07:43Z | 2018-04-30T17:07:43Z | NONE | Most of the standard internal chunked (or what I believe to be called 'tiled' by the GIS community) is 256x256 (see: http://www.gdal.org/frmt_gtiff.html TILED=YES BLOCKXSIZE=n and BLOCKYSIZE=n). This is used when viewing images within a given region of interest or window. You can really tell the difference in speed between the tiled and stripped images (which has a blocksize 1x<width>). @mrocklin, I agree that we might want to aggregate some number of them, but we would need to get some automation up front and sort out how we want to determine the expansion. Adding to the #1440 discussion mentioned, there will likely be advantage in increasing the block sizes in given directions. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Default chunking in GeoTIFF images 318950038 | |
383359925 | https://github.com/pydata/xarray/issues/2065#issuecomment-383359925 | https://api.github.com/repos/pydata/xarray/issues/2065 | MDEyOklzc3VlQ29tbWVudDM4MzM1OTkyNQ== | ebo 601025 | 2018-04-22T06:54:10Z | 2018-04-22T06:54:10Z | NONE | On Apr 21 2018 10:17 PM, Keisuke Fujii wrote:
Before I left work for the weekend I had tried array.stack(z=('x', 'y')), but I had not come across reset_index yet. I will give that a try ASAP. EBo -- |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
how do you flatten an xarray? 315149637 | |
382082786 | https://github.com/pydata/xarray/issues/2065#issuecomment-382082786 | https://api.github.com/repos/pydata/xarray/issues/2065 | MDEyOklzc3VlQ29tbWVudDM4MjA4Mjc4Ng== | ebo 601025 | 2018-04-17T17:49:54Z | 2018-04-17T17:49:54Z | NONE | Thank you rabernat . I just tried: ``` array.stack(z=('x', 'y')) X
Do you have any suggestions? I will read up more on stack later to see what else I can learn, but do you have any suggestions? I figure I probably am missing an argument or got something out of order. Thanks again. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
how do you flatten an xarray? 315149637 | |
379850842 | https://github.com/pydata/xarray/issues/2042#issuecomment-379850842 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM3OTg1MDg0Mg== | ebo 601025 | 2018-04-09T18:35:19Z | 2018-04-09T18:35:19Z | NONE | On Apr 9 2018 11:43 AM, Ryan Abernathey wrote:
No need to apologize about a long digression into open-source politics, and I fully understand and smack in the middle of that with at least 4 different projects. I also know about issue/commit numbers on github/bitbucket/redmine/etc. NASA has formal rules about what can be released and when. My last open-source project took 9 months to get the software release authorized, but that was for an entire project new code. For basic image I/O support I would not expect any problems, but I have to get permission before releasing anything beyond snippets and examples that do not include primary workflows. I will release as much as I can back in the the public domain, but this starts to get complicated as the scope grows. I do not remember seeing anyone use the acronym PR for "pull request" before, so sorry for that confusion. I just could not guess it in the context. The argument for providing basic functionality for GeoTIFF's and geotiffs, is that it is a common dataset used along side NetCDF and HDF. I can, if you need me to, try to track down a stack of sites which provide images in GeoTIFF's such as NASA's Giovanni, Digital Globe, Planet Labs, just to name a couple off the top of my head. How many folks here work in and around GIS folks? I will have to post back later (probably to several separate issues) to address several of the pointers raised above, but I have to get on to fleshing some of this out. |
{ "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 | |
379823407 | https://github.com/pydata/xarray/issues/2042#issuecomment-379823407 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM3OTgyMzQwNw== | ebo 601025 | 2018-04-09T17:04:40Z | 2018-04-09T17:04:40Z | NONE | On Apr 9 2018 12:49 AM, Fabien Maussion wrote:
ah... got it.
fair enough. I just need them to play well enough together that I can read, process, and write a chunk/window at a time (whether that is with a simple xr.compute() or something else).
what is a PR? Did you mean functionality request? I'm still not clear where dask.array, xarray, rasterio, and pangeo begin and end. I think I have posted an issue about extending the metatdata/tags some place, but I am sure it is not as clear as it should be, and for the life of me I am not sure where I posted that. |
{ "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 | |
379815753 | https://github.com/pydata/xarray/issues/2042#issuecomment-379815753 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM3OTgxNTc1Mw== | ebo 601025 | 2018-04-09T16:39:28Z | 2018-04-09T16:39:28Z | NONE | On Apr 9 2018 9:22 AM, Ryan Abernathey wrote:
I am perfectly fine with that stance, but I also think it is also
reasonable to ask/expect that if you provide a reader for some format
that you also provide writers for them -- or at least document that you
will not and why. Almost all of my current work is in geotiff format. I really need to know what xarray can and is planning to do with tiff's so that I can not only use them but also document stuff for a dozen or more of my coworkers (heck the next time we run the Python Bootcamp I would probably offer to teach this). If you plan not to support it then fine. I will not spend any more time with xarrays and focus on dask.arrays or anything else that will work. My question to you now is if supporting basic tiff I/O is in scope. If so I can deal with all the rest of the rasterio/geospatial stuff outside of xarray. I will start fleshing out the stuff that Matthew Rocklin and Schlump have provided. |
{ "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 | |
379593639 | https://github.com/pydata/xarray/issues/2042#issuecomment-379593639 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM3OTU5MzYzOQ== | ebo 601025 | 2018-04-09T00:03:49Z | 2018-04-09T00:03:49Z | NONE | On Apr 8 2018 11:54 AM, Schlump wrote:
Ahhh... Now I understand Fabien Maussion'd comment about to_rasterio. EBo -- |
{ "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 | |
379593118 | https://github.com/pydata/xarray/issues/2042#issuecomment-379593118 | https://api.github.com/repos/pydata/xarray/issues/2042 | MDEyOklzc3VlQ29tbWVudDM3OTU5MzExOA== | ebo 601025 | 2018-04-08T23:57:20Z | 2018-04-08T23:57:20Z | NONE | On Apr 8 2018 12:45 PM, Fabien Maussion wrote:
I do not care about 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 | |
373821913 | https://github.com/pydata/xarray/issues/1323#issuecomment-373821913 | https://api.github.com/repos/pydata/xarray/issues/1323 | MDEyOklzc3VlQ29tbWVudDM3MzgyMTkxMw== | ebo 601025 | 2018-03-16T19:33:01Z | 2018-03-16T19:33:01Z | NONE | thank you. I had stumbled onto the "tags" yesterday and had not had time to post back here that I had found it, and sorted through all the tags(), tags(1), and tags(ns="something"). The thing that was quite confusing was you access them in GDAL via GetMetadata, and not GetTags. So, I think I am sorted now. I would agree that there needs to be more info there, but it is possible that it is already available, but not in a single place. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Image related methods 216621142 | |
372980129 | https://github.com/pydata/xarray/issues/1970#issuecomment-372980129 | https://api.github.com/repos/pydata/xarray/issues/1970 | MDEyOklzc3VlQ29tbWVudDM3Mjk4MDEyOQ== | ebo 601025 | 2018-03-14T10:51:36Z | 2018-03-14T10:51:36Z | NONE | Not sure what would be involved, but I am consistently having to roll my own (typically with GDAL post processing) to save to GeoTIFF's. On thing missing from the reads so far is that the attributes only read the standard metadata and not that user defined. In particular if I use DG WV02 imagery, I have not yet figured out how to access the sun - satellite geomerty. Even having a first pass for xarray.to_geotiff would be helpful. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
API Design for Xarray Backends 302806158 | |
372482940 | https://github.com/pydata/xarray/issues/1323#issuecomment-372482940 | https://api.github.com/repos/pydata/xarray/issues/1323 | MDEyOklzc3VlQ29tbWVudDM3MjQ4Mjk0MA== | ebo 601025 | 2018-03-12T22:24:27Z | 2018-03-12T22:24:27Z | NONE | When I open up a tiff file, it only shows a few attributes. I have some images which have extensive provenance metadata. How do you access them? eg: NITF_CSEXRA_SENSOR=PAN NITF_PIAIMC_SENSNAME=QB02 ... |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Image related methods 216621142 |
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 5