Hi guys!
I have seen on http://www.brc.tamus.edu/swat/, that there was a plugin
for SWAT to implement GRASS modeller.
Now the plugin is dead..Anyone is interested to port it to GRASS 6.0?
CU
Luca
Hi guys!
I have seen on http://www.brc.tamus.edu/swat/, that there was a plugin
for SWAT to implement GRASS modeller.
Now the plugin is dead..Anyone is interested to port it to GRASS 6.0?
CU
Luca
Hi,
I'm really interested in having a SWAT interface for GRASS because my
main hydrologic model is SWAT. I asked Dr. Srinivasan, who is a member
of SWAT development team, but he seems to have lost interest in further
development of the SWAT/GRASS interface. We know why :-). He didn't
reply to my email requesting the source code. The current binary was
compiled on Solaris 2.5.1 and the corresponding SWAT is a fairly old
version.
Currently, AVSWAT (for ArcView 3.x) is widely used and they are working
on ArcGIS-SWAT running on ArcGIS 9.
So I've been thinking on starting from scratch, but as you may know,
the structure of SWAT input is not that simple :-(.
What do you think?
Huidae Cho
On Thu, Jun 23, 2005 at 12:56:05PM +0200, Luca Casagrande wrote:
Hi guys! I have seen on http://www.brc.tamus.edu/swat/, that there
was a plugin for SWAT to implement GRASS modeller. Now the plugin is
dead..Anyone is interested to port it to GRASS 6.0?CU Luca
Hi all,
I am also interested in developing a new interface for
GRASS/SWAT.
The source code (even the 2000 version) is available
for download at the SWAT's webpage
(http://www.brc.tamus.edu/swat/soft_model.html)
All the best,
Jaime
--- Huidae Cho <grass4u@gmail.com> escribió:
Hi,
I'm really interested in having a SWAT interface for
GRASS because my
main hydrologic model is SWAT. I asked Dr.
Srinivasan, who is a member
of SWAT development team, but he seems to have lost
interest in further
development of the SWAT/GRASS interface. We know why
:-). He didn't
reply to my email requesting the source code. The
current binary was
compiled on Solaris 2.5.1 and the corresponding SWAT
is a fairly old
version.Currently, AVSWAT (for ArcView 3.x) is widely used
and they are working
on ArcGIS-SWAT running on ArcGIS 9.So I've been thinking on starting from scratch, but
as you may know,
the structure of SWAT input is not that simple :-(.What do you think?
Huidae Cho
On Thu, Jun 23, 2005 at 12:56:05PM +0200, Luca
Casagrande wrote:
> Hi guys! I have seen on
http://www.brc.tamus.edu/swat/, that there
> was a plugin for SWAT to implement GRASS modeller.
Now the plugin is
> dead..Anyone is interested to port it to GRASS
6.0?
>
> CU Luca
>
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/
Great!
The source code for every SWAT version is available because otherwise
people cannot run the model on various platforms. But the SWAT/GRASS
source is not. Even if it's publicly released, we may be restricted by
its copyright. That's why I want to start from scratch.
Actually, I don't like the fact that SWAT is a Fortran 90 program
because no open source F90 compiler can compile the code. I'm using
a non-commercial version of Intel Fortran 95 compiler.
I wish further discussion can be made.
Huidae Cho
On Fri, Jun 24, 2005 at 08:39:27AM -0500, Jaime Carrera wrote:
Hi all,
I am also interested in developing a new interface for
GRASS/SWAT.
The source code (even the 2000 version) is available
for download at the SWAT's webpage
(http://www.brc.tamus.edu/swat/soft_model.html)All the best,
Jaime
--- Huidae Cho <grass4u@gmail.com> escribió:
> Hi,
>
> I'm really interested in having a SWAT interface for
> GRASS because my
> main hydrologic model is SWAT. I asked Dr.
> Srinivasan, who is a member
> of SWAT development team, but he seems to have lost
> interest in further
> development of the SWAT/GRASS interface. We know why
> :-). He didn't
> reply to my email requesting the source code. The
> current binary was
> compiled on Solaris 2.5.1 and the corresponding SWAT
> is a fairly old
> version.
>
> Currently, AVSWAT (for ArcView 3.x) is widely used
> and they are working
> on ArcGIS-SWAT running on ArcGIS 9.
>
> So I've been thinking on starting from scratch, but
> as you may know,
> the structure of SWAT input is not that simple :-(.
>
> What do you think?
>
> Huidae Cho
>
>
> On Thu, Jun 23, 2005 at 12:56:05PM +0200, Luca
> Casagrande wrote:
> > Hi guys! I have seen on
> http://www.brc.tamus.edu/swat/, that there
> > was a plugin for SWAT to implement GRASS modeller.
> Now the plugin is
> > dead..Anyone is interested to port it to GRASS
> 6.0?
> >
> > CU Luca
> >
>
>__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/
Hi,
The new gcc version includes gfortran, which can be
used to compile programs written in both F90 and F95.
I've used it to compile MODFLOW-2000 without problems.
Jaime
--- Huidae Cho <grass4u@gmail.com> escribió:
Great!
The source code for every SWAT version is available
because otherwise
people cannot run the model on various platforms.
But the SWAT/GRASS
source is not. Even if it's publicly released, we
may be restricted by
its copyright. That's why I want to start from
scratch.Actually, I don't like the fact that SWAT is a
Fortran 90 program
because no open source F90 compiler can compile the
code. I'm using
a non-commercial version of Intel Fortran 95
compiler.I wish further discussion can be made.
Huidae Cho
On Fri, Jun 24, 2005 at 08:39:27AM -0500, Jaime
Carrera wrote:
> Hi all,
>
> I am also interested in developing a new interface
for
> GRASS/SWAT.
> The source code (even the 2000 version) is
available
> for download at the SWAT's webpage
> (http://www.brc.tamus.edu/swat/soft_model.html)
>
> All the best,
>
> Jaime
>
> --- Huidae Cho <grass4u@gmail.com> escribió:
>
> > Hi,
> >
> > I'm really interested in having a SWAT interface
for
> > GRASS because my
> > main hydrologic model is SWAT. I asked Dr.
> > Srinivasan, who is a member
> > of SWAT development team, but he seems to have
lost
> > interest in further
> > development of the SWAT/GRASS interface. We know
why
> > :-). He didn't
> > reply to my email requesting the source code.
The
> > current binary was
> > compiled on Solaris 2.5.1 and the corresponding
SWAT
> > is a fairly old
> > version.
> >
> > Currently, AVSWAT (for ArcView 3.x) is widely
used
> > and they are working
> > on ArcGIS-SWAT running on ArcGIS 9.
> >
> > So I've been thinking on starting from scratch,
but
> > as you may know,
> > the structure of SWAT input is not that simple
:-(.
> >
> > What do you think?
> >
> > Huidae Cho
> >
> >
> > On Thu, Jun 23, 2005 at 12:56:05PM +0200, Luca
> > Casagrande wrote:
> > > Hi guys! I have seen on
> > http://www.brc.tamus.edu/swat/, that there
> > > was a plugin for SWAT to implement GRASS
modeller.
> > Now the plugin is
> > > dead..Anyone is interested to port it to GRASS
> > 6.0?
> > >
> > > CU Luca
> > >
> >
> >
>
>
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y
antispam ¡gratis!
> Regístrate ya - http://correo.espanol.yahoo.com/
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/
I tried gfortran without success last year. Well, newer version may be
able to compile it.
BTW, do you use SWAT 2000 or 2003?
Huidae Cho
On Fri, Jun 24, 2005 at 11:28:33AM -0500, Jaime Carrera wrote:
Hi,
The new gcc version includes gfortran, which can be
used to compile programs written in both F90 and F95.
I've used it to compile MODFLOW-2000 without problems.Jaime
--- Huidae Cho <grass4u@gmail.com> escribió:
> Great!
>
> The source code for every SWAT version is available
> because otherwise
> people cannot run the model on various platforms.
> But the SWAT/GRASS
> source is not. Even if it's publicly released, we
> may be restricted by
> its copyright. That's why I want to start from
> scratch.
>
> Actually, I don't like the fact that SWAT is a
> Fortran 90 program
> because no open source F90 compiler can compile the
> code. I'm using
> a non-commercial version of Intel Fortran 95
> compiler.
>
> I wish further discussion can be made.
>
> Huidae Cho
>
> On Fri, Jun 24, 2005 at 08:39:27AM -0500, Jaime
> Carrera wrote:
> > Hi all,
> >
> > I am also interested in developing a new interface
> for
> > GRASS/SWAT.
> > The source code (even the 2000 version) is
> available
> > for download at the SWAT's webpage
> > (http://www.brc.tamus.edu/swat/soft_model.html)
> >
> > All the best,
> >
> > Jaime
> >
> > --- Huidae Cho <grass4u@gmail.com> escribió:
> >
> > > Hi,
> > >
> > > I'm really interested in having a SWAT interface
> for
> > > GRASS because my
> > > main hydrologic model is SWAT. I asked Dr.
> > > Srinivasan, who is a member
> > > of SWAT development team, but he seems to have
> lost
> > > interest in further
> > > development of the SWAT/GRASS interface. We know
> why
> > > :-). He didn't
> > > reply to my email requesting the source code.
> The
> > > current binary was
> > > compiled on Solaris 2.5.1 and the corresponding
> SWAT
> > > is a fairly old
> > > version.
> > >
> > > Currently, AVSWAT (for ArcView 3.x) is widely
> used
> > > and they are working
> > > on ArcGIS-SWAT running on ArcGIS 9.
> > >
> > > So I've been thinking on starting from scratch,
> but
> > > as you may know,
> > > the structure of SWAT input is not that simple
> :-(.
> > >
> > > What do you think?
> > >
> > > Huidae Cho
> > >
> > >
> > > On Thu, Jun 23, 2005 at 12:56:05PM +0200, Luca
> > > Casagrande wrote:
> > > > Hi guys! I have seen on
> > > http://www.brc.tamus.edu/swat/, that there
> > > > was a plugin for SWAT to implement GRASS
> modeller.
> > > Now the plugin is
> > > > dead..Anyone is interested to port it to GRASS
> > > 6.0?
> > > >
> > > > CU Luca
> > > >
> > >
> > >
> >
> >
> > __________________________________________________
> > Correo Yahoo!
> > Espacio para todos tus mensajes, antivirus y
> antispam ¡gratis!
> > Regístrate ya - http://correo.espanol.yahoo.com/
>
>__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/
This may be a question more for bash gurus...I'm clearly not one.
I'm trying to "batch" interpolate vector 3d points using r.surf.rst. I
want to output different resolutions, using different tension and
smoothing params on the same input...then do a sink fill and flow dir,
then convert it all to ESRI ascii. Ideally I'd start this at 5 PM today,
and come in monday and find dev/sda1 full of all the rasters I need.....
So far I have the following, but I can't quite figure out how to make
tension and smoothing part of the for....sequence statement. Obviously I
can't use i$ for tension and smoothing in the same loop (tension range 10
: 60....smoothing range .01 : .1) any ideas would be appreciated.
# Generate DEMS at 5,10,15 and 20 ft resolution
for i in `seq 5 5 20`
do
g.region vect=test res=$i
v.surf.rst input=test layer=0 zcolumn=flt1 dmax=12.5 dmin=2.5
elev=aelev$i
zmult=1 tension=40 smooth=0.1 segmax=40 npmin=200
done
for RAST in `g.list type=rast | sed 1,2d | grep -v '^-*$'`
do
echo "Fill Sinks and Make Flow Dir Raster for '${RAST}'"
CMD="r.fill.dir input=${RAST} elevation=fil_${RAST}
direction=fdir_${RAST} type=grass"
echo $CMD
$CMD
done
for RAST in `g.list type=rast | sed 1,2d | grep -v '^-*$'`
do
echo "Export all rasters to ESRI ASCII format '${RAST}'"
CMD="r.out.arc input=${RAST} output=${RAST} dp=6"
echo $CMD
$CMD
done
exit 0
I'm trying to "batch" interpolate vector 3d points using r.surf.rst. I
want to output different resolutions, using different tension and
smoothing params on the same input...then do a sink fill and flow dir,
then convert it all to ESRI ascii. Ideally I'd start this at 5 PM
today, and come in monday and find dev/sda1 full of all the rasters I
need.....
Experience shows that it is best to start it at 3pm & watching for a
little while vs. showing up on Monday and finding it broke on the second
step at 6pm. Throw the "time" command in at the start of each loop so
you know how much time things took.
So far I have the following, but I can't quite figure out how to make
tension and smoothing part of the for....sequence statement. Obviously
I can't use i$ for tension and smoothing in the same loop (tension
range 10 : 60....smoothing range .01 : .1) any ideas would be
appreciated.
For a limited number of steps, just list them:
INPUT=rastermap
for TENSION in 10 15 20 25 30 35 40 45 50 55 60 ; do
for SMOOTH in 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 ; do
echo "v.surf.rst elev=${INPUT}_t${TENSION}_s${SMOOTH}.rst"
done
done
for many steps use while & expr:
TENSION=10
while [ $TENSION -le 60 ] ; do
echo "t=${TENSION}"
# do stuff
TENSION=`expr $TENSION + 1` # or if bash, i=$(($i + 1))
done
SMOOTH_D=1
while [ $SMOOTH_D -le 10 ] ; do
SMOOTH=`echo $SMOOTH_D | awk '{print $1 * 0.1}'`
echo $SMOOTH
# do stuff
SMOOTH_D=`expr $SMOOTH_D + 1`
done
(while and expr only do integer numbers)
Nest the loops and you're away.
for RAST in `g.list type=rast | sed 1,2d | grep -v '^-*$'`
Try g.mlist.
Hamish