<div dir="ltr"><div><div>Wendi,<br></div>You can always change the text of any control file. There should not be anything stopping you from doing that. Please clarify what you mean.<br><br></div>Jeff<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 1, 2016 at 11:53 PM, wendi harjupa <span dir="ltr">&lt;<a href="mailto:wendiharjupa@gmail.com" target="_blank">wendiharjupa@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Mr Jeff<div><br></div><div>Thank you very much for your help.</div><div><br></div><div>I have two different types of data set and I need to make composite data with those data.</div><div>One data is mismatch, then I need to know how far the mismatch.</div><div><br></div><div>One of my data set is binary and another one is netCDF.<br></div><div>I can change my control file in my binary data. But, I cannot do this for my netCDF data.</div><div>Would you mind to suggest me, how to change XDEF and YDEF in netCDF data?</div><div><br></div><div>Thank you very much</div><div><br></div><div>best regards,</div><div>wendi</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 2, 2016 at 12:02 AM, Jeff Duda <span dir="ltr">&lt;<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Wendi,<br></div>It sounds like you want to draw a plot with geographic coordinates replaced by straight-line/distance coordinates instead. If that is the case, one thing you can try is removing the PDEF line from your control file and resetting your XDEF and YDEF lines to start at 0 (but keep the delta value). That might work. If that doesn&#39;t work, you could also try turning off the map projection in grads (set mproj off) and then using &#39;set xaxis&#39; and &#39;set yaxis&#39; in clever ways to make it look like the map you draw is in terms of linear distance. Good luck.<br><br></div><div>Jeff Duda<br></div></div><div class="gmail_extra"><div><div class="m_-8048344603456066404h5"><br><div class="gmail_quote">On Tue, Nov 1, 2016 at 9:32 AM, HARVEY, PHILIP O NH-03 USAF AFMC 412 OSS/OSW <span dir="ltr">&lt;<a href="mailto:philip.harvey.1@us.af.mil" target="_blank">philip.harvey.1@us.af.mil</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">See Ed Williams&#39; Aviation Formulary at <a href="http://williams.best.vwh.net/avform.htm" rel="noreferrer" target="_blank">http://williams.best.vwh.net/a<wbr>vform.htm</a> for great circle distance, etc formulas.  The formula you desire is only requires 1 line and can easily be written into a function.<br>
<br>
Phil<br>
<div><div class="m_-8048344603456066404m_-4573382565156428094h5"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@grads<wbr>usr.org</a>] On Behalf Of wendi harjupa<br>
Sent: Tuesday, November 01, 2016 2:01 AM<br>
To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>&gt;<br>
Subject: [gradsusr] convert world coordinate distance to real distance (km)<br>
<br>
Dear every one<br>
<br>
I have problem with converting distance in world coordinate to distance,<br>
<br>
I have map with<br>
lon = 135  135.5<br>
lat = 34.5   35<br>
<br>
I want to set lon =135, as 0 km, and lat=34.5 as 0 km.<br>
as we know that 1 deg is about 110 km.<br>
<br>
Is there any function in grads that can directly convert the world coordinat distance to real distance (km)?<br>
<br>
Please, any help would be very appreciate.<br>
<br>
thank you<br>
regards,<br>
wendi<br>
<br>
</div></div>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
</blockquote></div><br><br clear="all"><span class="HOEnZb"><font color="#888888"><br></font></span></div></div><span class="HOEnZb"><font color="#888888"><span class="m_-8048344603456066404HOEnZb"><font color="#888888">-- <br><div class="m_-8048344603456066404m_-4573382565156428094gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Jeff Duda<br>Post-doctoral research associate<br>University of Oklahoma School of Meteorology<br></div></div></div>
</font></span></font></span></div><span class="HOEnZb"><font color="#888888">
<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br></font></span></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Jeff Duda<br>Post-doctoral research associate<br>University of Oklahoma School of Meteorology<br></div></div></div>
</div>