[gradsusr] Re : Viewing Climate Indices Created with CDO
Bamba Sylla
syllabamba at yahoo.fr
Thu Apr 28 05:54:42 EDT 2011
Hi,
I guess it's because the variable name is too long. I suggest you do "q file" and whatever variable name it returns you display it.
Hope this will help
cheers
***************************************************
Mouhamadou Bamba SYLLA, PhD
Post-Doc Fellow, Earth System Physics
International Centre for Theoretical Physics
Strada Costiera 11, 34100 Trieste, Italy
Office tel: 0039 040 2240 385
Cell: 0039 34 71 94 06 55
emails: msylla at ictp.it, syllabamba at yahoo.fr
***************************************************
________________________________
De : sarah okeefe <sarahanneokeefe at gmail.com>
À : gradsusr at gradsusr.org
Envoyé le : Jeudi 28 Avril 2011 11h18
Objet : Re : [gradsusr] Viewing Climate Indices Created with CDO
Hi, I am a beginning user of GRADS and would really appreciate some help.
I took a model run and performed an operation using CDO that gave me the number of consecutive dry days for each grid box for the time period selected. I then open this in GRADS. When I try to view the results on a map GRADS keeps giving me an error that indicates index is not a variable name. I tried to open the file in XCONV to modify the variable name - but XCONV won't open the file. As a beginning user my skill set to solve these problems is quite limited. Does anyone know what I should do?
GRADS COMMAND: d consecutive_dry_days_index_per_time_period
GRADS RESPONSE
Syntax Error: Invalid Operand
'consecutive_dry_d' not a variable or function name
Error ocurred at column 1
DISPLAY error: Invalid expression
Expression = consecutive_dry_days_index_per_time_period
FILE INFO
ncdump echam5.dryindex.2081-2100.nc | more
netcdf echam5.dryindex.2081-2100 {
dimensions:
lon = 192 ;
nv = 2 ;
lat = 96 ;
time = UNLIMITED ; // (1 currently)
variables:
double lon(lon) ;
lon:long_name = "longitude" ;
lon:units = "degrees_east" ;
lon:standard_name = "longitude" ;
lon:axis = "X" ;
lon:bounds = "lon_bounds" ;
double lon_bounds(lon, nv) ;
double lat(lat) ;
lat:long_name = "latitude" ;
lat:units = "degrees_north" ;
lat:standard_name = "latitude" ;
lat:axis = "Y" ;
lat:bounds = "lat_bounds" ;
double lat_bounds(lat, nv) ;
double time(time) ;
time:units = "minutes since 1955-01-01 00:00:00" ;
time:calendar = "proleptic_gregorian" ;
float consecutive_dry_days_index_per_time_period(time, lat, lon) ;
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110428/bf72fff1/attachment-0003.html
More information about the gradsusr
mailing list