Skip to content

Commit

Permalink
Created testing environments and updated utests.py to use NCL from conda
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Ladwig committed Apr 1, 2019
1 parent b293dca commit d1f40ce
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/utests.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
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_*"
Expand Down
22 changes: 22 additions & 0 deletions testenv2.yml
Original file line number Diff line number Diff line change
@@ -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

22 changes: 22 additions & 0 deletions testenv3.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d1f40ce

Please sign in to comment.