home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 58679397

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
58679397 MDExOlB1bGxSZXF1ZXN0Mjk4NjMyMjU= 333 Unify netCDF4 and scipy backends in the public API 1217238 closed 0   799013 0 2015-02-24T01:20:01Z 2015-02-25T06:21:03Z 2015-02-25T06:21:01Z MEMBER   0 pydata/xarray/pulls/333

Fixes #273 and half of #272

To serialize a dataset to a string/bytes, simply use ds.to_netcdf(). This behavior copies DataFrame.to_csv() from pandas. The legacy dump and dumps methods are deprecated.

My main concern is that the default "format" option is depends on what dependencies the user has installed or if they are saving a file. That seems non-ideal, but may perhaps be the most pragmatic choice given the limitations of the netCDF4 format.

This change also adds: - Support for writing datasets to a particular NETCDF4 group - Support for opening netCDF3 files from disk even without netCDF4-python if scipy is installed.

CC @akleeman

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

Links from other tables

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