home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 576848923

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/3711#issuecomment-576848923 https://api.github.com/repos/pydata/xarray/issues/3711 576848923 MDEyOklzc3VlQ29tbWVudDU3Njg0ODkyMw== 1191149 2020-01-21T19:46:14Z 2020-01-21T19:46:14Z CONTRIBUTOR

I want to make sure I understand the genesis of the error. My guess is that if you added a print(k) statement, you'd see that this is failing on the VGLVLS attribute. Is that right?

If so, I'm guessing the error is that VGLVLS is not a scalar. NetCDF files and uamiv files may have attributes with values. This is the case for VGLVLS in the IOAPI format, which uamiv is made to emulate.

As a result, compatible is an array not a scalar. A simple solution would be to wrap compatible in a call to all.

Can you confirm which attribute this is failing on and what the value of compatible is when it fails?

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