kthyng / tracpy

Fortran core of Tracmass + Python wrapping around the outside.
MIT License
28 stars 19 forks source link

Fix tests #8

Closed dcherian closed 5 years ago

dcherian commented 9 years ago

Got py.test to work with the following two changes: 1) Change starting date in test_tracpy_class.py so that there's no IndexError 2) Had to convert the .nc file to netCDF4-classic and make ocean_time an unlimited dimension so that netCDF4.MFDataset does not complain.

FYI, I got py.test to work nosetests doesn't run.

kthyng commented 9 years ago

I made a change to tracpy/inout.py that should address your #2, and I haven't had a problem with your #1. Let me know if this isn't the case.