home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 315149637

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
315149637 MDU6SXNzdWUzMTUxNDk2Mzc= 2065 how do you flatten an xarray? 601025 closed 0     5 2018-04-17T17:01:35Z 2018-05-18T05:14:31Z 2018-05-18T05:14:31Z NONE      

I got a version of TomAugspurger's Spectral Clustering modified to work with GeoTIFFs http://localhost:8839/notebooks/geo-spectral-geotiff-da.ipynb, and I have been working to modify it to run using xarrays http://localhost:8839/notebooks/geo-spectral-geotiff-xa.ipynb.

I'm currently stuck on getting the xarray flattened/reduced. I keep getting errors similar to: "TypeError: 'axis' is an invalid keyword argument for this function" no matter what I have tried. I need to find some way to change the array into nbands x (1 x N). I have not been able to figure out how to do this via the examples or docs I've read.

Suggestions? Also if you have other suggestions on how to clean up either example let me know.

Also, these are using publicly available data and will be free to post some place if desired.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2065/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 5 rows from issue in issue_comments
Powered by Datasette · Queries took 0.717ms · About: xarray-datasette