#!/bin/bash

rm OMG_SWNB_Mapsheet_$1.html

if [ -f ./images/map$1.AP_bathy.gif ]
then
	echo bathy data $1 here
	sed -e s/27/$1/g < OMG_SWNB_Mapsheet_27.html > OMG_SWNB_Mapsheet_$1.html
else
	echo bathy data $1 not here
	sed -e s/27/$1/g < blank.html > OMG_SWNB_Mapsheet_$1.html
fi


