Skip to content

Commit

Permalink
tests for builds (#416)
Browse files Browse the repository at this point in the history
* tests for builds

* Testing 11b

* Using overlay11a code for experiment wrt 'clipping' vs 'zorder'

* make it a function

* global cf

* global cf

* Take out cf variable from colorbar

* zorder experiment

* Removing unnecessary lines of code

* More fun with zorder

* Reactivate animations

* Pinned cartopy to 0.19.0

* Trying to see if we can conda list in RTD

* Revert today's trials

* Starting zorders from 0

* Adding fiona to environment

* Re-pin matplotlib versions because all plots need reformatting for new version

* Trying out cf again

* Remove prior colorbar in favor of cf verison

* Reverting zorder changes and removing unused calls from imports

* Missed one

Co-authored-by: erogluorhan <erogluorhan@gmail.com>
  • Loading branch information
michaelavs and erogluorhan committed Oct 15, 2021
1 parent 3821684 commit 032b34c
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
Binary file removed Plots/Animations/animate_1.gif
Binary file not shown.
3 changes: 0 additions & 3 deletions Plots/Meteograms/NCL_meteo_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@
# Create axis for contour/wind barb plot
ax1 = fig.add_subplot(spec[0, 0], projection=ccrs.PlateCarree())

# Add coastlines to first axis
ax1.coastlines(linewidths=0.5, alpha=-1)

# Set aspect ratio of the first axis
ax1.set_aspect(2)

Expand Down
2 changes: 1 addition & 1 deletion Plots/Overlays/NCL_overlay_11a.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

from matplotlib import pyplot as plt

from cartopy.feature import ShapelyFeature, OCEAN, LAKES, LAND
from cartopy.feature import ShapelyFeature, OCEAN, LAKES
from cartopy.crs import PlateCarree
from cartopy.io.shapereader import Reader as ShapeReader, natural_earth

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
from matplotlib import pyplot as plt
from matplotlib.patches import PathPatch

from cartopy.feature import ShapelyFeature, OCEAN, LAKES, LAND
from cartopy.feature import ShapelyFeature, OCEAN, LAKES
from cartopy.crs import PlateCarree
from cartopy.mpl.patch import geos_to_path
from cartopy.io.shapereader import Reader as ShapeReader, natural_earth
Expand Down
1 change: 1 addition & 0 deletions conda_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- cf_xarray>=0.3.1
- geocat-datafiles
- eofs
- fiona
- geocat-viz
- cartopy
- geographiclib
Expand Down

0 comments on commit 032b34c

Please sign in to comment.