2 bugs in r.le programs version 2.05
BAKERWL
BAKERWL at corral.uwyo.edu
Mon Sep 13 20:25:57 EDT 1993
There are two bugs in version 2.05 of the r.le programs:
1. "G_calloc out of memory" error message occurs when using
r.le.dist or r.le.patch to create moving window maps (sam=M) with
large map sizes. Fix as follows:
After line 76 of trace.c in r.le.dist and line 77 of trace.c
in r.le.dist insert as follows:
line 76 (77) - patch_list=patch_list->next;
INSERT - free(list_head->col);
INSERT - free(list_head->row);
old line 77 free(list_head);
2. When choosing the "centered over sites" option in r.le.setup
when running the r.le programs under GRASS 4.1, the program fails to be
able to place the sampling units over the sites. Fix as follows:
After line 479 in sample.c of r.le.setup, remove 2 lines as
follows:
line 479 - printf("\nCannot open sites file %s\n",sites_file_name);
REMOVE - G_get_set_window(®ion);
REMOVE - D_do_conversions(®ion,top,bot,left,right);
After line 114 in main.c of r.le.setup, insert as follows:
line 114 - D_show_window(D_translate_color("green"));
INSERT - D_setup(0);
old line 115 R_close_driver();
These bugs will be fixed in the next release. Please E-mail me directly
if you encounter other problems with the r.le programs.
Bill Baker
bakerwl at corral.uwyo.edu
Univ. of Wyoming
Dept. of Geography
Laramie, WY 82071
More information about the grass-user
mailing list