echo "Model is $model Model1 is $model1"
sectorlist=`cat /var/www/html/grads/sectorlist`
for sector in $sectorlist
do
for fhour in 00 06 12 18
do 
for product in ptype cape 500htvort temp2m mllapse mslprecip kuchera helicity1k helicity3k
do
cat /var/www/html/pages/configtemplate1 >/var/www/html/pages/config/configgfs$product$fhour$sector.txt
# file_of_filenames = grads/HRRR/f01/US/mslprecip/namfof.txt
# nammslprecip12.html
# #<body style="width:1920px;" onload="HAniS.setup('config/confignammslprecip18.txt','handiv')">

echo "file_of_filenames = grads/GFS/f$fhour/$sector/$product/gfsfof.txt " >> /var/www/html/pages/config/configgfs$product$fhour$sector.txt
cat /var/www/html/pages/gfswebtemplate1 >/var/www/html/pages/gfs$product$fhour$sector.html
echo "<body style=\"width:1920px;\" onload=\"HAniS.setup('config/configgfs$product$fhour$sector.txt','handiv')\">"  >>/var/www/html/pages/gfs$product$fhour$sector.html
cat /var/www/html/pages/gfswebtemplate2 >>/var/www/html/pages/gfs$product$fhour$sector.html


done
done
done 
