issues: 417666040
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
417666040 | MDU6SXNzdWU0MTc2NjYwNDA= | 2804 | Error when oppening netcdf file with open_mfdataset | 44284270 | closed | 0 | 3 | 2019-03-06T07:46:57Z | 2019-03-06T23:14:26Z | 2019-03-06T23:14:26Z | NONE | Code Sample, a copy-pastable example if possible
this is my error message ```python-traceback Traceback (most recent call last): File "", line 1, in <module> File "/Users/mada0007/anaconda3/envs/Research_ass/lib/python2.7/site-packages/xarray/backends/api.py", line 637, in open_mfdataset datasets = [open_(p, **open_kwargs) for p in paths] File "/Users/mada0007/anaconda3/envs/Research_ass/lib/python2.7/site-packages/xarray/backends/api.py", line 344, in open_dataset ds = maybe_decode_store(store) File "/Users/mada0007/anaconda3/envs/Research_ass/lib/python2.7/site-packages/xarray/backends/api.py", line 274, in maybe_decode_store drop_variables=drop_variables) File "/Users/mada0007/anaconda3/envs/Research_ass/lib/python2.7/site-packages/xarray/conventions.py", line 461, in decode_cf decode_coords, drop_variables=drop_variables) File "/Users/mada0007/anaconda3/envs/Research_ass/lib/python2.7/site-packages/xarray/conventions.py", line 394, in decode_cf_variables stack_char_dim=stack_char_dim) File "/Users/mada0007/anaconda3/envs/Research_ass/lib/python2.7/site-packages/xarray/conventions.py", line 300, in decode_cf_variable var = coder.decode(var, name=name) File "/Users/mada0007/anaconda3/envs/Research_ass/lib/python2.7/site-packages/xarray/coding/times.py", line 412, in decode dtype = _decode_cf_datetime_dtype(data, units, calendar) File "/Users/mada0007/anaconda3/envs/Research_ass/lib/python2.7/site-packages/xarray/coding/times.py", line 131, in _decode_cf_datetime_dtype raise ValueError(msg) ValueError: unable to decode time units u'days since 0001-01-01' with calendar u'days since 0001-01-01'. Try opening your dataset with decode_times=False. Full traceback: Traceback (most recent call last): File "/Users/mada0007/anaconda3/envs/Research_ass/lib/python2.7/site-packages/xarray/coding/times.py", line 122, in _decode_cf_datetime_dtype result = decode_cf_datetime(example_value, units, calendar) File "/Users/mada0007/anaconda3/envs/Research_ass/lib/python2.7/site-packages/xarray/coding/times.py", line 192, in decode_cf_datetime flat_num_dates.astype(np.float), units, calendar) File "/Users/mada0007/anaconda3/envs/Research_ass/lib/python2.7/site-packages/xarray/coding/times.py", line 92, in _decode_datetime_with_cftime only_use_cftime_datetimes=True)) File "cftime/_cftime.pyx", line 265, in cftime._cftime.num2date File "cftime/_cftime.pyx", line 730, in cftime._cftime.utime.init ValueError: calendar must be one of ['standard', 'gregorian', 'proleptic_gregorian', 'noleap', 'julian', 'all_leap', '365_day', '366_day', '360_day'], got 'days since 0001-01-01'``` Problem descriptiontrying to open this netcdf files which was writtend by me, code not working at all expecting ext Output of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2804/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |