<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt;">Hi Everyone,</div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt;">Am getting a confusing error message in creating a station map saying:</div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt;">Possible Causes; Invalid &nbsp;count in hdr</div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;Descriptor file mismatch</div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span class="Apple-tab-span" style="white-space:pre">                        </span>&nbsp;file not station
 data</div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span class="Apple-tab-span" style="white-space:pre">                        </span>&nbsp;Invalid relative time</div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">The Fortran Program I wrote:</div><div><span style="font-size: 13px;">program main</span></div><div><span style="font-size: 13px;"><br></span></div><div><span style="font-size: 13px;">parameter(m=6,n=606,t=101)</span></div><div><span style="font-size: 13px;">REAL r(n),lat(6),lon(6)</span></div><div><span style="font-size: 13px;">character*8 stid(6)</span></div><div><span style="font-size: 13px;">character*8 endsta</span></div><div><span style="font-size: 13px;">open(1,file='C:\Users\ICCES\Desktop\Ugochi.txt')</span></div><div><span style="font-size:
 13px;">read(1,*) &nbsp;r</span></div><div><span style="font-size: 13px;"><br></span></div><div><span style="font-size: 13px;">write(*,*) r</span></div><div><span style="font-size: 13px;"><br></span></div><div><span style="font-size: 13px;">data stid /'1','2','3','4','5','6'/</span></div><div><span style="font-size: 13px;">data lat /12.0,11.8,8.50,6.58,5.48,4.95/</span></div><div><span style="font-size: 13px;">data lon /8.52,13.2,4.55,3.33,7.02,8.32/</span></div><div><span style="font-size: 13px;"><br></span></div><div><span style="font-size: 13px;"><br></span></div><div><span style="font-size: 13px;">data endsta /'end time'/</span></div><div><span style="font-size: 13px;"><br></span></div><div><span style="font-size: 13px;">open(40,file='C:\Users\ICCES\Desktop\ugo.grd',form='binary') &nbsp; &nbsp;&nbsp;</span></div><div><span style="font-size: 13px;">&nbsp; &nbsp; &nbsp; do it=1,t</span></div><div><span style="font-size: 13px;"><span
 class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; nlev=1</span></div><div><span style="font-size: 13px;"><span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; tim=0.0</span></div><div><span style="font-size: 13px;"><span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; nflag=1</span></div><div><span style="font-size: 13px;"><span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; do im=1,m</span></div><div><span style="font-size: 13px;"><span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; &nbsp;write(40) stid(im),lat(im),lon(im),tim,nlev,nflag,r((im-1)*t+it)&nbsp;</span></div><div><span style="font-size: 13px;"><span class="Apple-tab-span" style="white-space:pre">                </span> &nbsp; &nbsp;&nbsp;</span></div><div><span style="font-size: 13px;"><span class="Apple-tab-span" style="white-space:pre">                </span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></div><div><span style="font-size: 13px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;enddo</span></div><div><span style="font-size: 13px;"><span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; endsta='end_time'</span></div><div><span style="font-size: 13px;"><span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; write(40)endsta, 0.0,0.0,0.0,0.0,0.0,0.0<span class="Apple-tab-span" style="white-space:pre">        </span></span></div><div><span style="font-size: 13px;"><span class="Apple-tab-span" style="white-space:pre">        </span>enddo</span></div><div><span style="font-size: 13px;">end</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;"><span style="font-size: 13px;">Thanks for your anticipated help</span></div>  <div style="font-family:
 tahoma, 'new york', times, serif; font-size: 10pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> "gradsusr-request@gradsusr.org" &lt;gradsusr-request@gradsusr.org&gt;<br> <b><span style="font-weight: bold;">To:</span></b> gradsusr@gradsusr.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, July 30, 2013 12:00 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> gradsusr Digest, Vol 41, Issue 59<br> </font> </div> <div class="y_msg_container"><br>Send gradsusr mailing list submissions to<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>&nbsp;&nbsp;&nbsp; <a href="http://gradsusr.org/mailman/listinfo/gradsusr"
 target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>or, via email, send a message with subject or body 'help' to<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:gradsusr-request@gradsusr.org" href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br><br>You can reach the person managing the list at<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:gradsusr-owner@gradsusr.org" href="mailto:gradsusr-owner@gradsusr.org">gradsusr-owner@gradsusr.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of gradsusr digest..."<br><br><br>Today's Topics:<br><br>&nbsp;  1. Help in Extracting data using shapefile (Geetha R)<br>&nbsp;  2. Re: Help in Extracting data using shapefile (Yaqiang Wang)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 29 Jul 2013 17:47:20 +0530<br>From: Geetha R &lt;<a
 ymailto="mailto:geethamca2009@gmail.com" href="mailto:geethamca2009@gmail.com">geethamca2009@gmail.com</a>&gt;<br>Subject: [gradsusr] Help in Extracting data using shapefile<br>To: <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;<a ymailto="mailto:CAD-M3JJcnJoV1WaGcCf-amG9jaHVyGLgV4ppAOwgUY7fK3Zzig@mail.gmail.com" href="mailto:CAD-M3JJcnJoV1WaGcCf-amG9jaHVyGLgV4ppAOwgUY7fK3Zzig@mail.gmail.com">CAD-M3JJcnJoV1WaGcCf-amG9jaHVyGLgV4ppAOwgUY7fK3Zzig@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Dear grads users,<br><br><br>I have&nbsp; global data for temperature in netcdf format. Can anybody suggest<br>me how to extract data for particular region using shapefile.<br>-- <br>With regards,<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a
 href="http://gradsusr.org/pipermail/gradsusr/attachments/20130729/36df4048/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20130729/36df4048/attachment-0001.html </a><br><br>------------------------------<br><br>Message: 2<br>Date: Mon, 29 Jul 2013 21:58:26 +0800<br>From: Yaqiang Wang &lt;<a ymailto="mailto:yaqiang.wang@gmail.com" href="mailto:yaqiang.wang@gmail.com">yaqiang.wang@gmail.com</a>&gt;<br>Subject: Re: [gradsusr] Help in Extracting data using shapefile<br>To: GrADS Users Forum &lt;<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;CABvomDV415=fJk40rPuFSbLbuqgZ+<a ymailto="mailto:p5ZNPm8J86JFqZWj_ThzA@mail.gmail.com" href="mailto:p5ZNPm8J86JFqZWj_ThzA@mail.gmail.com">p5ZNPm8J86JFqZWj_ThzA@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>You need to make a GrADS maskout data
 using the shapefile and then extract<br>the data using 'maskout' function (<br><a href="http://www.iges.org/grads/gadoc/gradfuncmaskout.html" target="_blank">http://www.iges.org/grads/gadoc/gradfuncmaskout.html</a>). The first step can<br>be done using MeteoInfo software (<br><a href="http://hi.baidu.com/meteoinfo/item/561f18302d9774b1124b14f9" target="_blank">http://hi.baidu.com/meteoinfo/item/561f18302d9774b1124b14f9</a>).<br><br>Regards<br>Yaqiang<br><br><br>On Mon, Jul 29, 2013 at 8:17 PM, Geetha R &lt;<a ymailto="mailto:geethamca2009@gmail.com" href="mailto:geethamca2009@gmail.com">geethamca2009@gmail.com</a>&gt; wrote:<br><br>&gt;<br>&gt; Dear grads users,<br>&gt;<br>&gt;<br>&gt; I have&nbsp; global data for temperature in netcdf format. Can anybody suggest<br>&gt; me how to extract data for particular region using shapefile.<br>&gt; --<br>&gt; With regards,<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;
 _______________________________________________<br>&gt; gradsusr mailing list<br>&gt; <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt;<br>&gt;<br><br><br>-- <br>*************************************************<br>Dr. Yaqiang Wang<br>Chinese Academy of Meteorological Sciences (CAMS)<br>46, Zhong-Guan-Cun South Avenue<br>Beijing, 100081<br>China<br><br><a ymailto="mailto:yaqiang.wang@gmail.com" href="mailto:yaqiang.wang@gmail.com">yaqiang.wang@gmail.com</a><br><br><a href="http://www.meteothinker.com/" target="_blank">http://www.meteothinker.com</a><br>**************************************************<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a
 href="http://gradsusr.org/pipermail/gradsusr/attachments/20130729/159e2c80/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20130729/159e2c80/attachment-0001.html </a><br><br>------------------------------<br><br>_______________________________________________<br>gradsusr mailing list<br><a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br><br><br>End of gradsusr Digest, Vol 41, Issue 59<br>****************************************<br><br><br></div> </div> </div>  </div></body></html>