#!/usr/local/grads/bin/gradshdf -lc ** Example script to demonstrate draw_grid ** Written by Lucas Harris (Lucas.Harris@noaa.gov) 5may11 ** Information about this script is available at ** www.gfdl.noaa.gov/cms-filesystem-action/lucas-harris-grads ** This line defines a new gray color for the grid. 'set rgb 16 200 200 200' **This file, along with the grid_spec files needed to create the *.out files below, is in a tarball at http://www.gfdl.noaa.gov/cms-filesystem-action/user_files/lmh/grads/hs-test.tar.gz 'sdfopen HS_c48_2g-unrot-up6.avg.nc' **Uncomment the following line, and the 'print' and 'disable print' commands ** at the bottom of the file, if you wish to create an output metafile. **'enable print HS-test.meta' **First (and only) time in file 'set t 1' **These set various nice options---see GrADS documentation 'set grid on' 'set grads off' 'set mpdraw off' 'set cint 4' 'd ps/100' 'draw title c48 nested grid' **Uncomment the following line to draw a label, if you have the draw_label script **'run draw_label (a) surface `3w' **The *.out files are created from the grid_spec*.nc files in the above tarball, using the script ** https://www.gfdl.noaa.gov/cms-filesystem-action/user_files/lmh/grads/grid-rip.sh 'draw_grid c48x48.tile1.out 16' 'draw_grid c48x48.tile2.out 16' 'draw_grid c48x48.tile3.out 16' 'draw_grid c48x48.tile4.out 16' 'draw_grid c48x48.tile5.out 16' 'draw_grid c48x48.tile6.out 16' 'draw_grid c48x48_g2.out 16' **'print' **'disable print'