Description Usage Arguments Details Value
Plot a Meridional Overtuning Circulation image for a requested NetCDF CESM POP2 history file.
1 2 3 4 5 |
fname |
CHARACTER, input NetCDF file, with path included |
pdffile |
CHARACTER, output PDF file |
moc_ic |
INTEGER, index indicating one out of ["Eulerian Mean","Eddy-Induced (bolus)", "Submeso"] |
moc_itr |
INTEGER, index indicating one out of ["Global Ocean - Marginal Seas", "Atlantic Ocean + Mediterranean Sea + Labrador Sea + GIN Sea + Arctic Ocean + HudsonBay"] |
xlim |
x coordinate [latitude] limits |
ylim |
x coordinate [longitude] limits |
vlim |
variable limits. If NULL; limits are takem from dataset |
supcol |
vector of hexadecimal color names. NULL will take a divergence matlab-like palette |
nlevels |
ncolors+1 |
yscl |
1.E-05 default to convert original [cm] to [km] in depth vector |
pretty_by |
increment for colorbar ticks. NULL for automated pretty ones |
main |
main plot title |
xlab |
label for x axis |
ylab |
label for y axis |
it |
INTEGER, time index for multistep grids. NULL (default) get the mean values over all timesteps available in the netCDF file |
add_bath |
LOGICAL, whether to add bathymetry polygon |
bath_col |
CHARACTER, color code for bathymetry polygon |
use_contour |
LOGICAL, TRUE to use filled contours, FALSE for a gridded image |
get_summary |
LOGICAL, TRUE for an internal call to |
Plot an AMOC image and associated colorbar
A plot on an existing or new device is generated. The return value is 0, or a matrix with a summary of the requested MOC if get_summary=TRUE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.