10 extern char shef_source[50];
13 extern char fmaz_file[100];
14 extern struct map map[1500];
18 char *spaces,xbuf[300],mbuf[100];
38 year=gmtim->tm_year+1900;
39 month=gmtim->tm_mon+1;
55 sprintf(
fbuf,
"%s%02d-%02d-%02d",fmaz_file,gmtim->tm_mon+1,gmtim->tm_mday,
68 chmod(
fbuf,S_IRUSR | S_IWUSR |
81 if(wfo_orig !=
map[
ib].owner)
103 strcat(xbuf,
map[
ib].hb5);
107 xbuf[
i++]=toupper(xbuf[
i]);
110 if(strcmp(rfc,
"cbrfc")==0 &&
111 strlen(
map[
ib].hb5)==7) {
113 printf(
"polygon write\n");
122 if(
j==0 && numzones != 1) {
131 else if(
j==0 && numzones == 1) {
166 sprintf(mbuf,
" %04d%02d%02d",gmtim->tm_year+1900,
167 gmtim->tm_mon+1,gmtim->tm_mday);
170 sprintf(mbuf,
" DH12/DC%s00/HZIF%cZZ/DIH+6",
171 dcbuf,shef_source[0]);
183 if(
map[
ib].zmaps_done[
k]==1) {
struct tm * gmttime(time_t *secs)
sprintf(fbuf,"/usr/mapper/nexrad/ngrid.%02d-%02d-%02d-%02d", year, month, day, hour)
printf("fbuf is %s\n", fbuf)