3 char *
mon[]={
"jan",
"feb",
"mar",
"apr",
"may",
"jun",
"jul",
"aug",
"sep",
"oct",
"nov",
"dec"};
9 extern int isohyets_used;
10 int i,
j,ier,maxj,maxi,max_value,
k,kk;
14 char *p,kbuf[20000],
fbuf[100];
24 printf(
"could not allocate isoh space\n");
68 isoh->
value=(
short int***) calloc(24,
sizeof(
short int **));
72 printf(
"no memory for isoh array\n");
79 isoh->
value[
k]=(
short int **)calloc(maxi,
sizeof(
short int *));
83 printf(
"no memory for isoh array\n");
96 printf(
"no memory for isoh array\n");
103 isoh->
value[
k][
i]=(
short int *) calloc(maxj,
sizeof(
short int));
107 printf(
"no memory for isoh array\n");
112 isoh->
value[
k+12][
i]=(
short int *) calloc(maxj,
sizeof(
short int));
116 printf(
"no memory for isoh array\n");
129 for(
j=0;
j<maxj;
j++) {
131 for(
i=0;
i<maxi;
i++) {
134 lon=max_lon-(float)
i*delta_lon;
165 for(
j=0;
j<maxj;
j++) {
167 fread(kbuf,
sizeof(
char),maxi*5,
fp);
173 for(
i=0;
i<maxi;
i++) {
189 for(kk=0;kk<12;kk++) {
199 for(
j=0;
j<maxj;
j++) {
200 for(
i=0;
i<maxi;
i++) {
211 for(
j=0;
j<maxj;
j++) {
212 for(
i=0;
i<maxi;
i++) {
void get_isohyet_coord(char *fname, int smonth, int emonth)
void get_isoh_pixels(int i, int j, float lat, float lon)
int is_good(int k, int smonth, int emonth)
sprintf(fbuf,"/usr/mapper/nexrad/ngrid.%02d-%02d-%02d-%02d", year, month, day, hour)
printf("fbuf is %s\n", fbuf)