Importing the Retrieval Results into Terascan

Now that the mass, optical depth and effective radius data file has been reformatted, it can be input into Terascan, and displayed as a map of each of the cloud properties. This is done in command line mode of Terascan.


The script convert is used to import the data. It must be in the following format (which is generated by the Retrieval Utility):

24803 3 (where 24803 is the number of data points, and 3 is the number of variables
19.9410 -92.3918 (latitude and longitude of 1st point)
130.774 0.500000 8.63270 (mass, effective radius, and optical depth of 1st point
19.9401 -92.3440 (as above)
130.774 0.500000 8.63270 (as above)
19.9262 -91.7227 (as above)
143.851 0.550000 9.95920 (as above)

This program accepts 3 parameters.

  1. name of ascii data file.
  2. a number reprsenting the search_radius that the terascan progam imgrid uses to for the gridding of the data.
  3. the number representing the weighted averageing power.

A typical syntax would be:
convert filename.tera 1 -1

Running this script produces a directory call /cdata and an executable file called create_tera

The next step is to type create_tera
This command looks for two things, a master file called Master and the /cdata directory.
It creates the new /tdata directory, and deletes the temporary files in the /cdata directory.
The new data files are ready to be displayed in Terascan.

This page maintained by Dave Schneider (