home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 122776511

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
122776511 MDU6SXNzdWUxMjI3NzY1MTE= 681 to_netcdf on Python 3: "string" qualifier on attributes 2443309 closed 0     8 2015-12-17T16:56:59Z 2016-06-16T08:27:33Z 2016-03-01T21:49:36Z MEMBER      

I've had a number of people ask me about this and I think we can figure out a way to fix this. In python3, variabile attributes in files written with Dataset.to_netcdf end up with the "string" type qualifier shown below. This causes all sorts of problems with other netcdf programs. Is this related to https://github.com/Unidata/netcdf4-python/issues/485?

``` bash PRISM$ ncdump -h prism_historical_conus4k.189501-201510.nc netcdf prism_historical_conus4k.189501-201510 { dimensions: latitude = 621 ; longitude = 1405 ; time = 1450 ; variables: double latitude(latitude) ; double longitude(longitude) ; int64 time(time) ; string time:units = "days since 1895-01-01 00:00:00" ; string time:calendar = "proleptic_gregorian" ; float prcp(time, latitude, longitude) ; string prcp:units = "mm" ; string prcp:description = "precipitation " ; string prcp:long_name = "precipitation" ;

// global attributes: string :title = "PRISM: Parameter-elevation Regressions on Independent Slopes Model" ; } ```

cc @lizaclark

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/681/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
  • 8 rows from issue in issue_comments
Powered by Datasette · Queries took 0.62ms · About: xarray-datasette