[RegCNET] Conversion

Afzaal Karori afzaalkarori at yahoo.com
Thu Jun 15 07:35:28 CEST 2006


Dear All

I converted realtime precipitation data from text
format, containing 23 rows and 4 columns, into binary.
Now I want to convert it into NetCDF, for comparison
study. For this purpose I am using Lats4d script, but
when I use the command it does not work and gives
following error;

[root at localhost abc]# gradsnc

Grid Analysis and Display System (GrADS) Version
1.8SL11
Copyright (c) 1988-2001 by Brian Doty
Center for Ocean-Land-Atmosphere Studies
Institute for Global Environment and Society
All Rights Reserved

Config: v1.8SL11 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-> lats4d -v -q -i predictand.ctl -o predictand
lats4d: Version 1.4 of 19 Dec 2002
No hardcopy metafile open
All files closed; all defined objects released
All GrADS attributes have been reinitialized
lats4d: Data file is
File 1 : SEASONAL FORECAST OF DCD/NCC
  Descriptor: predictand.ctl
  Binary: fou
  Type = Gridded
  Xsize = 4  Ysize = 1  Zsize = 1  Tsize = 33
  Number of Variables = 1
    p 0 99 predictand

lats4d: Dimension environment file same as data file
lats4d: creating LATS PARAMETER TABLE file
.grads.lats.table
lats4d: time range: 00Z01MAR1983 00Z01MAR1983 by 1,
delta t: 1 yearly
lats4d: vertical levels:  100000
lats4d: using PRESSURE for vertical coordinate
lats4d: latitudinal  range: 87.975 87.975
lats4d: longitudinal range: 0 5.625
GrADS-LATS Error:  the grid must be lon/lat
lats4d: error creating coards file predictand.nc
lats4d: exiting from GrADS...
No hardcopy metafile open
GX package terminated

                          ***************************
  MUHAMMAD AFZAAL KARORI
  Meteorologist,
  Research and Development Division,
  Pakistan Meteorological Department,
  Sector H-8/2, P O Box 1214,
  Islamabad - Pakistan
  Phone: + 92 - 51 - 9250360,61,62,63
  Cell: +923345081048 
  ***************************















__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the RegCNET mailing list