<div>Hello All,</div> <div> I have coverted my grib file to ctl file, however there is one problem, the index file is not generating......here is what I type and what was responded:</div> <div> </div> <div> grib2ctl.pl Y48659* > Y48659*.ctl : (everything was fine until I type the next line)</div> <div> gribmap -i Y48659*.ctl -0</div> <div> Error in the grid specification for GRIB grid type 29/30</div> <div> Grid scaling must indicate 2 2.5 x 2.5 grid</div> <div> Grid size must be 144 x 73</div>
<div> Grid must go from 0 to 357.5 and -90 to 90</div> <div> </div> <div>could someone help me with this if I can get the index file to generate Grads will do the rest......</div> <div> thanks </div> <div> DANNY <BR> <BR><B><I>Jennifer Adams <jma@COLA.IGES.ORG></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px;
MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">I use this script instead of 'draw title'.<BR><BR><BR>* title.gs<BR>*<BR>* This is an alternative to the 'draw title' command in GrADS.<BR>* Font characteristics are controlled by five script variables:<BR>* height, width, color, thickness, and font number.<BR>* The sole argument is a string of any length which may<BR>* contain backslashes ("\") to indicate carriage returns.<BR>* Written by Jennifer M. Adams, January 2007<BR>*<BR>function title (arg)<BR>* Set the text characteristics<BR>height=0.20<BR>width=0.18<BR>color=1<BR>thickness=1<BR>fnum=0<BR><BR>* Check for backslashes<BR>nbreaks=0<BR>len=math_strlen(arg)<BR>i=1<BR>while (i<=len)<BR>char=substr(arg,i,1)<BR>if (char = '\')<BR>nbreaks=nbreaks+1<BR>break.nbreaks = i<BR>endif<BR>i=i+1<BR>endwhile<BR><BR>* Figure out where the title will go<BR>'q
gxinfo'<BR>xlims=sublin(result,3)<BR>ylims=sublin(result,4)<BR>ytop=subwrd(ylims,6)<BR>xleft=subwrd(xlims,4)<BR>xright=subwrd(xlims,6)<BR>xmid=xleft+(xright-xleft)/2<BR><BR>* Set up the string characteristics<BR>'set string 'color' bc 'thickness<BR>'set strsiz 'width' 'height<BR><BR>* Draw the title<BR>if (nbreaks)<BR>arg.1 = substr(arg,1,break.1-1)<BR>if (nbreaks=1)<BR>arg.2 = substr(arg,break.1+1,len-break.1);* two lines<BR>nargs=2<BR>else<BR>i=2<BR>while (i<=nbreaks)<BR>s=i-1<BR>start = break.s<BR>start = start+1<BR>e=i<BR>end = break.e<BR>length = end-start<BR>arg.i = substr(arg,start,length)<BR>i=i+1<BR>endwhile<BR>start = break.nbreaks<BR>start = start+1<BR>length = len-start+1<BR>nargs=nbreaks+1<BR>arg.nargs = substr(arg,start,length)<BR>endif<BR><BR>i=1<BR>while (i<=nargs)<BR>'draw string 'xmid' 'ytop+(height)+((nargs-i)*(1.5*height))'<BR>`'fnum''arg.i<BR>i=i+1<BR>endwhile<BR><BR>else<BR>'draw string 'xmid' 'ytop+height'
`'fnum''arg<BR>endif<BR></BLOCKQUOTE><BR><p> 
<hr size=1>Moody friends. Drama queens. Your life? Nope! - their life, your story.<br> <a href="http://us.rd.yahoo.com/evt=48224/*http://sims.yahoo.com/">Play Sims Stories at Yahoo! Games. </a>