10 extern char shef_source[50];
13 extern char fmap_file[100];
14 extern struct map map[1500];
18 char *spaces,xbuf[300],mbuf[100];
35 month=gmtim->tm_mon+1;
38 year=gmtim->tm_year+1900;
47 sprintf(
fbuf,
"%s%02d-%02d-%02d",fmap_file,gmtim->tm_mon+1,gmtim->tm_mday,
60 chmod(
fbuf,S_IRUSR | S_IWUSR |
71 if(wfo_orig !=
map[
ib].owner)
93 strcat(xbuf,
map[
ib].hb5);
97 xbuf[
i++]=toupper(xbuf[
i]);
99 if(strcmp(rfc,
"cbrfc")==0 &&
100 strlen(
map[
ib].hb5)==7) {
102 printf(
"polygon write\n");
112 if(
j==0 && numzones != 1) {
121 else if(
j==0 && numzones == 1) {
156 sprintf(mbuf,
" %04d%02d%02d",gmtim->tm_year+1900,
157 gmtim->tm_mon+1,gmtim->tm_mday);
160 sprintf(mbuf,
" DH18/DC%04d%02d%02d%02d%02d/PPQF%cZZ/DIH+6",
173 if(
map[
ib].maps_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)