home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 389307297

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/2008#issuecomment-389307297 https://api.github.com/repos/pydata/xarray/issues/2008 389307297 MDEyOklzc3VlQ29tbWVudDM4OTMwNzI5Nw== 6628425 2018-05-15T20:44:56Z 2018-05-15T20:44:56Z MEMBER

I think this can be closed now that #1252 has been merged. Using @mcgibbon's example file the following now works using the master branch: ``` In [1]: import xarray as xr

In [2]: with xr.set_options(enable_cftimeindex=True): ...: ds = xr.open_dataset('noleap.nc') ...:

In [3]: ds.to_netcdf('noleap_new.nc')

In [4]: with xr.set_options(enable_cftimeindex=True): ...: ds2 = xr.open_dataset('noleap_new.nc') ...:

In [5]: xr.testing.assert_identical(ds, ds2) ```

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