NhlFInitialize C C Create an application context. Set the app dir to the current C directory so the application looks for a resource file in the working C directory.
C C Call the routine 'gendat' to create the first array of contour C data.
Create a ScalarField data object and hand it the data created C by 'gendat'. Define the extent of the data coordinates as the whole C globe. C C Create a ContourPlot object, supplying the ScalarField object as data, C and setting the size of the viewport. C C Create a MapPlot object, setting the fill to draw over the main draw, C and masking out the oceans. C C Destroy the objects created, close the HLU library and exit.