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

Example pages containing: tips | resources | functions/procedures

Transects

The calculation of a lat/lon transect involves the following steps:
  1. Determine the left and right points
  2. Calculate the great circle path between the points using gc_latlon
  3. Interpolate the input grid to the great circle using linint2_points

A simple example of drawing only a straight line and great circle path is availble. See the polyline Example 14

trans_1.ncl: Calculates and plots a transect and also plot the transect location on a separate plot.