<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.8">
</HEAD>
<BODY>
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%">
<TR>
<TD>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<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>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>