Procedure for processing and checking AVIRIS Navigation file (.nav)

BJ Chippindale
21 August, 2000


1.   Pickup tape and Zip disk from shipping. Take Zip disk to AVIRIS lab in 311.  There is a Zip drive in the Mac in the back of the lab next to the Black Body.

2.   Turn on the Mac if it is not already running.

3.   Put the Zip disk into the Zip drive.

4.   Launch the FTP program "Fetch" on the Mac.

5.   Examine the zip contents.  You should see several files that resemble the following:
        f000816t01p01_r01.m3500
        f000816t01p02_r01.nav
        etc.

6.   Log into spectra with Fetch (under your own username) using the directory /s3/nav.

7.   If the Zip disk has all of the files in the top directory, use "edit -> select all" to select all of the files.  Otherwise select the appropriate directories.

8.   Make sure that you select Binary.

9.   Drag the files/directory over to spectra /s3/nav and Fetch will begin FTP'ing the selected files/directory.

10.  Quit out of Fetch.

11.  Close the Zip disk.

12.  Eject the Zip disk (drag the icon to the garbage can).

13.  Go to your own machine or use telnet from the Mac.

14.  Log into spectra.

15.  "cd /s3/nav"

16.  Make an appropriately named "raw" directory (look at the names that are already there).

17.  Move the data files into the raw directory that you have already created. (example:  "mv f0008* Raw16Aug").

18.  Change directory to the raw directory (example:  "cd Raw16Aug").

19.  Type "ksh" (your prompt will change to "$").

20.  Enter the following (the prompt changes at the end of line)

        $ for object in *.nav
        > do
        > /export/home/avdev/cfg_mgr/bin/solRead ${object}
        > done
(This would be easier if "/export/home/avdev/cfg_mgr/bin" were in your path. The you would just have to type "solRead ${object}."

        The result will be a series of outputs for each of the .nav files including the name of the .txt file created.

21.  Type "exit" (you need to be in the shell you are familiar with).

22.  Type "cd .." (Go back to the /s3/nav directory).

23.  Make a new text directory with an appropriate name (example:  "mkdir Txt16Aug").

24.  Move the .txt files to the text directory (example: "mv ./Raw16Aug/*.txt ./Txt16Aug).

25.  Change directory to the text directoy that you just created and examine the files using the "more" command. You probably should use a very wide window to see this.

26.  If the output on each line ends with the numbers "... 7 4 60b," the .nav should be perfect.

27.  Move the log file into the text directory (example: "mv E000816.log Txt16Aug/").

28.  If you used "select all" on the Mac, there will be an extra "50ways.exe" file in /s3/nav. You can delete it.



Back to AVIRIS Organization and Tasks