diff --git a/test/utests.py b/test/utests.py index 8946740..1f7de4c 100644 --- a/test/utests.py +++ b/test/utests.py @@ -13,8 +13,8 @@ from wrf import (getvar, interplevel, interpline, vertcross, vinterp, extract_global_attrs, viewitems, CoordPair, ll_points) from wrf.util import is_multi_file -NCL_EXE = "/Users/ladwig/miniconda3/envs/ncl_build/bin/ncl" -NCARG_ROOT = "/Users/ladwig/miniconda3/envs/ncl_build" +NCL_EXE = "ncl" +NCARG_ROOT = os.environ["CONDA_PREFIX"] DIRS = ["/Users/ladwig/Documents/wrf_files/wrf_vortex_multi/moving_nest", "/Users/ladwig/Documents/wrf_files/wrf_vortex_multi/static_nest"] PATTERN = "wrfout_d02_*" diff --git a/testenv2.yml b/testenv2.yml new file mode 100644 index 0000000..a3ef85c --- /dev/null +++ b/testenv2.yml @@ -0,0 +1,22 @@ +# Create full conda environment for development, including some useful tools +name: testenv2 +channels: + - conda-forge +dependencies: + - python=2 + - wrapt + - numpy + - matplotlib + - netcdf4 + - xarray + - jupyter + - sphinx + - sphinx_rtd_theme + - pycodestyle + - cartopy + - basemap + - clang_osx-64 + - gfortran_osx-64 + - pynio + - ncl + \ No newline at end of file diff --git a/testenv3.yml b/testenv3.yml new file mode 100644 index 0000000..356bd53 --- /dev/null +++ b/testenv3.yml @@ -0,0 +1,22 @@ +# Create full conda environment for development, including some useful tools +name: testenv3 +channels: + - conda-forge +dependencies: + - python=3 + - wrapt + - numpy + - matplotlib + - netcdf4 + - xarray + - jupyter + - sphinx + - sphinx_rtd_theme + - pycodestyle + - cartopy + - basemap + - clang_osx-64 + - gfortran_osx-64 + - pynio + - ncl + \ No newline at end of file