home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 94966000

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
94966000 MDU6SXNzdWU5NDk2NjAwMA== 471 Read NetCDF files with multiple values in missing_value attribute 1050278 closed 0     5 2015-07-14T14:58:56Z 2015-07-22T21:33:41Z 2015-07-22T21:33:41Z CONTRIBUTOR      

For certain data, for example NEXRAD Level 2 data, the NetCDF Java library will set the missing_value attribute for multiple variables in the produced NetCDF to a vector containing multiple variables. Currently loading these files in xray raises a ValueError in the decode_cf_variable function.

Netcdf4-python returns a NumPy masked array with all values in the missing_value vector to np.ma.masked, xray may want to copy this model by replacing these elements with NaN. Another option is to raise an more appropriate error indicating that these files are not supported as vector missing_value attributes do not seem to meet a strict reading of section 2.5.1 of the CF conventions.

I can provide an example file if desired.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/471/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.702ms · About: xarray-datasette