Skip to content

Commit

Permalink
update script with geovista plot (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjlittle authored Apr 20, 2023
1 parent a2f04f1 commit a150262
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/transform__methods.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import geovista as gv
import iris
from iris.coord_systems import RotatedGeogCS
from iris.experimental.ugrid import PARSE_UGRID_ON_LOAD
Expand Down Expand Up @@ -33,3 +34,10 @@
)
plotter.add_axes()
plotter.show()

plotter = gv.GeoPlotter()
plotter.add_mesh(transform.mesh, cmap=cmap)
plotter.add_base_layer(texture=gv.natural_earth_hypsometric())
plotter.add_coastlines()
plotter.add_axes()
plotter.show()

0 comments on commit a150262

Please sign in to comment.