#!/usr/bin/ksh # # ucla_flat2cdf_regen_test.ksh # # Test script to regenerate only CDF files when all other data products # were produced correctly. Written to regenerate the CDFs for particular # dates for the EPO sites that had empty CDFs due to the as yet unsolved # 'Could not open CDF' problem in write_data_to_cdf # # Author: L Philpott # Date: August 2011 # # Notes: See ucla_rmd2all.ksh by Tim Quinn, as this just attempts to call # one section of that to avoid reprocessing everything ## Set the environment variables # if [[ -z $THMSOC ]] then THMSOC=/disks/socware/thmsoc_dp_current export THMSOC fi . $THMSOC/src/config/soc_it_to_me.config . $THMSOC/src/config/ucla_rmd2all.config logfile=/home/thmsoc/lphilpotts_stuff/ucla_flat2cdf_regen_test_log.txt echo ":$$:ucla_flat2cdf_regen_test:" >> $logfile echo ":$$:ucla_flat2cdf_regen_test:Starting ucla_flat2cdf_regen_test at $(date)" >> $logfile gbo_or_epo=GPO finalfileroot=B10113_GBAY ucla_flat2cdf.ksh $finalfileroot $gbo_or_epo 1>> $logfile 2>/dev/null