[gradsusr] Trouble displaying data from netcdf file

Brian.Hoeth at noaa.gov Brian.Hoeth at noaa.gov
Wed Oct 20 14:06:03 EDT 2010


Jennifer,

Your suggestions worked, thank you very much!
  
Brian Hoeth
NWS Spaceflight Meteorology Group
Johnson Space Center
Houston, TX
281-483-3246


>  >  Message: 1
>  >  Date: Tue, 19 Oct 2010 16:44:19 -0400
>  >  From: Jennifer Adams <jma at cola.iges.org>
>  >  Subject: Re: [gradsusr] Trouble displaying data from netcdf file
>  >  To: GrADS Users Forum <gradsusr at gradsusr.org>
>  >  Message-ID: <83639431-6BF9-4621-99DA-9F2FB4479837 at cola.iges.org>
>  >  Content-Type: text/plain; charset="us-ascii"
>  >  
>  >  In the ncdump output, you have this:
>  >        float mslp(record, levels_1, y, x) ;
>  >  
>  >  which means the variable has 4 dimensions, so you need to change 
> your 
>  >  
>  >  variable declaration in the descriptor file from
>  >        mslp=>mslp 1 Y,X Mean Sea Level Pressure (Pa)
>  >  to
>  >        mslp=>mslp 1 t,z,y,x Mean Sea Level Pressure (Pa)
>  >  
>  >  Similar changes may be required for other variables. Also, it 
> isn't  
>  > 
>  >  necessary to alias the variable name to the identical thing. The  
> 
>  >  native varname is compliant with GrADS requirements, so you can 
>  > change  
>  >  "mslp=>mslp" to just "mslp".
>  >  
>  >  --Jennifer
>  >  
>  >  On Oct 19, 2010, at 3:00 PM, Brian.Hoeth at noaa.gov wrote:
>  >  
>  >  > Hello,
>  >  >
>  >  > I'm having troubles displaying data from a netcdf file.  I'm 
> sure  
>  > 
>  >  > there is an error in my index file, but I just don't know what 
> I'm  
>  > 
>  >  > missing?
>  >  >
>  >  > I've attached the output of ncdump -c (ncdump.txt), my control 
> file 
>  >  
>  >  > (adas_ncdf.ctl), and my grads session (gradsout.txt).
>  >  >
>  >  > Thanks in advance for your help!>  > Brian Hoeth
>  >  > NWS Spaceflight Meteorology Group
>  >  > Johnson Space Center
>  >  > Houston, TX
>  >  > 281-483-3246
>  >  >
>  
>  >  >
>  >  >
>  >  >
>  >  > < 
>  >  > adas_ncdf 
>  >  > .ctl 
>  >  > > 
>  >  > < 
>  >  > gradsout 
>  >  > .txt><ncdump.txt>_______________________________________________
>  >  > gradsusr mailing list
>  >  > gradsusr at gradsusr.org
>  >  > 
>  >  
>  >  --
>  >  Jennifer M. Adams
>  >  IGES/COLA
>  >  4041 Powder Mill Road, Suite 302
>  >  Calverton, MD 20705
>  >  jma at cola.iges.org
>  >  
>  >  
>  >  
>  >  -------------- next part --------------
>  >  An HTML attachment was scrubbed...
>  >  URL:  
>  >  
>  >  ------------------------------
>  >  



More information about the gradsusr mailing list