[gradsusr] temporal correlation map between model and observation
mehwish ramzan
mehwish.ramzan at gmail.com
Sun Feb 12 19:51:04 EST 2017
Dear GrADS users,
I am trying to calculate the temporal correlation between model and
observation precipitation for one season using monthly precipitation data.
Due to the difference in resolution of both datasets, i used cdo to convert
them into same resolution (i tried lterp of grads l but it didn't work).
cdo intgrid,obs_jja.nc model_res_jja.nc model_jja.nc
(note that i moved obs_jja.nc and model_jja.nc into new directory and merge
both files into one using)
cdo merge *.nc jja.nc
ga-> sdfopen jja.nc
ga-> set x 1
LON set to 11.875 11.875
ga-> set y 1
LAT set to -15.125 -15.125
ga-> set t 1 3
Time values set: 2005:6:1:0 2005:8:1:0
ga-> define model= prec
Define memory allocation size = 24 bytes
ga-> set lon 12 123
LON set to 12 123
ga-> set lat -15 45
LAT set to -15 45
ga-> set t 1 3
Time values set: 2005:6:1:0 2005:8:1:0
ga-> define obs= pr
Define memory allocation size = 2590368 bytes
ga-> set t 1
Time values set: 2005:6:1:0 2005:6:1:0
ga-> d tcorr(model, obs, t=1, t=3)
TCORR: dim = 3, start = 1, end = 3
Cannot contour grid - all undefined values
I can visualize both variables individually but the tcorr doesn't work.
Please guide me.
Thank you
With Best Regards,
Mehwish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170213/27eda9f8/attachment.html
More information about the gradsusr
mailing list