home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 335518624

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/1609#issuecomment-335518624 https://api.github.com/repos/pydata/xarray/issues/1609 335518624 MDEyOklzc3VlQ29tbWVudDMzNTUxODYyNA== 2443309 2017-10-10T15:50:09Z 2017-10-10T15:50:09Z MEMBER

@fmaussion - you bring up a good point. There are two scenarios here.

1) appending to a file with existing data variables 2) appending to a file with existing coordinate variables

I'm wondering if we should disallow 1, in favor of being more explicit. So:

```Python list_of_vars_to_append = ['var1', 'var2'] ds[list_of_vars_to_append].to_netcdf(filename, mode='a')

if either var1 or var2 are in filename, raise an error?

`` as apposed to the current behavior which would silently skip all vars already infilenameand not inlist_of_vars_to_append`.

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