lmcgibbn@LMC-056430 ~/Desktop $ pycovjson-viewer -h SSS_OI_7D_20151482015154_V40.nc
Error in sitecustomize; set PYTHONVERBOSE for traceback:
KeyError: 'PYTHONPATH'
usage: pycovjson-viewer [-h] [-v] inputfile
View Scientific Data files.
positional arguments:
inputfile Name of input file
optional arguments:
-h, --help show this help message and exit
-v, --variables, Display variables
lmcgibbn@LMC-056430 ~/Desktop $ pycovjson-viewer SSS_OI_7D_20151482015154_V40.nc
Error in sitecustomize; set PYTHONVERBOSE for traceback:
KeyError: 'PYTHONPATH'
Traceback (most recent call last):
File "/Users/lmcgibbn/miniconda3/lib/python3.6/site-packages/xarray/conventions.py", line 393, in __init__
result = decode_cf_datetime(example_value, units, calendar)
File "/Users/lmcgibbn/miniconda3/lib/python3.6/site-packages/xarray/conventions.py", line 144, in decode_cf_datetime
delta = _netcdf_to_numpy_timeunit(delta)
File "/Users/lmcgibbn/miniconda3/lib/python3.6/site-packages/xarray/conventions.py", line 86, in _netcdf_to_numpy_timeunit
'minutes': 'm', 'hours': 'h', 'days': 'D'}[units]
KeyError: 'julian days'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/lmcgibbn/miniconda3/bin/pycovjson-viewer", line 11, in <module>
load_entry_point('pycovjson==0.3.9', 'console_scripts', 'pycovjson-viewer')()
File "/Users/lmcgibbn/miniconda3/lib/python3.6/site-packages/pycovjson-0.3.9-py3.6.egg/pycovjson/cli/viewer.py", line 24, in main
File "/Users/lmcgibbn/miniconda3/lib/python3.6/site-packages/pycovjson-0.3.9-py3.6.egg/pycovjson/read_netcdf.py", line 14, in __init__
File "/Users/lmcgibbn/miniconda3/lib/python3.6/site-packages/xarray/backends/api.py", line 301, in open_dataset
return maybe_decode_store(store, lock)
File "/Users/lmcgibbn/miniconda3/lib/python3.6/site-packages/xarray/backends/api.py", line 225, in maybe_decode_store
drop_variables=drop_variables)
File "/Users/lmcgibbn/miniconda3/lib/python3.6/site-packages/xarray/conventions.py", line 955, in decode_cf
decode_coords, drop_variables=drop_variables)
File "/Users/lmcgibbn/miniconda3/lib/python3.6/site-packages/xarray/conventions.py", line 888, in decode_cf_variables
decode_times=decode_times)
File "/Users/lmcgibbn/miniconda3/lib/python3.6/site-packages/xarray/conventions.py", line 825, in decode_cf_variable
data = DecodedCFDatetimeArray(data, units, calendar)
File "/Users/lmcgibbn/miniconda3/lib/python3.6/site-packages/xarray/conventions.py", line 402, in __init__
raise ValueError(msg)
ValueError: unable to decode time units 'Julian days since December 31, 2010' with the default calendar. Try opening your dataset with decode_times=False.
The nc4 product can be found here