| Step | What To Do | How To Do It | ||||||||||
| 1. | In an xterm window, create a MODISL1DB root directory (name it anything you like), and enter that directory: |
> mkdir modisl1db > cd modisl1db |
||||||||||
| 2. |
ftp the MODISL1DB tar files from the closest ftp mirror
into your new SeaDAS directory:
USA: samoa.gsfc.nasa.gov |
|
||||||||||
| 3. | Uncompress and extract all the SeaDAS tar files: |
|
||||||||||
| 4. | To conserve disk space, you may now want to delete the *.gz files: | > rm *.gz | ||||||||||
| 5. | Depending on your shell, add the following lines to your .cshrc, .tcshrc, or .bashrc file, where "PATH_TO_MODISL1DB" is the full directory path of your MODISL1DB directory (e.g. /home/zaphod/modisl1db): |
bash shells: csh/tcsh shells: |
||||||||||
| 6. | *source* the init file you just modified: |
> source ~/.bashrc (for bash shells) > source ~/.cshrc (for csh and some tcsh shells) > source ~/.tcshrc (for some tcsh shells) |
||||||||||
| 7. | The MODISL1DB installation is now complete and you can execute one of the 4 main wrapper scripts to process your data: |
> modis_L0_to_L1A_GEO.csh L0_PDS_file > modis_L1A_extract.csh -help > modis_L1A_to_GEO.csh L1A_file > modis_L1A_to_L1B.csh L1A_file GEO_file |
||||||||||
| 8. |
It is also recommended that you set up a weekly cronjob to download new
utcpole.dat and leapsec.dat files (modis_update_utcpole_leapsec.csh)
and a daily cronjob to check for new calibration LUTs (modis_update_luts.csh).
Remember to invoke a shell to run the scripts within cron in order to set the
MODISL1DB environment variables. Example crontab lines for csh shell installations:
|
> crontab -e |
| Curator: OceanColor Webmaster
Authorized by: gene carl feldman |
Privacy Policy and Important Notices
Updated: 20 March 2008 |
|