q dims

Semyon Grodsky senya at ATMOS.UMD.EDU
Thu Jan 25 10:33:02 EST 2007


Dear GRADS developers,
I 'd like to bring your attention to a minor bug (I guess) in
q dims
command.

If vertical coordinate doesn't vary and an appropriate line in CTL file
file is

zdef 1 linear 0 0
(like in daily N/N reanalysis files available at NOAA/CDC ftp site)

the <q dims > command returns
Z is fixed     Lev = 0  Z = nan
instead of
Z is fixed     Lev = 0  Z = 1

see below.
--Senya
P.S. I run GRADS 1.9b3 on Linux machine.

ga-> open lhtfl
Scanning description file:  lhtfl
Data file lhtfl.sfc.gauss.%y4.nc is open as file 1
LON set to 0 360
LAT set to -88.542 88.542
LEV set to 0 0
Time values set: 1948:1:1:0 1948:1:1:0

ga-> q ctlinfo
dset lhtfl.sfc.gauss.%y4.nc
title mean daily NMC reanalysis
undef -9.96921e+36
xdef 192 linear 0 1.875
ydef 94 levels -88.542 -86.6531 -84.7532 -82.8508 -80.9473 -79.0435
-77.1394 -75.2351
  -73.3307 -71.4262 -69.5217 -67.6171 -65.7125 -63.8079 -61.9033 -59.9986
-58.0939 -56.1893
  -54.2846 -52.3799 -50.4752 -48.5705 -46.6658 -44.7611 -42.8564 -40.9517
-39.047 -37.1422
  -35.2375 -33.3328 -31.4281 -29.5234 -27.6186 -25.7139 -23.8092 -21.9044
-19.9997 -18.095
  -16.1902 -14.2855 -12.3808 -10.476 -8.57131 -6.66657 -4.76184 -2.8571
-0.952368 0.952368
  2.8571 4.76184 6.66657 8.57131 10.476 12.3808 14.2855 16.1902 18.095
19.9997
  21.9044 23.8092 25.7139 27.6186 29.5234 31.4281 33.3328 35.2375 37.1422
39.047
  40.9517 42.8564 44.7611 46.6658 48.5705 50.4752 52.3799 54.2846 56.1893
58.0939
  59.9986 61.9033 63.8079 65.7125 67.6171 69.5217 71.4262 73.3307 75.2351
77.1394
  79.0435 80.9473 82.8508 84.7532 86.6531 88.542
zdef 1 linear 0 0
tdef 21185 linear 00Z01JAN1948 1440mn
vars 1
lhtfl 0 -103,-101,-100 mean daily latent heat flux at the surface W/m^2

ga-> q dims
Default file number is: 1
X is varying   Lon = 0 to 360   X = 1 to 193
Y is varying   Lat = -88.542 to 88.542   Y = 1 to 94
Z is fixed     Lev = 0  Z = nan
T is fixed     Time = 00Z01JAN1948  T = 1


-----------------------------------------------------------
Semyon Grodsky
Computer and Space Science Building (Bldg. #224), Room 2409
Department of Atmospheric and Oceanic Science
University of Maryland
College Park, MD 20742

Phone:  301-405-5330
Fax:    301-314-9482
E-mail: senya at atmos.umd.edu



More information about the gradsusr mailing list