problem using sdfopen
Mukul Tewari
mukultewari at HOTMAIL.COM
Mon Jan 23 12:25:57 EST 2006
Hi,
I have 50 yrs of precip data in netcdf format. I am using the following
script to plot the difference in precip but it gives segmentation fault. If
I try to plot the difference for the first year it does it correctly. I see
the problem when I try to plot the differnce in precip for 2 different
years??? I am using the following script
------------------------------------------------
'sdfopen precip.1948.nc precip.%y4.nc 18615'
'run rgbset.gs'
'set display color white'
'c'
'set grads off'
'set grid off'
'set gxout shaded'
'set mpdset hires'
'set clevs -1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.1 0.1 0.5 0.6 0.7 0.8 0.9 1.0 1.2
1.4 1.6 1.8 2'
'set ccols 49 47 46 45 44 43 42 0 33 35 37 39 21 22 23 24 25 27 29'
'd precip (t=368) - precip (t=360)'
'run cbarn.gs'
-------------------------------------------------
thanks for the help,
Mukul
More information about the gradsusr
mailing list