issues: 1196270877
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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1196270877 | I_kwDOAMm_X85HTaUd | 6453 | In a specific case, `decode_cf` adds encoding dtype that breaks `to_netcdf` | 3487237 | closed | 0 | 3 | 2022-04-07T16:09:14Z | 2022-04-18T15:29:19Z | 2022-04-18T15:29:19Z | NONE | What happened?Though the time variable in the two example datasets, What did you expect to happen?These situations should all work and save to netcdf. Minimal Complete Verifiable Example```Python import pandas as pd import xarray as xr tod = pd.Timestamp.today() locs = [tod.strftime('https://opendap.co-ops.nos.noaa.gov/thredds/dodsC/NOAA/CBOFS/MODELS/%Y/%m/%d/nos.cbofs.regulargrid.n001.%Y%m%d.t00z.nc'), tod.strftime('https://opendap.co-ops.nos.noaa.gov/thredds/dodsC/NOAA/CBOFS/MODELS/%Y/%m/%d/nos.cbofs.regulargrid.n002.%Y%m%d.t00z.nc')] THIS WORKS: using
|
{
"url": "https://api.github.com/repos/pydata/xarray/issues/6453/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
completed | 13221727 | issue |