hainegroup / oceanspy

A Python package to facilitate ocean model data analysis and visualization.
https://oceanspy.readthedocs.io
MIT License
98 stars 32 forks source link

pytest fails on laptop #69

Closed ThomasHaine closed 5 years ago

ThomasHaine commented 5 years ago

I tried oceanspy on my laptop and hit many failures with pytest (see pytest.txt).

Setup environment: conda config --remove channels defaults conda config --add channels conda-forge conda install -y dask distributed bottleneck netCDF4 xarray cartopy esmpy ffmpeg pip install geopy xgcm xesmf xmitgcm pip install gsw git clone https://github.com/malmans2/oceanspy.git pip install -e oceanspy/ cd oceanspy pytest oceanspy

pytest.txt

malmans2 commented 5 years ago

I think most of the problems are due to this: #66 Can you please try this:

pip install xgcm==0.1.0

(check the terminal and make sure that xgcm v0.2 is uninstalled). Then run the tests again.

ThomasHaine commented 5 years ago

Yes, that mainly fixes it. Now there are just a few skips and warnings:

pytest.txt

Thanks!