11 int j,k,ier,m,
qual,len,len2;
12 char kbuf[100],*p,*q,*r,buf[100],
hb5[10];
19 char pc,datbuf[50],parmbuf[50];
28 pdata[i].
ztime=(gm->tm_year+1900)*10000+(gm->tm_mon+1)*100+gm->tm_mday;
74 if(kbuf[0]==
'.' && kbuf[1]==
'E')
77 if(kbuf[0]==
'.' && kbuf[1]==
'A')
80 ier=sscanf(&kbuf[2],
"%s %s %s",hb5,datbuf,parmbuf);
84 p=strchr(parmbuf,
'/');
92 if(strcmp(hb5,
station[j].hb5)==0 &&
143 for(k=startk;k<maxk;k++) {
147 if((p=strchr(q,
'/'))==NULL &&
148 (p=strchr(q,
'\n'))==NULL)
155 if((p=strchr(buf,
'.'))==NULL) {
157 if((p=strchr(buf,
'm'))!=NULL ||
158 (p=strchr(buf,
'M'))!=NULL) {
236 if(number_found[j] == 0)
printf("pcp %d\n", pcp_in_use[103])
int read_precip_a(char *fname, time_t tget, int i)