home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 335827523

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/pull/1583#issuecomment-335827523 https://api.github.com/repos/pydata/xarray/issues/1583 335827523 MDEyOklzc3VlQ29tbWVudDMzNTgyNzUyMw== 4414299 2017-10-11T14:23:24Z 2017-10-11T14:23:24Z CONTRIBUTOR

I think I found a way to make the metadata parsing a bit more general and extendable. I implemented a more general parser for the ENVI case as a proof of concept.

Now if a recognized driver is detected, instead of parsing tags(band) for each band, it queries the metadata domain for the driver using riods.tags(ns=riods.driver) and then munges any known arrays into a numpy format. Later the resulting dictionary is slotted into either coordinates or attributes based on the values type. This should make it pretty easy to implement parsers for different file formats without caring about the partial parsing done by GDAL for the other tags() calls.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  259058863
Powered by Datasette · Queries took 0.58ms · About: xarray-datasette