The following software must be installed on your system in order to install and use jawf-geotiff-generator:
To see if git is installed and what version your system has, enter:
$ git --version
Check that the CPC Perl5 Library is available via Perl's @INC
. For example, enter:
$ echo $PERL5LIB
To see which version of GrADS your system uses by default, enter:
$ grads -blc "quit"
NOTE: This application was developed and tested in a Linux environment (RHEL 6), and these instructions are intended for installation in a similar environment. If you want to try installing this in a different operating system, you will have to modify the instructions on your own.
These instructions assume that the jawf-geotiff-generator app will be installed in $HOME/apps
. If you install it in a different directory, modify these instructions accordingly.
-
Download jawf-geotiff-generator (this creates a directory called
jawf-geotiff-generator
):$ cd $HOME/apps
$ git clone https://github.com/noaa-nws-cpc/jawf-geotiff-generator.git
-
Add the environment variable
$JAWF_GEOTIFFS
to~/.profile_user
or whatever file you use to set up your profile:export REALTIME_ONI="${HOME}/apps/realtime-oni"
-
Set up the application, including initialization of the SST archive with the past 120 days of daily data:
$ cd $JAWF_GEOTIFFS
$ make install
Sample basic cron entry:
00 10 * * * $JAWF_GEOTIFFS/drivers/run-jawf-production.csh 1> $JAWF_GEOTIFFS/logs/run-jawf-production.csh 2>&1
Sample CPC operational cron entry:
00 10 * * * /situation/bin/flagrun.pl CPCOPS_RH6 '$JAWF_GEOTIFFS/drivers/run-jawf-production.csh 1> $JAWF_GEOTIFFS/logs/run-jawf-production.txt 2>&1'
Sample CPC operational cron entry with later attempt to get final data using keep-trying, and emailing a logfile to the app owner:
00 10 * * * /situation/bin/flagrun.pl CPCOPS_RH6 'keep-trying -i 60 -t 60 -e app.owner\@email.domain -s \"jawf-geotiff-generator production FAILED - Check attached logfile\" -l $JAWF_GEOTIFFS/logs/run-jawf-production.txt -- $JAWF_GEOTIFFS/drivers/run-jawf-production.csh'