<P>Dear Kishore,</P>
<P>Thank you for your remind. I'm sorry for my unclearly expression. </P>
<P>I want to get the timeseries of average pdsi value about china, next is the gs file I once used which was not precisely about china:<BR>'sdfopen d:/grads/mada/data.cdf'<BR>'set lon 73.66'<BR>'set lat 4'<BR>'set lev 0 0'<BR>'set e 1 1'<BR>'set t 114 121'<BR>'define mpdsi=tloop(aave(pdsi,lon=73.66,lon=135.08,lat=4,lat=53.52))'<BR>'set xlopts 1 5 0.25'<BR>'set ylopts 1 5 0.15'<BR>'set gxout line'<BR>'set cthick 7'<BR>'set grads off'<BR>'d mpdsi'<BR>'draw title MADA,IVI2 event_1416'<BR>'printim d:/grads/mada/event_1416.png white x1600 y1200'<BR>;<BR></P>
<P>then after saw the method, I tried it to make my timeseries precisely about china, as the pdsi data are in a <SPAN lang="EN-US"><FONT color="#ff0000" face="Calibri">2.5</FONT></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-fareast-font-family: 宋体; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast"><FONT color="#ff0000">°regular grid</FONT>, I set the xsize and ysize in meteoinfo to <FONT color="#ff0000">both 2.5</FONT>, and then get the maskout_china dat file and ctl file from meteoinfo, after that, as the ctl file of pdsi data are built-in,and after I use sdopen comman to open the data.cdf, it shows the 'time values set: 1300:6:23:18 ', and I have known its time period are from 1300 to 2005, so I changed the next part in maskout_china ctl file:<FONT color="#ff0000"> TDEF 706 LINEAR 18:00Z23JUN1300 1yr</FONT>. </SPAN></P>
<P><SPAN style="FONT-FAMILY: 宋体; mso-fareast-font-family: 宋体; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast">Then I change my gs file as below:</SPAN></P>
<P><SPAN style="FONT-FAMILY: 宋体; mso-fareast-font-family: 宋体; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast"></SPAN>'sdfopen d:/grads/mada/data.cdf'<BR>'open d:/grads/mada/maskout_china.ctl'<BR>'set lon 73.66'<BR>'set lat 4'<BR>'set lev 0 0'<BR>'set e 1 1'<BR>'set t 114 121'<BR><STRONG><FONT color="#ff0000">'define mpdsi=tloop(aave(pdsi,maskout(pdsi,mask)))'</FONT></STRONG><BR>'set xlopts 1 5 0.25'<BR>'set ylopts 1 5 0.15'<BR>'set gxout line'<BR>'set cthick 7'<BR>'set grads off'<BR>'d mpdsi'<BR>'draw title MADA,IVI2 event_1416'<BR>'printim d:/grads/mada/event_1416_precise.png white x1600 y1200'<BR>;</P>
<P>when I run the above gs file, opengrads showed: error from aave: too many or two few args 5 arguments expected operation error: error from aave function operation error: error from tloop function error occured at column 1 define error: invalid expression syntax error: invalid operand 'mpdsi' not a variable or function name error occured at column 1 display error: invalid expression expression = mpdsi</P>
<P>Maybe I just didn't know how to use the maskout_china dat and ctl file correctly in my gs file, or the modification of maskout_china ctl file I made have some errors? I don't know why it shows so many errors in the next while it can be done in the above one. Any guidance or tip? Thank you very much!</P>
<P>Looking forward to your reply! Best regards!</P>
<P>Zhihong</P>
<P> </P>
<P> </P>
<P><BR><SPAN>--<BR></SPAN></P>
<P> Zhihong Zhuo,Postgraduate Student</P>
<P><FONT face="Times New Roman"> College of Environmental and Resource Sciences, Zhejiang University</FONT></P>
<P><FONT face="Times New Roman">Address: 866 Yuhangtan Road, Hangzhou, China</FONT></P>
<P><FONT face="Times New Roman">Email: <A href="mailto:fairyes@zju.edu.cn" target="_blank">fairyes@zju.edu.cn</A></FONT></P>
<P><FONT face="Times New Roman"></FONT> </P>