Beginning on GDS
Tony Jolibois
tjolibois at CLS.FR
Wed Mar 9 10:28:51 EST 2005
Jennifer,
I changed my mercator_test.ctl, but no success for the moment.
Please find attached the new configuration.
[opendap at las-dev gds-1.2.9]$ gradsnc
Grid Analysis and Display System (GrADS) Version 1.9b3
Copyright (c) 1988-2003 by Brian Doty
Center for Ocean-Land-Atmosphere Studies
Institute for Global Environment and Society
All Rights Reserved
Config: v1.9b3 32-bit little-endian readline sdf/xdf netcdf lats printim
Issue 'q config' command for more information.
Landscape mode? (no for portrait):
GX Package Initialization: Size = 11 8.5
ga-> open mercator_test.ctl
Scanning description file: mercator_test.ctl
Data file
/home/opendap/mercator_psy2v1_mersea_grid1o8_med_b20040128_f200402109999.nc
is open as file 1
LON set to -6 36.5
LAT set to 30 46
LEV set to 5 5
Time values set: 1989:1:3:0 1989:1:3:0
ga-> display temperature
Contouring: 8 to 19 interval 1
Tony
Jennifer Adams wrote:
> Tony --
> The dimensions of your grid (as seen in the ncdump output) are the
> following:
> dimensions:
> depth = 8 ;
> latitude = 129 ;
> longitude = 341 ;
>
> But in your descriptor file, you've got:
> XDEF 340 LINEAR -6 0.125
> YDEF 128 LINEAR 30 0.125
> ZDEF 8 LEVELS 5 30 50 100 200 500 1000 2000
>
> The sizes of the dimensions must match exactly. Change your XDEF to
> 341 and your YDEF to 129. Also, your variable declarations in your
> descriptor file are incorrect. The units field (e.g. "x,y,z,t") must
> describe the 'shape' of the variable as given in ncdump -- the order
> of the dimensions must match exactly. For example, in the ncdump
> output, the variable "u" varies in depth, latitude, and longitude,
> whereas the variable "emp" only varies in 2 dimensions:
> float u(depth, latitude, longitude) ;
> float emp(latitude, longitude) ;
> These should translate to a variable declarations like this (note the
> 2nd field repeats the number of zlevs):
> u 8 z,y,x zonal velocity [m/s]
> emp 0 y,x water flux [Kg/m2/s]
> None of the variables in your file are time-dependent, so don't
> include "t" in your variable declaraion.
>
> These changes should fix your problems.
>
> Jennifer
>
>
>
> On Mar 9, 2005, at 8:43 AM, Tony Jolibois wrote:
>
> <config_gds.tar>
>
> --
> Jennifer Miletta Adams
> IGES/COLA
> 4041 Powder Mill Rd., Suite 302
> Calverton, MD 20705
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20050309/eb8945e1/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config_gds.tar
Type: application/x-tar
Size: 20480 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20050309/eb8945e1/attachment.tar
More information about the gradsusr
mailing list