<HTML><BODY>Hi Per<br /><br />a) is the resulting file (if one results) not O.K.? There are situations where warnings are issued but the file is O.K.<br /><br />b) do you have an additional "line end", i.e. is there an empty line at the end of the file (I think this is necessary).<br /><br />c) if you are on a Unix-like system: are the line ends unix-conform?<br /><br />Best<br />Achim<br /><br /><br /><br />--------- Original-Nachricht --------<br /> Von: perhaugaard@yahoo.dk<br /> An: "ESP-r_ny" <esp-r@lists.strath.ac.uk><br /> Betreff: [esp-r] Error converting climatefile<br /> Datum: 17/12/10 12:55<br /> <br /> <table border="0" cellspacing="0" cellpadding="0"><tbody><tr><td valign="top" style="font: inherit">Dear list,<br /><br />ESP-r reports the following error "Warning: In 0,33,0,22,178,83," referring to the last line in the climatefile when converting from ascii to binary format. <br /><br />Below is a summary of the
climatefile:<br /><br />*CLIMATE<br /># ascii climate file from NS3031,<br /># defined in: N_Stavanger.a<br /># col 1: Diffuse solar on the horizontal (W/m**2)<br /># col 2: External dry bulb temperature (Tenths DEG.C)<br /># col 3: Direct normal solar intensity (W/m**2)<br /># col 4: Prevailing wind speed (Tenths m/s)<br /># col 5: Wind direction (clockwise deg from north)<br /># col 6: Relative humidity (Percent)<br />STAVANGER NORGE # site name<br /> 2001,58.58,-9.59,0, # year latitude long diff rad flag<br /> 1,365, # period (julian days)<br /> 0,94,0,32,173,82,<br /> 0,93,0,27,162,68,<br /> 0,91,0,23,204,66,<br
/> 0,89,0,27,265,66,<br /> 0,87,0,26,173,66,<br /> ....<br /> 0,49,0,48,174,64,<br /> 0,45,0,42,114,61,<br /> 0,41,0,26,165,67,<br /> 0,35,0,19,118,76,<br /> 0,33,0,22,178,83,<br /><br />I have not included the optional day separator.<br /><br />Does anyone have an idea of what can be wrong?<br /><br /><br />Best regards <br /><br />Per<br /><br /></td></tr></tbody></table><br /> <br /> <br /> <hr /> <br /> _______________________________________________<br /> esp-r mailing list<br /> <a href="mailto:esp-r@lists.strath.ac.uk" class="autolink">esp-r@lists.strath.ac.uk</a><br /> <a href="http://lists.strath.ac.uk/mailman/listinfo/esp-r" target="_blank" class="autolink">http://lists.strath.ac.uk/mailman/listinfo/esp-r</a></BODY></HTML>