#!/bin/bash
DATES=(01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31)
echo 'DATES' ${#DATES[@]}
MONTH=(01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03 03)
echo 'MONTH' ${#MONTH[@]}
YEAR=(2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015 2015)
echo 'YEAR' ${#YEAR[@]}
YY=(15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15)
echo 'YY' ${#YY[@]}
MONTHNAME=(January January January January January January January January January January January January January January January January January January January January January January January January January January January January January January January February February February February February February February February February February February February February February February February February February February February February February February February February February February February March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March)
echo 'MONTHNAME' ${#MONTHNAME[@]}
#done
for ((i = 70 ; i < ${#DATES[@]} ; i++)) ;
do
STRING=${YY[i]}${MONTH[i]}${DATES[i]}
STRING00=${STRING}00
STRING12=${STRING}12
echo $STRING
cd /Library/WebServer/Documents/ATTREX_CAST/met_html/gfs/
sed "s!Example!${MONTHNAME[i]} ${DATES[i]}, ${YEAR[i]}!" < ../example_gfs.html >tmp1
sed "s!ttrop0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/T_trop_${STRING}00.pdf!" <tmp1 >tmp2
sed "s!ttrop12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/T_trop_${STRING}12.pdf!" <tmp2 >tmp3
sed "s!t1000!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/T_press_100_${STRING}00.pdf!" <tmp3 >tmp4
sed "s!t10012!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/T_press_100_${STRING}12.pdf!" <tmp4 >tmp5
sed "s!t700!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/T_press_70_${STRING}00.pdf!" <tmp5 >tmp6
sed "s!t7012!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/T_press_70_${STRING}12.pdf!" <tmp6 >tmp7
sed "s!z92500!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/Z_press_925_${STRING}00.pdf!" <tmp7 >tmp155
sed "s!z92512!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/Z_press_925_${STRING}12.pdf!" <tmp155 >tmp156
sed "s!z85000!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/Z_press_850_${STRING}00.pdf!" <tmp156 >tmp157
sed "s!z85012!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/Z_press_850_${STRING}12.pdf!" <tmp157 >tmp158
sed "s!rh7000!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/RH_press_700_${STRING}00.pdf!" <tmp158 >tmp8
sed "s!rh70012!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/RH_press_700_${STRING}12.pdf!" <tmp8 >tmp9
sed "s!rh5000!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/RH_press_500_${STRING}00.pdf!" <tmp9 >tmp10
sed "s!rh50012!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/RH_press_500_${STRING}12.pdf!" <tmp10 >tmp11
sed "s!rh3000!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/RH_press_300_${STRING}00.pdf!" <tmp11 >tmp12
sed "s!rh30012!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/RH_press_300_${STRING}12.pdf!" <tmp12 >tmp13
sed "s!cl0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/CL_press_850_${STRING}00.pdf!" <tmp13 >tmp14
sed "s!cl12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/CL_press_850_${STRING}12.pdf!" <tmp14 >tmp15
sed "s!cm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/CM_press_500_${STRING}00.pdf!" <tmp15 >tmp16
sed "s!cm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/CM_press_500_${STRING}12.pdf!" <tmp16 >tmp17
sed "s!ch0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/CH_press_150_${STRING}00.pdf!" <tmp17 >tmp18
sed "s!ch12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/CH_press_150_${STRING}12.pdf!" <tmp18 >tmp19
sed "s!epv1500!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/EPV_press_150_${STRING}00.pdf!" <tmp19 >tmp20
sed "s!epv15012!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/EPV_press_150_${STRING}12.pdf!" <tmp20 >tmp21
sed "s!th3550!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/EPV_thet_355_${STRING}00.pdf!" <tmp21 >tmp28
sed "s!th35512!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/EPV_thet_355_${STRING}12.pdf!" <tmp28 >tmp29
sed "s!th3800!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/EPV_thet_380_${STRING}00.pdf!" <tmp29 >tmp30
sed "s!th38012!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/EPV_thet_380_${STRING}12.pdf!" <tmp30 >tmp31
sed "s!th4600!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/EPV_thet_460_${STRING}00.pdf!" <tmp31 >tmp32
sed "s!th46012!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/EPV_thet_460_${STRING}12.pdf!" <tmp32 >tmp33
sed "s!tu360!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/TURB_press_36kft_${STRING}00.pdf!" <tmp33 >tmp34
sed "s!tu3612!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/TURB_press_36kft_${STRING}12.pdf!" <tmp34 >tmp35
sed "s!tu390!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/TURB_press_39kft_${STRING}00.pdf!" <tmp35 >tmp36
sed "s!tu3912!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/TURB_press_39kft_${STRING}12.pdf!" <tmp36 >tmp37
sed "s!tu420!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/TURB_press_42kft_${STRING}00.pdf!" <tmp37 >tmp38
sed "s!tu4212!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/TURB_press_42kft_${STRING}12.pdf!" <tmp38 >tmp39
sed "s!tu450!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/TURB_press_45kft_${STRING}00.pdf!" <tmp39 >tmp40
sed "s!tu4512!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/TURB_press_45kft_${STRING}12.pdf!" <tmp40 >tmp41
sed "s!tu490!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/TURB_press_49kft_${STRING}00.pdf!" <tmp41 >tmp42
sed "s!tu4912!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/TURB_press_49kft_${STRING}12.pdf!" <tmp42 >tmp43
sed "s!tu530!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/TURB_press_53kft_${STRING}00.pdf!" <tmp43 >tmp44
sed "s!tu5312!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/TURB_press_53kft_${STRING}12.pdf!" <tmp44 >tmp45
sed "s!Date1!${MONTHNAME[i-1]} ${DATES[i-1]}, ${YEAR[i-1]}!" <tmp45 >tmp46
sed "s!Date2!${MONTHNAME[i-2]} ${DATES[i-2]}, ${YEAR[i-2]}!" <tmp46 >tmp47
sed "s!Date3!${MONTHNAME[i-3]} ${DATES[i-3]}, ${YEAR[i-3]}!" <tmp47 >tmp48
sed "s!Date4!${MONTHNAME[i-4]} ${DATES[i-4]}, ${YEAR[i-4]}!" <tmp48 >tmp49
sed "s!Date5!${MONTHNAME[i-5]} ${DATES[i-5]}, ${YEAR[i-5]}!" <tmp49 >tmp50
sed "s!Date6!${MONTHNAME[i-6]} ${DATES[i-6]}, ${YEAR[i-6]}!" <tmp50 >tmp51
sed "s!Date7!${MONTHNAME[i-7]} ${DATES[i-7]}, ${YEAR[i-7]}!" <tmp51 >tmp52
sed "s!link1!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_html/gfs/${YY[i-1]}${MONTH[i-1]}${DATES[i-1]}.html!" <tmp52 >tmp53
sed "s!link2!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_html/gfs/${YY[i-2]}${MONTH[i-2]}${DATES[i-2]}.html!" <tmp53 >tmp54
sed "s!link3!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_html/gfs/${YY[i-3]}${MONTH[i-3]}${DATES[i-3]}.html!" <tmp54 >tmp55
sed "s!link4!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_html/gfs/${YY[i-4]}${MONTH[i-4]}${DATES[i-4]}.html!" <tmp55 >tmp56
sed "s!link5!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_html/gfs/${YY[i-5]}${MONTH[i-5]}${DATES[i-5]}.html!" <tmp56 >tmp57
sed "s!link6!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_html/gfs/${YY[i-6]}${MONTH[i-6]}${DATES[i-6]}.html!" <tmp57 >tmp58
sed "s!link7!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_html/gfs/${YY[i-7]}${MONTH[i-7]}${DATES[i-7]}.html!" <tmp58 >tmp59
sed "s!ttropzm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/T_trop_zm_${STRING}00.pdf!" <tmp59 >tmp60
sed "s!ttropzm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/T_trop_zm_${STRING}12.pdf!" <tmp60 >tmp61
sed "s!t100zm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/T_press_100_zm_${STRING}00.pdf!" <tmp61 >tmp62
sed "s!t100zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/T_press_100_zm_${STRING}12.pdf!" <tmp62 >tmp63
sed "s!t70zm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/T_press_70_zm_${STRING}00.pdf!" <tmp63 >tmp64
sed "s!t70zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/T_press_70_zm_${STRING}12.pdf!" <tmp64 >tmp65
sed "s!z925zm00!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/Z_press_925_zm_${STRING}00.pdf!" <tmp65 >tmp66
sed "s!z925zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/Z_press_925_zm_${STRING}12.pdf!" <tmp66 >tmp67
sed "s!z850zm00!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/Z_press_850_zm_${STRING}00.pdf!" <tmp67 >tmp68
sed "s!z850zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/Z_press_850_zm_${STRING}12.pdf!" <tmp68 >tmp69
sed "s!rh700zm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/RH_press_700_zm_${STRING}00.pdf!" <tmp69 >tmp70
sed "s!rh700zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/RH_press_700_zm_${STRING}12.pdf!" <tmp70 >tmp71
sed "s!rh500zm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/RH_press_500_zm_${STRING}00.pdf!" <tmp71 >tmp72
sed "s!rh500zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/RH_press_500_zm_${STRING}12.pdf!" <tmp72 >tmp73
sed "s!rh300zm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/RH_press_300_zm_${STRING}00.pdf!" <tmp73 >tmp74
sed "s!rh300zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/RH_press_300_zm_${STRING}12.pdf!" <tmp74 >tmp75
sed "s!clzm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/CL_press_850_zm_${STRING}00.pdf!" <tmp75 >tmp76
sed "s!clzm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/CL_press_850_zm_${STRING}12.pdf!" <tmp76 >tmp77
sed "s!cmzm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/CM_press_500_zm_${STRING}00.pdf!" <tmp77 >tmp78
sed "s!cmzm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/CM_press_500_zm_${STRING}12.pdf!" <tmp78 >tmp79
sed "s!chzm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/CH_press_150_zm_${STRING}00.pdf!" <tmp79 >tmp80
sed "s!chzm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/CH_press_150_zm_${STRING}12.pdf!" <tmp80 >tmp81
#sed "s!epv150zm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/EPV_press_150_zm_${STRING}00.pdf!" <tmp81 >tmp82
#sed "s!epv150zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/EPV_press_150_zm_${STRING}12.pdf!" <tmp82 >tmp83
#sed "s!th355zm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/EPV_thet_355_zm_${STRING}00.pdf!" <tmp83 >tmp84
#sed "s!th355zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/EPV_thet_355_zm_${STRING}12.pdf!" <tmp84 >tmp85
#sed "s!th380zm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/EPV_thet_380_zm_${STRING}00.pdf!" <tmp85 >tmp86
#sed "s!th380zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/EPV_thet_380_zm_${STRING}12.pdf!" <tmp86 >tmp87
#sed "s!th460zm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/EPV_thet_460_zm_${STRING}00.pdf!" <tmp87 >tmp88
#sed "s!th460zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/EPV_thet_460_zm_${STRING}12.pdf!" <tmp88 >tmp89
sed "s!tu36zm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/TURB_press_36kft_zm_${STRING}00.pdf!" <tmp81 >tmp90
sed "s!tu36zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/TURB_press_36kft_zm_${STRING}12.pdf!" <tmp90 >tmp91
sed "s!tu39zm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/TURB_press_39kft_zm_${STRING}00.pdf!" <tmp91 >tmp92
sed "s!tu39zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/TURB_press_39kft_zm_${STRING}12.pdf!" <tmp92 >tmp93
sed "s!tu42zm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/TURB_press_42kft_zm_${STRING}00.pdf!" <tmp93 >tmp94
sed "s!tu42zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/TURB_press_42kft_zm_${STRING}12.pdf!" <tmp94 >tmp95
sed "s!tu45zm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/TURB_press_45kft_zm_${STRING}00.pdf!" <tmp95 >tmp96
sed "s!tu45zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/TURB_press_45kft_zm_${STRING}12.pdf!" <tmp96 >tmp97
sed "s!tu49zm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/TURB_press_49kft_zm_${STRING}00.pdf!" <tmp97 >tmp98
sed "s!tu49zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/TURB_press_49kft_zm_${STRING}12.pdf!" <tmp98 >tmp99
sed "s!tu53zm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/TURB_press_53kft_zm_${STRING}00.pdf!" <tmp99 >tmp100
sed "s!tu53zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/TURB_press_53kft_zm_${STRING}12.pdf!" <tmp100 >tmp101 
sed "s!z1000zm00!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/Z_press_1000_zm_${STRING}00.pdf!" <tmp101 >tmp102
sed "s!z1000zm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/Z_press_1000_zm_${STRING}12.pdf!" <tmp102 >tmp103
sed "s!tpert00!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/T_perturb_100_${STRING}00.pdf!" <tmp103 >tmp104
sed "s!tpert12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/T_perturb_100_${STRING}12.pdf!" <tmp104 >tmp105
sed "s!tpertzm00!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/T_perturb_100_zm_${STRING}00.pdf!" <tmp105 >tmp106
sed "s!tpertzm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/T_perturb_100_zm_${STRING}12.pdf!" <tmp106 >tmp107
sed "s!hcalzm00!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/HCAL_press_1000_zm_${STRING}00.pdf!" <tmp107 >tmp108
sed "s!hcalzm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/HCAL_press_1000_zm_${STRING}12.pdf!" <tmp108 >tmp109
sed "s!capezm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/CAPS_press_${STRING}00.pdf!" <tmp109 >tmp110
sed "s!capezm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/CAPS_press_${STRING}12.pdf!" <tmp110 >tmp111
sed "s!sfczm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/WIND_press_zm_${STRING}00.pdf!" <tmp111 >tmp112
sed "s!sfczm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/WIND_press_zm_${STRING}12.pdf!" <tmp112 >tmp113
sed "s!cdfazm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/CA_sfc_${STRING}00.pdf!" <tmp113 >tmp114
sed "s!cdfazm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/CA_sfc_${STRING}12.pdf!" <tmp114 >tmp115
sed "s!cdfbzm0!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING00/CB_sfc_zm_${STRING}00.pdf!" <tmp115 >tmp116
sed "s!cdfbzm12!http://bocachica.arc.nasa.gov/ATTREX_CAST/met_files/gfs/$STRING12/CB_sfc_zm_${STRING}12.pdf!" <tmp116 >"$STRING".html

rm tmp*
done 
exit 0
