# confighrrrmslprecip01US.txa
sectorlist=`cat /var/www/html/grads/sectorlist`

for sector in $sectorlist
do
for fhour in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 
do 
for product in refl cape dp helicity1k helicity3k
do
cat /var/www/html/pages/config/configtemplate1 >/var/www/html/pages/config/configmrms$product$fhour$sector.txt
# file_of_filenames = grads/HRRR/f01/US/mslprecip/namfof.txt
# nammslprecip12.html
# #<body style="width:1920px;" onload="HAniS.setup('confignammslprecip18.txt','handiv')">

echo "file_of_filenames = /grads/MRMS/$fhour/$sector/$product/mrmsfof.txt " >> /var/www/html/pages/config/configmrms$product$fhour$sector.txt
cat /var/www/html/pages/hrrrwebtemplate1 >/var/www/html/pages/mrms$product$fhour$sector.html
echo "<body style=\"width:1920px;\" onload=\"HAniS.setup('config/configmrms$product$fhour$sector.txt','handiv')\">"  >>/var/www/html/pages/mrms$product$fhour$sector.html
cat /var/www/html/pages/hrrrwebtemplate2 >>/var/www/html/pages/mrms$product$fhour$sector.html


done
done
done 
