home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 406698807

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/2042#issuecomment-406698807 https://api.github.com/repos/pydata/xarray/issues/2042 406698807 MDEyOklzc3VlQ29tbWVudDQwNjY5ODgwNw== 601025 2018-07-20T19:05:12Z 2018-07-20T19:05:12Z NONE

On Jul 20 2018 12:57 PM, David Hoese wrote:

I'd like to add to this discussion the issue I brought up here #2288. It is something that could/should probably result in a new xarray add-on package for doing these type of operations. For example, I work on the pyresample and satpy projects. Pyresample uses its own "AreaDefinition" objects to define the geolocation/projection information. SatPy uses these AreaDefinitions by setting DataArray.attrs['area'] and using then when necessary. This includes the ability to write geotiffs using rasterio and a custom array-like class for writing dask chunks to the geotiff between separate threads (does not work multiprocess, yet).

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
}
  312203596
Powered by Datasette · Queries took 0.753ms · About: xarray-datasette