#!/bin/bash # Set up CSPP export CSPP_HOME=/scratch/viirs/SMHI/CSPP source $CSPP_HOME/cspp_env.sh # Update LUTs mirror_jpss_luts.bash # Run test case lftp -c pget ftp://ftp.ssec.wisc.edu/pub/gumley/smhi/RNSCA-RVIRS_npp_d20121218_t1009198_e1023428_b00001_c20121218102637098000_nfts_drl.h5 mkdir test (cd test; viirs_sdr.sh ../RNSCA-RVIRS_npp_d20121218_t1009198_e1023428_b00001_c20121218102637098000_nfts_drl.h5) # Make quicklooks images (cd test; ../viirs_quicklook.bash 15 SVM15*.h5) (cd test; ql_viirs_sdr.sh SVM15*.h5) # Get SVM15 reference data mkdir reference (cd reference; lftp -c mget ftp://ftp.ssec.wisc.edu/pub/gumley/smhi/SVM15\*.h5) # Compare the SVM15 files ./viirs_sdr_compare.bash reference/ test/