Copmuter Assignment #11
Assigned: 07 Apr 2004
Due: 16 Apr 2004
This assignment will introduce you to the use of variables in a csh script. Variables allow for a script to be more generic and able to perform tasks that are perfored frequently and have small variations from time to time.
Most of what is required for this assignment has been done before (CA#3). The new material is about how variables are declaired and used in a script. A working example , which produces graphics based on the ETA model is available as a guide with example output, are available to help guide you for this assignment.
Assignment:
Write a csh script that:
- ouputs one image (gif).
- In the left and right panels of the image will be plotted skew-T soundings for for any stations and for any time.
- Soundings will include winds, temperature and dewpoint and a title for what station is being plotted.
- The script must make use of six command-line arguments: Station IDs, Date of first sounding time, Hour of first sounding time, Date of second sounding time, Hour of second sounding time.
- The script will be tested on some other, arbitrary station/date/time/gempak_directory and it must work there as well. [i.e., you may not hard-code the date/time, etc., into the script, they must be accepted as command-line arguments]
E-mail a copy of your script to laufers@ou.edu and use "Computer Assignment 11" as your subject line.