NCL Home> Application examples> Models || Data files for some examples

Example pages containing: tidbits | resources | functions/procedures

ROMS

WARNING: The ROMS data set is NOT on a native grid even though the data file contains info on how to plot it on a lambert conformal projection. The data still needs to be transformed to that projection. This is the default behavior of the plot templates.

These plots use the high resolution GMT coastline. This coastline does not bundled with NCL, but can be downloaded.

roms_1.ncl: Basic color plot of the data w/o any changes to the projection.

ROMS data has 2D lat/lon coordinate info. We plot this differently than data with 1D coordinates. You need to set:

       lat2d     = f->lat-array
       lon2d     = f->lon_array
       t@lon2d   = lon2d
       t@lat2d   = lat2d
     
Where the the lat/lon arrays are particular to the variable, e.g. lat_rho

The three pieces of information that are required for a lambert conformal projection are: mpLambertParallel1F, mpLambertParallel2F, and mpLambertMeridianF

In order to zoom in on the Gulf of Alaska, we need to have the lower left and upper right corners of the grid. In our sample file this data was conveniently provided.
mpLeftCornerLatF, mpLeftCornerLonF, mpRightCornerLatF, and mpRightCornerLonF
roms_2.ncl: Changes the values of the corners provided by the model to zoom in just slightly.