Project

General

Profile

ECACDD - Consecutive dry days index per time period

Added by Juan Bazo about 11 years ago

I tried calculate climate indices with CDO, I use a climate model data, when I tried to open in grads I have two variables but one say uld be difined.

ga-> q file
File 1 :
Descriptor: rtRegEch1959_ZSE_ecacdd.nc
Binary: rtRegEch1959_ZSE_ecacdd.nc
Type = Gridded
Xsize = 1 Ysize = 1 Zsize = 1 Tsize = 1 Esize = 1
Number of Variables = 2
uld be defined 0 t,y,x Consecutive dry days is the greatest number of consecutive days per time period with daily precipitation amount below 1 mm. Th
number_of_cdd_p 0 t,y,x Number of cdd periods in given time period with more than 5 days. The time period should be defined by the bounds of the time c


Replies (3)

RE: ECACDD - Consecutive dry days index per time period - Added by Jaison-Thomas Ambadan about 11 years ago

Hi,

here is from my GrADS Version 2.0.a3

> q file                                                                                                                                                                                                                                 
File 1 : 
  Descriptor: rtRegEch1959_ZSE_ecacdd.nc
  Binary: rtRegEch1959_ZSE_ecacdd.nc
  Type = Gridded
  Xsize = 1  Ysize = 1  Zsize = 1  Tsize = 1  Esize = 1
  Number of Variables = 2
    consecutive_dry 0 -103 Consecutive dry days is the greatest number of consecutive days per time period with daily precipitation amount  below 1 mm. Th
    number_of_cdd_p 0 -103 Number of cdd periods in given time period with more than 5 days. The time period should be defined by the bounds of the time c
ga-> d consecutive_dry
Result value = 31 
ga-> d number_of_cdd_p
Result value = 108 
ga->

and here is my cdo (v1.6.x) output

cdo info rtRegEch1959_ZSE_ecacdd.nc 
    -1 :       Date     Time   Level Gridsize    Miss :     Minimum        Mean     Maximum : Parameter ID
     1 : 1990-12-31 12:00:00       0        1       0 :                  31.000             : -1         
     2 : 1990-12-31 12:00:00       0        1       0 :                  108.00             : -2         
cdo info: Processed 2 values from 2 variables over 1 timestep ( 0.01s )

I don't think it's a CDO problem.

Cheers,
J

RE: ECACDD - Consecutive dry days index per time period - Added by Ralf Mueller about 11 years ago

grads uses a limited number of characters to represent the variable name. their names are not consecutive_dry and number_of_cdd_p, but:

[ram@thingol:~/tar/downloads]cdo infov rtRegEch1959_ZSE_ecacdd.nc
    -1 :       Date     Time   Level Gridsize    Miss :     Minimum        Mean     Maximum : Parameter name
     1 : 1990-12-31 12:00:00       0        1       0 :                  31.000             : consecutive_dry_days_index_per_time_period
     2 : 1990-12-31 12:00:00       0        1       0 :                  108.00             : number_of_cdd_periods_with_more_than_5days_per_time_period
cdo infon: Processed 2 values from 2 variables over 1 timestep ( 0.00s )

    (1-3/3)