<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div id="yiv101665588"><table cellspacing="0" cellpadding="0" border="0" id="bodyDrftID" class=""><tbody><tr><td id="drftMsgContent" style="font:inherit;"><div id="yiv638300575"><span class="Apple-style-span" style="font-size:medium;">&nbsp;&nbsp;Hi there! Could anyone just help me with this task?</span></div><div id="yiv638300575"><span class="Apple-style-span" style="font-size:medium;"><br></span></div><div id="yiv638300575"><span class="Apple-style-span" style="font-size:medium;">&nbsp;&nbsp;<b>The fact</b><b>:</b> I have 7 years of precipitation data which is organized as hourly binary files. For example, file "2003010101" would be the information from 00 to 01h of 1st January 2003 and so on. Attached is a example of a descriptor file to read the dataset. There are some gaps in this dataset, which are not frequent. But missing files do
 exist.</span></div><div id="yiv638300575"><br></div><div id="yiv638300575">&nbsp;Note: in order to get values in mm/hr, it is necessary to multiply the varabile by 0.2. This will result in mm/hr precipitation values.</div><div id="yiv638300575"><span class="Apple-style-span" style="font-size:medium;"><br></span></div><div id="yiv638300575"><span class="Apple-style-span" style="font-size:medium;">&nbsp;&nbsp;<b>What I need</b><b>:</b> to create daily accumulated values and write them to a ascii file which have to contain the coordinate values, the precipitation itself and the also the day (q time should solve?).</span></div><div id="yiv638300575"><br></div><div id="yiv638300575">&nbsp;Note: is it necessary to deal with the gap files so the daily totals are not erratic?</div><div id="yiv638300575"><span class="Apple-style-span" style="font-size:medium;"><br></span></div><div id="yiv638300575"><span class="Apple-style-span"
 style="font-size:medium;">&nbsp;&nbsp;Any helpful thought to write this script?</span></div><div id="yiv638300575"><br></div><div id="yiv638300575">&nbsp;&nbsp;Thanks in advance!</div></td></tr></tbody></table></div></td></tr></table><br>