Sample Data for TeraVision Tutorial
(AVHRR, GOES, METEOSAT, SeaWiFS)

Downloading TeraScan Sample Data

The following instructions explain how to download the TeraScan Sample Data to a TeraScan system and place it in the $DATADIR directory. Step 4 explains how to make links to the .view files in each of the $DATADIR/sampledata subdirectories so that the sample data is available to the TeraVision Data Library. The sample data is used in the TeraVision Tutorial of the TeraScan Training Guides.

Since $DATADIR is owned by root, you must be root to place the tar file in $DATADIR and untar it there.

1. As root, download the sampledata.tar file and save it to $DATADIR.

2. Change directories to $DATADIR:

$ cd $DATADIR

3. Extract the sampledata files from the tar file. Extraction will create a sampledata directory in $DATADIR with four subdirectories (AVHRR, GOES-8, METEOSAT, SeaWiFS):

# tar xvf sampledata.tar
# ls
  sampledata sampledata.tar
# cd sampledata
# ls
  
AVHRR GOES-8 METEOSAT SeaWiFS

4. Create TeraVision Data Library shelves for each subdirectory as follows:

# /bin/ln -s $DATADIR/sampledata/AVHRR/AVHRR.view $REFDATA/favorites/General/AVHRR

# /bin/ln -s $DATADIR/sampledata/GOES-8/GOES-8.view $REFDATA/favorites/General/GOES-8

# /bin/ln -s $DATADIR/sampledata/METEOSAT/METEOSAT.view $REFDATA/favorites/General/METEOSAT

# /bin/ln -s $DATADIR/sampledata/SeaWiFS/SeaWiFS.view $REFDATA/favorites/General/SeaWiFS

5. To verify that links have been made as intended:

# cd $REFDATA/favorites/General
# ls -al

You should see a link to each of the four .view files in the sampledata subdirectories (AVHRR.view, GOES.view, METEOSAT.view, and SeaWiFS.view).

6. Now when you run TeraVision as a TeraScan user or a TeraScan Admin user, you should see Public shelves to the sampledata directories.

7. When sample data installation is complete, go to $DATADIR and (as root) remove the sampledata.tar file:

# cd $DATADIR
# rm sampledata.tar