Some Sample Programs Using the I/O API

Here are three sample programs to show normal usage of the I/O API. These programs were designed to show some typical uses in a meaningful fashion (i.e., the programs really do compute something useful). These programs also use a number of the utility and coordinate transformation routines. Along with these programs, a number of I/O API data manipulation programs are also distributed, in the m3tools subdirectory of the release;m they are documented here in the I/O API User Manual. These sample programs are: Executables for these programs are available for each supported workstation architecture in the directories /env/proj/(SunOS5 | IRIX5 | alphaOSF1)/bin. Before you run the programs, you need to assign logical names to the physical file names of output files and the GRIDDESC file according to Models-3 conventions, using the operation
        "setenv <lname> <pname>"
    
The programs will prompt you for the logical names you have chosen for the input files, and then for the run specifications (in these cases, mainly for the specifications of grid and coordinate system to be used. The prompts will have default responses indicated in square brackets [LIKE THIS] which can be accepted by hitting <RETURN>.

To build the programs:


next: NCDUMP

Up: Related Programs

To: Models-3/EDSS I/O API: The Help Pages