[gradsusr] Error Message While plotting variable in the secondopened file

Goodson,Ron [Edm] Ron.Goodson at EC.gc.ca
Thu May 5 13:18:24 EDT 2011


grid 1
Xsize = 8192  Ysize = 4096  Zsize = 1  Tsize = 12  Esize = 1

grid 2
Xsize = 479  Ysize = 411  Zsize = 1  Tsize = 72  Esize = 1

I suspect grads is gettig confused with the lat/lon over these two
different grids.  To test you can plot each explicitly...
 
eg..
 
set file 1
set lat . ..
set lon ..
d <var1>
 
set file 2
set lat ..
set lon ..
d <var2>
 
ron
 
 
________________________________

From: gradsusr-bounces at gradsusr.org
[mailto:gradsusr-bounces at gradsusr.org] On Behalf Of sudev das M P
Sent: May 5, 2011 4:28 AM
To: GrADS Users Forum
Subject: [gradsusr] Error Message While plotting variable in the
secondopened file


Hai,

I have two control files for two seperate binary data sets. First file
is for a climatology with
T=12, and second file is for a multi year data with T=72. (2004-2009). I
have opened both 
these files and but when I tried to plot the variable in the second
opened file I am getting 
error messages. Below I am giving the error I am getting. Expecting to
get a valuable suggestion
to fix this problem.

Thanks,
sudev

************************************************************************
***************************
ga->open sstclm.ctl
Scanning description file:  sstclm.ctl
Data file sst.dat is open as file 1
LON set to -179.982 179.982 
LAT set to -89.98 89.98 
LEV set to 0 0 
Time values set: 1985:1:15:0 1985:1:15:0 
E set to 1 1 
ga-> open sstmulti.ctl
Scanning description file:  sstmulti.ctl
Data file sst.dat is open as file 2
ga-> set lon 77.9827 98.9669
LON set to 77.9827 98.9669 
ga-> set lat 4.9879 22.9869
LAT set to 4.9879 22.9869 
ga-> set z 1
LEV set to 0 0 
ga-> q file 1
File 1 : Climatology 
  Descriptor: sstclm.ctl
  Binary: sst.dat
  Type = Gridded
  Xsize = 8192  Ysize = 4096  Zsize = 1  Tsize = 12  Esize = 1
  Number of Variables = 1
     sstclm  0  99  Monthly climatology-- data used yrs 1985-2009
ga-> q file 2
File 2 : Multiyear 
  Descriptor: sstmulti.ctl
  Binary: sst.dat
  Type = Gridded
  Xsize = 479  Ysize = 411  Zsize = 1  Tsize = 72  Esize = 1
  Number of Variables = 1
     sstmulti  1  99  sea surface temperature
ga-> set gxout shaded
ga-> set t 1
Time values set: 1985:1:15:0 1985:1:15:0 
ga-> d sstclm.1
Contouring: 22 to 28.5 interval 0.5 
ga-> c
ga-> d sstmulti.2
Data Request Error: Invalid grid coordinates
  World coordinates convert to non-integer  grid coordinates
    Variable = sstmulti.2  Dimension = 3 
  Error ocurred at column 1
DISPLAY error:  Invalid expression 
  Expression = sstmulti.2
************************************************************************
******************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110505/18422f04/attachment-0003.html 


More information about the gradsusr mailing list