3 int read_t_a(
char *fname,time_t tget,
int i)
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];
32 tdata[i].
ztime=(gm->tm_year+1900)*10000+(gm->tm_mon+1)*100+gm->tm_mday;
80 ier=sscanf(&kbuf[2],
"%s %s %s",hb5,datbuf,parmbuf);
84 p=strchr(parmbuf,
'/');
97 else if(*(p+6)==
'N') {
120 if(strcmp(hb5,
tstation[j].hb5)==0 &&
136 for(k=0;k<kread;k++) {
149 for(k=startk;k<maxk;k++) {
153 if((p=strchr(q,
'/'))==NULL &&
154 (p=strchr(q,
'\n'))==NULL)
159 strcpy(buf,q+offset);
161 if((p=strchr(buf,
'm'))!=NULL ||
162 (p=strchr(buf,
'M'))!=NULL) {
183 if(isalpha(*r) != 0) {
185 if(*r==
'S' || *r==
'A')
224 if(number_found[j] == 0)
struct station tstation[1000]
int read_t_a(char *fname, time_t tget, int i)