NCL Website header
NCL Home> Application examples> Data sets || Data files for some examples

Example pages containing: tips | resources | functions/procedures

Station Data

Station data refers to datasets representing physical properties at observing stations located at non-gridded points in space.
station_1.ncl: Since the data you want to contour is represented by a 1D array with corresponding 1D lat/lon arrays, NCL will automatically use the triangular mesh capability to contour this data. You must set both the sfYArray and sfXArray resources to these lat/lon arrays respectively.

Since there are a lot of contour levels in this example, the cnLevelFlags resource is used to control which contour lines are actually drawn.

The data files for this example are pw.dat and stn_latlon.dat.

ESMF: example 21 demonstrates regridding randomly located station values to a rectilinear grid.

station_2.ncl: This example shows how to plot values at station locations using different colors and marker sizes for each station point. The station values are grouped depending on which range of values they fall in, and then every marker in this group gets the same color and size.

Two plots are created: one with a legend at the bottom, using calls to gsn_polymarker and gsn_text_ndc, and one with a labelbar at the bottom, using calls to calls to gsn_create_labelbar and gsn_add_annotation,

station_3.ncl: This example shows how to use gsn_add_text to add lots of strings to a map plot, and then how to determine which ones overlay other strings so you can remove them.

You can download the small istasyontablosu_son.txt data file for this example. Thanks to Ozan Mert Gokturk for providing the data file and the inspiration for this example.

station_4.ncl: This example shows how to plot all METAR reporting stations for a specified region.

This script takes general input from the "stations.txt" file available from the Research Applications Laboratory Weather Page at:

This script was written by Jonathan Vigh of Colorado State University. You must have NCL version 5.1.1 or later to run it.