#!/usr/bin/env tcsh

setenv datestr `date -u +%Y%m%d`
setenv THEMISDATA /disks/themisdata/
setenv MASTERDIR /disks/socware/thmsoc_production_test/idl/thmsoc/l2gen/mastercdfs/

/bin/cp $THEMISDATA/tha/l2/esa/0000/tha_l2_esa_00000000_v01.cdf $THEMISDATA/tha/l2/esa/0000/tha_l2_esa_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/tha_l2_esa_00000000_v01.cdf $THEMISDATA/tha/l2/esa/0000/tha_l2_esa_00000000_v01.cdf
/bin/cp $THEMISDATA/thb/l2/esa/0000/thb_l2_esa_00000000_v01.cdf $THEMISDATA/thb/l2/esa/0000/thb_l2_esa_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thb_l2_esa_00000000_v01.cdf $THEMISDATA/thb/l2/esa/0000/thb_l2_esa_00000000_v01.cdf
/bin/cp $THEMISDATA/thc/l2/esa/0000/thc_l2_esa_00000000_v01.cdf $THEMISDATA/thc/l2/esa/0000/thc_l2_esa_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thc_l2_esa_00000000_v01.cdf $THEMISDATA/thc/l2/esa/0000/thc_l2_esa_00000000_v01.cdf
/bin/cp $THEMISDATA/thd/l2/esa/0000/thd_l2_esa_00000000_v01.cdf $THEMISDATA/thd/l2/esa/0000/thd_l2_esa_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thd_l2_esa_00000000_v01.cdf $THEMISDATA/thd/l2/esa/0000/thd_l2_esa_00000000_v01.cdf
/bin/cp $THEMISDATA/the/l2/esa/0000/the_l2_esa_00000000_v01.cdf $THEMISDATA/the/l2/esa/0000/the_l2_esa_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/the_l2_esa_00000000_v01.cdf $THEMISDATA/the/l2/esa/0000/the_l2_esa_00000000_v01.cdf

/bin/cp $THEMISDATA/tha/l2/fbk/0000/tha_l2_fbk_00000000_v01.cdf $THEMISDATA/tha/l2/fbk/0000/tha_l2_fbk_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/tha_l2_fbk_00000000_v01.cdf $THEMISDATA/tha/l2/fbk/0000/tha_l2_fbk_00000000_v01.cdf
/bin/cp $THEMISDATA/thb/l2/fbk/0000/thb_l2_fbk_00000000_v01.cdf $THEMISDATA/thb/l2/fbk/0000/thb_l2_fbk_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thb_l2_fbk_00000000_v01.cdf $THEMISDATA/thb/l2/fbk/0000/thb_l2_fbk_00000000_v01.cdf
/bin/cp $THEMISDATA/thc/l2/fbk/0000/thc_l2_fbk_00000000_v01.cdf $THEMISDATA/thc/l2/fbk/0000/thc_l2_fbk_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thc_l2_fbk_00000000_v01.cdf $THEMISDATA/thc/l2/fbk/0000/thc_l2_fbk_00000000_v01.cdf
/bin/cp $THEMISDATA/thd/l2/fbk/0000/thd_l2_fbk_00000000_v01.cdf $THEMISDATA/thd/l2/fbk/0000/thd_l2_fbk_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thd_l2_fbk_00000000_v01.cdf $THEMISDATA/thd/l2/fbk/0000/thd_l2_fbk_00000000_v01.cdf
/bin/cp $THEMISDATA/the/l2/fbk/0000/the_l2_fbk_00000000_v01.cdf $THEMISDATA/the/l2/fbk/0000/the_l2_fbk_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/the_l2_fbk_00000000_v01.cdf $THEMISDATA/the/l2/fbk/0000/the_l2_fbk_00000000_v01.cdf

/bin/cp $THEMISDATA/tha/l2/fgm/0000/tha_l2_fgm_00000000_v01.cdf $THEMISDATA/tha/l2/fgm/0000/tha_l2_fgm_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/tha_l2_fgm_00000000_v01.cdf $THEMISDATA/tha/l2/fgm/0000/tha_l2_fgm_00000000_v01.cdf
/bin/cp $THEMISDATA/thb/l2/fgm/0000/thb_l2_fgm_00000000_v01.cdf $THEMISDATA/thb/l2/fgm/0000/thb_l2_fgm_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thb_l2_fgm_00000000_v01.cdf $THEMISDATA/thb/l2/fgm/0000/thb_l2_fgm_00000000_v01.cdf
/bin/cp $THEMISDATA/thc/l2/fgm/0000/thc_l2_fgm_00000000_v01.cdf $THEMISDATA/thc/l2/fgm/0000/thc_l2_fgm_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thc_l2_fgm_00000000_v01.cdf $THEMISDATA/thc/l2/fgm/0000/thc_l2_fgm_00000000_v01.cdf
/bin/cp $THEMISDATA/thd/l2/fgm/0000/thd_l2_fgm_00000000_v01.cdf $THEMISDATA/thd/l2/fgm/0000/thd_l2_fgm_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thd_l2_fgm_00000000_v01.cdf $THEMISDATA/thd/l2/fgm/0000/thd_l2_fgm_00000000_v01.cdf
/bin/cp $THEMISDATA/the/l2/fgm/0000/the_l2_fgm_00000000_v01.cdf $THEMISDATA/the/l2/fgm/0000/the_l2_fgm_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/the_l2_fgm_00000000_v01.cdf $THEMISDATA/the/l2/fgm/0000/the_l2_fgm_00000000_v01.cdf

