I have updated the r.fill.dir (needed to generate sinkless
DEMS) partly to FP: the C-code should manage the existing
raster types now using the idea of Huidae Cho (recently
re-posted by Eric).
However, the core algorithm is Fortran which I don't
know. This needs to be updated to FP as well. For
a Fortram programmer this might be a snap...
The "new" code is now at:
src/raster/r.fill.dir2
I would be glad if someone could look into that. Such algorithm
is quite important (especially to have it accepting FP DEMs).
Many thanks in advance,
Markus
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
I'm hacking at it in a bit....should know how hard it'll be shortly.
It's a part of the swatgrass interface now as well.
Bruce
Markus Neteler wrote:
Hi all,
I have updated the r.fill.dir (needed to generate sinkless
DEMS) partly to FP: the C-code should manage the existing
raster types now using the idea of Huidae Cho (recently
re-posted by Eric).
However, the core algorithm is Fortran which I don't
know. This needs to be updated to FP as well. For
a Fortram programmer this might be a snap...
The "new" code is now at:
src/raster/r.fill.dir2
I would be glad if someone could look into that. Such algorithm
is quite important (especially to have it accepting FP DEMs).
Many thanks in advance,
Markus
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
I looked at this too to see if I could help. I noticed that main.c
starts an executable called "direct_for". With the naming convention
used elsewhere in the code it seemed like there should be a file named
"direct.f" in the CVS tree, but I don't see one. What did I miss?
Roger Miller
Lee Wilson and Associates
On Tue, 19 Dec 2000, B. Byars wrote:
I'm hacking at it in a bit....should know how hard it'll be shortly.
It's a part of the swatgrass interface now as well.
Bruce
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
On Tue, Dec 19, 2000 at 09:44:03AM -0700, Roger S. Miller wrote:
I looked at this too to see if I could help. I noticed that main.c
starts an executable called "direct_for". With the naming convention
used elsewhere in the code it seemed like there should be a file named
"direct.f" in the CVS tree, but I don't see one. What did I miss?
Hi,
the fortran code is in
src/raster/r.fill.dir2/cmd
If you compile, the direct_for and friends are generated:
gmake5
[...]
g77 -c fmt_un.f -o OBJ.i686-pc-linux-gnu/fmt_un.o
g77 -s OBJ.i686-pc-linux-gnu/fmt_un.o -o /usr/local/grass5/etc/fill/fmt_un
g77 -c un_fmt_fill.f -o OBJ.i686-pc-linux-gnu/un_fmt_fill.o
g77 -s OBJ.i686-pc-linux-gnu/un_fmt_fill.o -o /usr/local/grass5/etc/fill/un_fmt_fill
[...]
They go into $GISBASE/etc/fill/
Maybe this code doesn't meet the naming convention, so feel free to rename
the files. It's code from Srinivasan (1991) which I copied from the
src.answers section.
Markus
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'