mcgibbon / sympl

A toolkit for building planetary/Earth system models in Python
http://sympl.readthedocs.io
Other
50 stars 14 forks source link

Time tests fail with netcdftime attribute errors #23

Closed nick-weber closed 6 years ago

nick-weber commented 6 years ago

Most tests in test_time.py will fail with messages like: AttributeError: module 'netcdftime' has no attribute 'DatetimeNoLeap' because I am using the netcdftime package that comes with netcdf4, which is not the one you want Sympl to use.

mcgibbon commented 6 years ago

Thanks :P I'll have to add in some kind of way of checking whether the netcdftime package installed is the correct version, and if not then disabling its functionality.

mcgibbon commented 6 years ago

Closed by #26 .