Please also provide your .gs script file. I suggest you 'set dfile' to the corresponding file you are going to dispaly. Hope this may help.<br><br><div class="gmail_quote">2011/3/30 Paolo Boi <span dir="ltr"><<a href="mailto:pboi@arpa.sardegna.it">pboi@arpa.sardegna.it</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
Hi,<br>
<br>
I tried to plot two different set of data in GRIB format. Here are the two .ctl files, with different step in lat long:<br>
<br>
dset ^12140800.w73.grb<br>
index ^12140800.w73.grb.idx<br>
undef 9.999E+20<br>
title 12140800.w73.grb<br>
* produced by grib2ctl v0.9.12.5p16<br>
dtype grib 255<br>
options yrev<br>
ydef 1024 linear 28.108000 0.0269494<br>
xdef 1280 linear -4.311000 0.0269494<br>
tdef 1 linear 08Z14dec2009 1mo<br>
zdef 1 linear 1 1<br>
vars 1<br>
IMGD 0 127,122,22 ** Image data []<br>
ENDVARS<br>
<br>
dset ^suolo.grb<br>
index ^suolo.grb.idx<br>
undef 9.999E+20<br>
title suolo.grb<br>
* produced by grib2ctl v0.9.12.5p16<br>
dtype grib 255<br>
options yrev<br>
ydef 25 linear 20.000000 2.5<br>
xdef 65 linear -90.000000 2.5<br>
tdef 14 linear 12Z21mar2011 12hr<br>
zdef 1 linear 1 1<br>
vars 2<br>
MSLsfc 0 151,1,0 ** Mean Sea Level (MSL) Pressure [Pa] Pa<br>
Tprs 0 130,100,850 ** Temperature [K]<br>
ENDVARS<br>
<br>
The two data set have a completely different step in lat long. <br>
Here is the output error. I' using grads-1.8sl11.<br>
<br>
Data Request Error: Invalid grid coordinates<br>
World coordinates convert to non-integer grid coordinates<br>
Variable = imgd Dimension = 3<br>
Error ocurred at column 1<br>
DISPLAY error: Invalid expression<br>
Expression = imgd/4<br>
Cannot plot color bar: No shading information<br>
Hardcopy output file is closed<br>
No hardcopy metafile open<br>
GX package terminated<br>
<br>
<br>
<br>
Many thanks<br>
Paolo<br>
<br>
<br>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td>
---------------------------------------------------<br>
<b>Paolo Boi</b><br>
<br>
ARPAS- Agenzia Regionale per la Protezione dell'Ambiente della Sardegna<br>
Dipartimento Specialistico Regionale Idrometeoclimatico<br>
Servizio Idrometeoclimatico<br>
<br>
<font size="1">Viale Porto Torres 119 - 07100 Sassari<br>
Tel + 39 079 258600<br>
Fax + 39 079 262681</font><br>
<br>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a 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></blockquote></div><br><br clear="all"><br>-- <br>´ËÖÂ<br> ¾´Àñ£¡<br>