<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Geraldo,<br>
<br>
Do the plots look reasonable? A message like this is sometimes
caused by a corrupt data point (or points), e.g., a missing value is
not set right and appears as some large number. <br>
<br>
Jim<br>
<br>
<div class="moz-cite-prefix">On 1/24/15 1:41 PM, Geraldo Deniro
wrote:<br>
</div>
<blockquote cite="mid:COL130-W53C947606A5249099DA0D4A2370@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">
<div>
<div><font face="Courier New, sans-serif">Hi GrADS Users,</font></div>
<div><font face="Courier New, sans-serif">I made a script to
make fortnightly anomaly of the mean sea level pressure
daily data of R1, when i play this scripts on GrADS a
message with error appears. Does anyone knows how to solve
it or a easy way to make this script?</font></div>
</div>
<div><font style="font-size:12pt;" color="#000000" size="3"
face="Courier New,sans-serif"><br>
</font></div>
<div><font color="#000000" face="Courier New,sans-serif">
<div>The error:</div>
<div><br>
</div>
<div>ga-> slp.gs</div>
<div>No hardcopy metafile open</div>
<div>All files closed; all defined objects released;</div>
<div>All GrADS attributes have been reinitialized</div>
<div>Too many contour levels -- adjusting cint</div>
<div>ga-></div>
<div><br>
</div>
<div>The script:</div>
<div><br>
</div>
<div>------------------------------</div>
</font></div>
<div><font color="#000000" face="Courier New,sans-serif">
<div>'reinit'</div>
<div><br>
</div>
<div>yr=1981</div>
<div>while(yr<=2010) </div>
<div>'sdfopen slp.'yr'.nc'</div>
<div>yr=yr+1</div>
<div>endwhile</div>
<div><br>
</div>
<div>'sslp1=0.0'</div>
<div>'sslp2=0.0'</div>
<div><br>
</div>
<div>yr=1981</div>
<div>ff=1</div>
<div>while(yr<=2010) </div>
<div>'set dfile 'ff</div>
<div>'set time 01nov'yr</div>
<div>'slp1=ave(slp,time=01Sep'yr',time=15Sep'yr')'</div>
<div>'slp2=ave(slp,time=16Sep'yr',time=30Sep'yr')'</div>
<div>'sslp1=sslp1+(slp1/30)'</div>
<div>'sslp2=sslp2+(slp2/30)'</div>
<div>ff=ff+1</div>
<div>yr=yr+1</div>
<div>endwhile</div>
<div><br>
</div>
<div>'sdfopen slp.2014.nc'</div>
<div>'set dfile 'ff</div>
<div>'set time 01nov2014'</div>
<div>'slp141=ave(slp,time=01nov2014,time=15nov2014)' </div>
<div>'slp142=ave(slp,time=16nov2014,time=30nov2014)' </div>
<div><br>
</div>
<div>'rgbset'</div>
<div>'set map 1 1 10'</div>
<div>'set mpdset brmap_hires'</div>
<div>'set lon 240 360'</div>
<div>'set lat -80 20'</div>
<div><br>
</div>
<div>'set vpage 0.0 11.0 0.0 8.5'</div>
<div>'set parea 0.5 10.2 1.0 7.5'</div>
<div>'set gxout shaded'</div>
<div>'set grads off'</div>
<div>'set xlopts 1 0.18 0.18'</div>
<div>'set ylopts 1 0.18 0.18'</div>
<div>'set xlint 20'</div>
<div>'set clevs -12 -9 -6 -3 3 6 9 12'</div>
<div>'set ccols 45 44 43 41 0 21 23 24 25'</div>
<div>'d (slp141-sslp1)/100'</div>
<div>'cbarm'</div>
<div>'set gxout contour'</div>
<div>'set grads off'</div>
<div>'set cthick 6'</div>
<div>'set clab forced'</div>
<div>'set cint 50'</div>
<div>'set digsize 0.18'</div>
<div>'d slp141'</div>
<div>'draw title NCEP/NCAR R1 \ PNMM & Anomalia de PNMM
\ 01-15 novembro/2014'</div>
<div>'set display color white'</div>
<div>'printim slp_0115nov2014.jpg'</div>
<div><br>
</div>
<div>'q pos'</div>
<div>'c'</div>
<div>'set vpage 0.0 11.0 0.0 8.5'</div>
<div>'set parea 0.5 10.2 1.0 7.5'</div>
<div>'set gxout shaded'</div>
<div>'set grads off'</div>
<div>'set xlopts 1 0.18 0.18'</div>
<div>'set ylopts 1 0.18 0.18'</div>
<div>'set xlint 20'</div>
<div>'set clevs -12 -9 -6 -3 3 6 9 12'</div>
<div>'set ccols 45 44 43 41 0 21 23 24 25'</div>
<div>'d (slp142-sslp2)/100'</div>
<div>'cbarm'</div>
<div>'set gxout contour'</div>
<div>'set grads off'</div>
<div>'set cthick 6'</div>
<div>'set clab forced'</div>
<div>'set cint 50'</div>
<div>'set digsize 0.18'</div>
<div>'d slp142'</div>
<div>'draw title NCEP/NCAR R1 \ PNMM & Anomalia de PNMM
\ 16-30 novembro/2014'</div>
<div>'set display color white'</div>
<div>'printim slp_1630nov2014.jpg'</div>
<div><br>
</div>
<div>return</div>
</font>
<div><br>
</div>
<br>
<br>
<div>Geraldo Deniro </div>
<div><a class="moz-txt-link-abbreviated" href="mailto:geraldodeniro@ufrj.br">geraldodeniro@ufrj.br</a> </div>
<div>Graduate Student of Meteorology </div>
<div>Department of Meteorology </div>
<div>Institute of Geosciences </div>
<div>Federal University of Rio de Janeiro</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
</body>
</html>