1 / 1

Run_amnh.sh Shell script in ~/bin Arguments: date in yyyymmdd format

Run_amnh.sh Shell script in ~/bin Arguments: date in yyyymmdd format Number of days to process (integer). Irmos_amnh.sh Shell script in ~/bin Arguments: Startday ( yyyymmdd ) Previous day ( yyyymmdd ). ftp to disc2.nascom.nasa.gov

aulii
Télécharger la présentation

Run_amnh.sh Shell script in ~/bin Arguments: date in yyyymmdd format

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Run_amnh.sh Shell script in ~/bin Arguments: date in yyyymmdd format Number of days to process (integer) Irmos_amnh.sh Shell script in ~/bin Arguments: Startday (yyyymmdd) Previous day (yyyymmdd) • ftp to disc2.nascom.nasa.gov • retrieves previous half hour’s data in order to fill gaps in first image of the sequence from current day; • LOC=disc2.nascom.nasa.gov • DSTDIR = /san1/ngardine/ncep/$yyyy0/4day0 • PREVIMG = $DSTDIR/tif_04km/ncepIR04km_”$yyyy0$mm0$dd0”2300.tif • SRCDIR =/data/s4pa/TRMM_ANCILLARY/MERG/$yyyy0/$day0/ • Fill • outfile=/san1/ngardine/ncep/process.batecho ".reset_session" > $outfileecho "!path = expand_path('+/san1/ngardine/idl') + ':' + !path" >> $outfileecho "run_ncep, basedir = '$DSTDIR/'" >> $outfile • j_exract_ncep_4km# run_ncep just extracts data; # j_combine_ncep writes xml and pgm filesecho "j_combine_ncep_4km, indir='$DSTDIR/tiff_04km/', file_spec='*.tif', outdir='$DSTDIR/filled_04km/', startfile='$PREVIMG'" >> $outfileecho "exit" >> $outfile • despeck, write_tiff, write_neo/usr/local/bin/idl $outfile\ • ftp current day’s data • PREVIMG=$DSTDIR/tiff_04km/ncepIR04km_"$yyyy0$mm0$dd0"2330.tifSRCDIR=/data/s4pa/TRMM_ANCILLARY/MERG/$yyyy/$day/DSTDIR=/san1/ngardine/ncep/$yyyy/$daycd $DSTDIRlist1=`echo -e "open $LOC\nuser anonymous 11106@\nbin\ncd $SRCDIR\nls\nbye\n" | ftp -n | awk '/merg.*pixel.Z/ • Extract, fill, and project to apianus the day’s data • outfile=/san1/ngardine/ncep/process.batecho ".reset_session" > $outfileecho "!path = expand_path('+/san1/ngardine/idl') + ':' + !path" >> $outfileecho "run_ncep, basedir = '$DSTDIR/'" >> $outfileecho "j_combine_ncep_4km, indir='$DSTDIR/tiff_04km/', file_spec='*.tif', outdir='$DSTDIR/filled_04km/', startfile='$PREVIMG'" >> $outfileecho “ = '$DSTDIR'" >> $outfile • j_ncep_to_apian2echo "exit" >> $outfile/usr/local/bin/idl $outfile • #~/bin/fput.neo /san1/ngardine/ncep/$yyyy/$day/filled_04km

More Related