<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi &nbsp;All.&nbsp;<div><br></div><div><span style="color: rgb(68, 68, 68); font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; font-size: 15px; line-height: 21.2999992370605px; background-color: rgb(255, 255, 255);">I have 8 RF data files (TRMM) and I need to accumulate this Rainfall for selected files. I have used following script. Following is the ctl file and below is gs file. rfaccum.ctl file::::::::::::::::::::::::</span></div><div><span style="color: rgb(68, 68, 68); font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; font-size: 15px; line-height: 21.2999992370605px; background-color: rgb(255, 255, 255);">It looks like,&nbsp;</span></div><div><span style="color: rgb(68, 68, 68); font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; font-size: 15px; line-height: 21.2999992370605px; background-color: rgb(255, 255, 255);">DSET ^3B42.1104%d2.%h2z.7.precipitation.bin</span></div><div><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">options template</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">TITLE Precipitation estimates</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">UNDEF -9999.9</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">XDEF 1440 LINEAR -179.875 0.25</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">YDEF 400 LINEAR -49.875 0.25</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">ZDEF 1 LEVELS 1000</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">TDEF 8 LINEAR 06z22apr2011 3hr</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">VARS 1</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">data 0 99 3B42 TRMM precipitation estimates [mm/3hr]</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">ENDVARS</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">GS FILE ______________________:::::::::::::::::::::::::::::::::::</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">'reinit''</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">open rfaccum.ctl''</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">define rf1=data(t=1)'</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">'define rf2=data(t=2)'</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">'define rf3=data(t=3)'</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">'define rf4=data(t=4)'</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">'define rf5=data(t=5)''</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">define rf6=data(t=6)'</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">'define rf7=data(t=7)'</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">'define rf8=data(t=8)'</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">'define rf=rf1+rf2+rf3+rf4+rf5+rf6+rf7+rf8'</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">'d rf'</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">'set gxout fwrite'</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">'set fwrite Obs22apr2011.bin'</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">'d rf'</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">'disable fwrite'</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">~The plot of accumulated RF is fine. but when I plot the Obs22apr2011.bin, there is a change in the PLOT can U pls help me. I am attaching the two plots(Figure1.gif and Fig2.gif) these FIGURES are so much different. The file Sizes are also different<br style="line-height: 21.2999992370605px;"><br></pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">-rw-r--r-- 1 model staff 2304000 Jan 27 14:17 3B42.110423.00z.7.precipitation.bin</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">-rw-r--r-- 1 model staff 2304000 Jan 27 14:18 3B42.110423.03z.7.precipitation.bin</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">-rw-r--r-- 1 model staff 2304000 Jan 27 14:22 3B42_daily.2011.04.22.7.bin</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">-rw-r--r-- 1 model staff 2307200 Jan 27 15:50 Obs22apr2011.bin</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">bash-3.2$</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">Following ctl file is used for plotting the DAILY data</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">dset Obs22apr2011.bin&nbsp;</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;"><span style="line-height: 21.2999992370605px;">TITLE Precipitation estimates</span></pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">UNDEF -9999.9</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">XDEF 1440 LINEAR -179.875 0.25</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">YDEF 400 LINEAR -49.875 0.25</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">ZDEF 1 LEVELS 1000</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">TDEF 1 LINEAR 00z22apr2011 1dy</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">VARS 1 data 0 99 3B42 TRMM precipitation estimates [mm/3hr]</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">ENDVARS</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">~dailyrf.ctl" 11 lines, 305 characters<br style="line-height: 21.2999992370605px;">Can someone suggest???</pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;"><br></pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;">Geeta</pre></pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><br></pre><pre style="line-height: 21.2999992370605px; white-space: normal; font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><br></pre></div>                                               </div></body>
</html>