NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
*** radar_grid.c.dst Tue Feb 16 15:50:54 2010 --- radar_grid.c Wed Jul 14 12:58:01 2010 *************** *** 238,246 **** ystart = (int)YB; ystop = (int)YT;/*printf("look xstart %d xstop %d ystart %d ystop %d\n",xstart,xstop,ystart,ystop);*/
! if(((xstop - xstart)*(ystop - ystart)) > xcsiz) { ! xcsiz = (xstop - xstart)*(ystop - ystart);printf("increasing MAXNEX to %d [%d %d %d %d]\n",xcsiz,xstop,xstart,ystop,ystart);
xin = (float *)realloc(xin, xcsiz*sizeof(float)); xout = (float *)realloc(xout, xcsiz*sizeof(float)); --- 238,246 ---- ystart = (int)YB; ystop = (int)YT;/*printf("look xstart %d xstop %d ystart %d ystop %d\n",xstart,xstop,ystart,ystop);*/
! if(((xstop - xstart + 1)*(ystop - ystart + 1)) > xcsiz) { ! xcsiz = (xstop - xstart + 1)*(ystop - ystart + 1);printf("increasing MAXNEX to %d [%d %d %d %d]\n",xcsiz,xstop,xstart,ystop,ystart);
xin = (float *)realloc(xin, xcsiz*sizeof(float)); xout = (float *)realloc(xout, xcsiz*sizeof(float)); -- Dr. Harry Edmon E-MAIL: harry@xxxxxx 206-543-0547 FAX: 206-543-0308 harry@xxxxxxxxxxxxxxxxxxxx Director of IT, College of the Environment and Director of Computing, Dept of Atmospheric Sciences University of Washington, Box 351640, Seattle, WA 98195-1640
gembud
archives: