Plot basin-specific data#

Plot the model variable for a spficic basin, here we use sea surface temperature in the Atlantic Ocean as an example.

plot pac sst
/home/docs/checkouts/readthedocs.org/user_builds/cgeniepy/envs/stable/lib/python3.12/site-packages/cgeniepy/model.py:58: UserWarning: No gemflag is provided, use default gemflags: [biogem]
  warnings.warn("No gemflag is provided, use default gemflags: [biogem]")

<cartopy.mpl.geocollection.GeoQuadMesh object at 0x7d6f327b15b0>

import cgeniepy

model = cgeniepy.sample_model()
sst = model.get_var('ocn_sur_temp').isel(time=-1)
## plot the sea surface temperature in the Atlantic Ocean only
sst.sel_modern_basin(['NAO','EAO','SAO']).plot(outline=True, colorbar=True)

Total running time of the script: (0 minutes 0.449 seconds)

Gallery generated by Sphinx-Gallery