[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19991006: level




Mike,

You should specify level(2) = -1 if your grid does not
require a second level, since 0 is a valid level.

Steve Chiswell
Unidata User Support

On Wed, 6 Oct 1999, Mike Trexler wrote:

> Steve,
> 
> Thanks for all your help before.  Just one minor 
> problem remains and that involves the level for
> the data that needs to be packed into my grid.
> Level is a two dimensional array which holds one
> or two levels for the grid depending on if it's
> a layer or not, right.  So, I'm calling:
> 
> CALL GD_WPGD ( IFLNO, TMP, KX, KY, IGHDR, GEMDATE, LEVEL,
>      &       IVCORD, PARM, .TRUE., IPKTYP, NBITS, IRET )
> 
> Here I want only one level for the grid so my 
> LEVEL(1)=0 and my LEVEL(2) should be nothing.  What
> I'm getting, though, is a LEVEL(2)=0.  So for instance
> my gdinfo looks like:
> 
>   NUM       TIME1              TIME2           LEVL1 LEVL2  VCORD PARM
>     1     991004/0000F009                          0  0      NONE
> TA          
>     2     991004/0000F009                          0  0      NONE
> SLPRS       
>     3     991004/0000F009                          0  0      NONE
> RN          
> 
> to display the grid then I have to specify GLEVEL=0:0 in 
> gdcntr, for example.
> How can I get around this when passing my LEVEL array?
> 
> 
> Thanks again,
> Mike
> 
> -- 
> __________________________________________________
> **************************************************
> ******          C. Michael Trexler          ******
> ******      N C State Univ. - Box 8208      ****** 
> ******  Dept. of Mar/Earth/Atmos. Sciences  ******
> ******        Research III   Rm. 100        ******
> ******        Raleigh, NC 27695-8208        ****** 
> ******        (919) 515-1447  Phone         ******   
> ******         (919) 515-1683  Fax          ******
> **************************************************
> --------------------------------------------------
> ******        address@hidden       ******
> __________________________________________________
>