Browse Source

Created testing environments and updated utests.py to use NCL from conda

lon0
Bill Ladwig 6 years ago
parent
commit
d1f40ced32
  1. 4
      test/utests.py
  2. 22
      testenv2.yml
  3. 22
      testenv3.yml

4
test/utests.py

@ -13,8 +13,8 @@ from wrf import (getvar, interplevel, interpline, vertcross, vinterp, @@ -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_*"

22
testenv2.yml

@ -0,0 +1,22 @@ @@ -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
testenv3.yml

@ -0,0 +1,22 @@ @@ -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
Loading…
Cancel
Save