<font style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">Dear users, <BR><BR>I get the following error when&nbsp; I run the STNMAP utility to create a station map file. I am unable to figure out the cause of the error.<BR><BR>
<DIV><FONT color=#008000><FONT color=#000000>
<P><STRONG><EM>C:\FORTRAN&gt;stnmap -i stid.ctl<BR>&nbsp; Name of binary data set: c:/fortran/rain2.dat<BR>&nbsp; Number of times in the data set: 2<BR>&nbsp; Number of surface variables: 1<BR>&nbsp; Number of level dependent variables: 0</EM></STRONG></P>
<P><STRONG><EM>Starting scan of station data binary file.<BR>Binary data file open: c:/fortran/rain2.dat</EM></STRONG></P>
<P><STRONG><EM>Processing time step 1<BR>&nbsp; Invalid station hdr found in station binary file<BR>&nbsp; Possible causes:&nbsp; Invalid level count in hdr<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Descriptor file mismatch<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File not station data<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Invalid relative time<BR>&nbsp;&nbsp;&nbsp; levs = 1110441984&nbsp; flag = -1029177344&nbsp; time = 8.85621e-43</EM></STRONG></P>I have attached the control file (stid.ctl), the sample fortran code I used to write the station data into binary form (stid.for), and the original ststion data (pcp.prn)&nbsp;for&nbsp;your&nbsp;reference. I using windows and gfortran compiler.<BR><BR>Thanks<BR><STRONG><EM>----------------------------<BR></EM></STRONG></FONT><STRONG><EM>ZABLONE OWITI<BR></EM></STRONG></FONT><FONT face=Tahoma><EM>College of Atmospheric Science<BR>Nanjing University of Information, Science and Technology<BR>Add: 219 Ning Liu Rd, Nanjing, Jiangsu, 21004, P.R. China<BR></EM></FONT><FONT color=#333333 face="Courier New">Tel: +86-25-58731402<BR>Fax: +86-25-58731456</FONT></DIV>
<DIV><STRONG><EM><FONT face="Courier New">Mob. 15077895632</FONT></EM></STRONG></DIV>
<DIV><STRONG><EM><FONT face="Courier New">Website: </FONT><A href="http://www.nuist.edu.cn/" rel=nofollow target=_blank><FONT face="Courier New">www.nuist.edu.cn</FONT></A><BR></EM></STRONG><EM><STRONG>====================================================<BR></STRONG></EM></DIV></font>