diff --git a/Gallery/Scatter/NCL_scatter_10.py b/Gallery/Scatter/NCL_scatter_10.py index dfd13b8af..971d79efc 100644 --- a/Gallery/Scatter/NCL_scatter_10.py +++ b/Gallery/Scatter/NCL_scatter_10.py @@ -14,7 +14,6 @@ ############################################################################### # Import packages: -from unittest import load_tests import numpy as np import matplotlib.pyplot as plt import cartopy.crs as ccrs diff --git a/Gallery/Topography/NCL_topo_8.py b/Gallery/Topography/NCL_topo_8.py index 2549e2982..cca951515 100644 --- a/Gallery/Topography/NCL_topo_8.py +++ b/Gallery/Topography/NCL_topo_8.py @@ -37,17 +37,17 @@ # Open shapefile of US counties open(gdf.get("shape_files/countyl010g.dbf"), 'r') -open(gdf.get("shape_files/states.shp"), 'r') -open(gdf.get("shape_files/states.shx"), 'r') -open(gdf.get("shape_files/states.prj"), 'r') -shapefile_counties = shpreader.Reader(gdf.get("shape_files/countyl010g.dbf")) +open(gdf.get("shape_files/countyl010g.shp"), 'r') +open(gdf.get("shape_files/countyl010g.shx"), 'r') +open(gdf.get("shape_files/countyl010g.prj"), 'r') +shapefile_counties = shpreader.Reader(gdf.get("shape_files/countyl010g.shp")) # Open shapefile of all rivers. This data can be downloaded from `NOAA: `_ open(gdf.get("shape_files/rv16my07.dbf"), 'r') open(gdf.get("shape_files/rv16my07.shx"), 'r') open(gdf.get("shape_files/rv16my07.shp"), 'r') open(gdf.get("shape_files/rv16my07.prj"), 'r') -shapefile_rivers = shpreader.Reader(gdf.get("shape_files/rv16my07.dbf")) +shapefile_rivers = shpreader.Reader(gdf.get("shape_files/rv16my07.shp")) ############################################################################### # Plot: diff --git a/conda_environment.yml b/conda_environment.yml index 85969cb10..4fbf20e70 100644 --- a/conda_environment.yml +++ b/conda_environment.yml @@ -25,6 +25,7 @@ dependencies: - sphinx-design - sphinx-gallery - xarray + - dask - wrf-python - pip: - pre-commit