# confighrrrmslprecip01US.txa
for sector in $sectorlist
do
for fhour in 000 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 022 023 
do 
for product in temp2m wind
do
cat /var/www/html/pages/config/configtemplate1 >/var/www/html/pages/config/ndfd$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/NDFD/f$fhour/$sector/$product/ndfdfof.txt " >> /var/www/html/pages/config/configndfd$product$fhour$sector.txt
cat /var/www/html/pages/hrrrwebtemplate1 >/var/www/html/pages/ndfd$product$fhour$sector.html
echo "<body style=\"width:1920px;\" onload=\"HAniS.setup('config/configndfd$product$fhour$sector.txt','handiv')\">"  >>/var/www/html/pages/ndfd$product$fhour$sector.html
cat /var/www/html/pages/hrrrwebtemplate2 >>/var/www/html/pages/ndfd$product$fhour$sector.html


done
done
done 
