Most of the IDL functions under SeaDAS can be run in two ways:
To see if a SeaDAS function
is available in command mode, check the command mode listing in the SeaDAS
Main Menu under
SeaDAS commands and/or IDL statements can be submitted interactively either as individual commands or in ASCII script files. These script files may also be run non-interactively to process data and/or create output images.
In general, if you enter a command name on the SeaDAS command line without any arguments or keywords, then the main GUI window for that command will come up. However, if command-line arguments are given, the command will not create a GUI window.
SeaDAS> bl2map
SeaDAS> bl2map, 'L2_gac1.hdf', 'L1_map.hdf', [2,9], /ISOTROPIC, /MERCATOR
SeaDAS> @display.demo
% seadas display.demo
% seadas -b test.scr
% seadas -b test.scr >& test.log
There are currently examples of simple command mode scripts in files $SDSDEMO/*.demo and more complex examples in $SEADAS/examples. All the demos available in Utility->sddemo are written as SeaDAS command mode scripts and the scripts are also available in directory $SDSDEMO/*.demo. The individual commands being executed during the demos also print out for the user to view.
Command Mode scripts can contain any combination of SeaDAS and/or IDL commands. The command mode script is executed as any IDL batch file, and therefore only one line is executed at a time. This means that the batch file can only contain commands as you would enter them at the SeaDAS (or IDL) prompt. To avoid the annoyance of coding FOR or WHILE statements with continuation marks, it is recommended to put your coding in IDL procedures which are called from your IDL batch script.
| Curator: OceanColor Webmaster
Authorized by: gene carl feldman |
Privacy Policy and Important Notices
Updated: Thursday, 27-Mar-2008 19:37:19 EDT |
|