/bin/cp $THEMISDATA/tha/l2/fit/0000/tha_l2_fit_00000000_v01.cdf $THEMISDATA/tha/l2/fit/0000/tha_l2_fit_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/tha_l2_fit_00000000_v01.cdf $THEMISDATA/tha/l2/fit/0000/tha_l2_fit_00000000_v01.cdf
/bin/cp $THEMISDATA/thb/l2/fit/0000/thb_l2_fit_00000000_v01.cdf $THEMISDATA/thb/l2/fit/0000/thb_l2_fit_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thb_l2_fit_00000000_v01.cdf $THEMISDATA/thb/l2/fit/0000/thb_l2_fit_00000000_v01.cdf
/bin/cp $THEMISDATA/thc/l2/fit/0000/thc_l2_fit_00000000_v01.cdf $THEMISDATA/thc/l2/fit/0000/thc_l2_fit_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thc_l2_fit_00000000_v01.cdf $THEMISDATA/thc/l2/fit/0000/thc_l2_fit_00000000_v01.cdf
/bin/cp $THEMISDATA/thd/l2/fit/0000/thd_l2_fit_00000000_v01.cdf $THEMISDATA/thd/l2/fit/0000/thd_l2_fit_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thd_l2_fit_00000000_v01.cdf $THEMISDATA/thd/l2/fit/0000/thd_l2_fit_00000000_v01.cdf
/bin/cp $THEMISDATA/the/l2/fit/0000/the_l2_fit_00000000_v01.cdf $THEMISDATA/the/l2/fit/0000/the_l2_fit_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/the_l2_fit_00000000_v01.cdf $THEMISDATA/the/l2/fit/0000/the_l2_fit_00000000_v01.cdf

/bin/cp $THEMISDATA/tha/l2/mom/0000/tha_l2_mom_00000000_v01.cdf $THEMISDATA/tha/l2/mom/0000/tha_l2_mom_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/tha_l2_mom_00000000_v01.cdf $THEMISDATA/tha/l2/mom/0000/tha_l2_mom_00000000_v01.cdf
/bin/cp $THEMISDATA/thb/l2/mom/0000/thb_l2_mom_00000000_v01.cdf $THEMISDATA/thb/l2/mom/0000/thb_l2_mom_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thb_l2_mom_00000000_v01.cdf $THEMISDATA/thb/l2/mom/0000/thb_l2_mom_00000000_v01.cdf
/bin/cp $THEMISDATA/thc/l2/mom/0000/thc_l2_mom_00000000_v01.cdf $THEMISDATA/thc/l2/mom/0000/thc_l2_mom_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thc_l2_mom_00000000_v01.cdf $THEMISDATA/thc/l2/mom/0000/thc_l2_mom_00000000_v01.cdf
/bin/cp $THEMISDATA/thd/l2/mom/0000/thd_l2_mom_00000000_v01.cdf $THEMISDATA/thd/l2/mom/0000/thd_l2_mom_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thd_l2_mom_00000000_v01.cdf $THEMISDATA/thd/l2/mom/0000/thd_l2_mom_00000000_v01.cdf
/bin/cp $THEMISDATA/the/l2/mom/0000/the_l2_mom_00000000_v01.cdf $THEMISDATA/the/l2/mom/0000/the_l2_mom_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/the_l2_mom_00000000_v01.cdf $THEMISDATA/the/l2/mom/0000/the_l2_mom_00000000_v01.cdf

/bin/cp $THEMISDATA/tha/l2/sst/0000/tha_l2_sst_00000000_v01.cdf $THEMISDATA/tha/l2/sst/0000/tha_l2_sst_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/tha_l2_sst_00000000_v01.cdf $THEMISDATA/tha/l2/sst/0000/tha_l2_sst_00000000_v01.cdf
/bin/cp $THEMISDATA/thb/l2/sst/0000/thb_l2_sst_00000000_v01.cdf $THEMISDATA/thb/l2/sst/0000/thb_l2_sst_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thb_l2_sst_00000000_v01.cdf $THEMISDATA/thb/l2/sst/0000/thb_l2_sst_00000000_v01.cdf
/bin/cp $THEMISDATA/thc/l2/sst/0000/thc_l2_sst_00000000_v01.cdf $THEMISDATA/thc/l2/sst/0000/thc_l2_sst_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thc_l2_sst_00000000_v01.cdf $THEMISDATA/thc/l2/sst/0000/thc_l2_sst_00000000_v01.cdf
/bin/cp $THEMISDATA/thd/l2/sst/0000/thd_l2_sst_00000000_v01.cdf $THEMISDATA/thd/l2/sst/0000/thd_l2_sst_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/thd_l2_sst_00000000_v01.cdf $THEMISDATA/thd/l2/sst/0000/thd_l2_sst_00000000_v01.cdf
/bin/cp $THEMISDATA/the/l2/sst/0000/the_l2_sst_00000000_v01.cdf $THEMISDATA/the/l2/sst/0000/the_l2_sst_00000000_v01.cdf_$datestr
/bin/cp $MASTERDIR/the_l2_sst_00000000_v01.cdf $THEMISDATA/the/l2/sst/0000/the_l2_sst_00000000_v01.cdf
