<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt">Hello, I am Shiyong Lin work in South Florida Water Management District.</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt">We have used grads scripts in our MODFLOW hydrologic modeling head data animation.</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> </span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt">1>Following is the question:</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> </span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt">“How to accurately overlay model data with background image:</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt">Inside the background image, there is rectangle model boundary. There are some space between model boundary and background image edge.</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt">Our MODLFOW head data needs to be accurately overlaid with the model boundary of the background image map”.
</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> </span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt">2>Real application example: We had some contract help in developing a script which we are now trying to enhance.</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> </span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> A> associated script code:</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt">
</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> 'open head.ctl' ;* defines MODFLOW results in the binary file head.dat</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> * set constants -------------------------------------------</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> xmin = 0.0 ;* x domain range</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> xmax = 149.0</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> ymin.1= 0.0 ;* y domain range</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> ymax.1= 180.0</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> * plots in inches on paper</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> * Portrait</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> ximin=1.67 ;* basemap4f.png</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> ximax=8.30</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> yimin=0.50</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> yimax= 8.57</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> *</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><i><span style="font-size:12.0pt"> xdif=(ximax-ximin)/(xmax-xmin)</span></i></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><i><span style="font-size:12.0pt"> ydif=(yimax-yimin)/(ymax.nframe-ymin.nframe)</span></i></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><i><span style="font-size:12.0pt"> </span></i></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><i><span style="font-size:12.0pt"> 'set parea 'ximin' 'ximax' 'yimin' 'yimax''</span></i></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><i><span style="font-size:12.0pt"> </span></i></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> 'printim 'xfig'.eps -b 'fmap' -t 0 white'</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> </span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> Here the fmap is the background image and xfig is the model data.</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> </span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> B> question:</span></b></p>
<p class="MsoNormal"><b><span style="font-size:12.0pt"> The code works, but I don’t understand how they get the numbers:
</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> ximin=1.67 ;* basemap4f.png</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> ximax=8.30</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> yimin=0.50</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> yimax= 8.57</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> Attached is the background map</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> </span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt">we are new users of GrADS, we also hope to use this opportunity to develop contacts with some very knowledgeable and experienced people.</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt">Potentially, we may be looking for some formal training or expert assistance on GrADS.</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt">Thanks you very much.</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt"> </span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt">Shiyong Lin</span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt">Email:
<a href="mailto:sylin@sfwmd.gov">sylin@sfwmd.gov</a></span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt">Phone: (561) 682-2559 </span></b></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span></p>
</div>
<br>
<br>
We value your opinion. Please take a few minutes to share your comments on the service you received from the District by clicking on this
<a href="http://my.sfwmd.gov/portal/page/portal/pg_grp_surveysystem/survey%20ext?pid=1653">
link</a>.
</body>
</html>