Wed, Jul 14 2004
10:46:41
|
|
Request created by guest
|
|
Subject: r.sunmask
Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: GRASS 5.7.0 (2004)
for my DEM (2800 by 2800) it takes 40 hours to calculate the cast shadow
with r.sunmask.
for a hydrologic model i need the cast shadow for one year, time step one
hour.
is it possible to speed up the r.sunmask? or is it even possible to
calculate only for a mask which covers only one third of the DEM?
thank you, sabine |
|
Wed, Jul 14 2004
12:12:56
|
|
Mail sent by neteler@itc.it
|
|
Return-Path |
<neteler@itc.it>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Wed, 14 Jul 2004 12:12:52 +0200
|
From |
Markus Neteler <neteler@itc.it>
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #2533] (grass) r.sunmask
|
Message-ID |
<20040714101252.GG28539@thuille.itc.it>
|
Mail-Followup-To |
Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
|
References |
<20040714084642.7D00213BA2@lists.intevation.de>
|
Mime-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Disposition |
inline
|
In-Reply-To |
<20040714084642.7D00213BA2@lists.intevation.de>
|
User-Agent |
Mutt/1.4.1i
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
On Wed, Jul 14, 2004 at 10:46:42AM +0200, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2533
> -------------------------------------------------------------------------
>
> Subject: r.sunmask
>
> Platform: GNU/Linux/i386
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: GRASS 5.7.0 (2004)
>
> for my DEM (2800 by 2800) it takes 40 hours to calculate the cast shadow
> with r.sunmask.
>
> for a hydrologic model i need the cast shadow for one year, time step one
> hour.
>
> is it possible to speed up the r.sunmask?
Maybe, this needs a voluteer.
> or is it even possible to
> calculate only for a mask which covers only one third of the DEM?
>
> thank you, sabine
You can simply use 'r.sun' instead of r.sunmask. It's much
faster.
Use the -s flag and see it's manual page:
"A map of shadows can be extracted from the solar incidence angle map (incidout).
Areas with zero values are shadowed."
Markus
|
|
Wed, Jul 14 2004
12:15:59
|
|
Status changed to resolved by mneteler
|
|
Wed, Jul 14 2004
14:49:26
|
|
Mail sent by csab7771@uibk.ac.at
|
|
Return-Path |
<csab7771@uibk.ac.at>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-ID |
<1089809361.40f52bd19d60a@web-mail2.uibk.ac.at>
|
Date |
Wed, 14 Jul 2004 14:49:21 +0200
|
From |
Sabine Grabner <csab7771@uibk.ac.at>
|
To |
Markus Neteler via RT <grass-bugs@intevation.de>
|
Subject |
Re: [bug #2533] (grass) r.sunmask
|
References |
<20040714101256.A91E913BED@lists.intevation.de>
|
In-Reply-To |
<20040714101256.A91E913BED@lists.intevation.de>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=iso-8859-15
|
Content-Transfer-Encoding |
8bit
|
User-Agent |
Internet Messaging Program (IMP) 3.2.1
|
X-Originating-IP |
138.232.34.94
|
X-Forwarded-For |
|
X-Spam-Status |
No, hits=-3.9 tagged_above=-999.0 required=3.0 tests=BAYES_00, FROM_ENDS_IN_NUMS
|
X-Spam-Level |
|
hello markus, thanks for invitation improving r.sunmask. i had a quick look on
the code today. no idea if i could do this.
i tried r.sun, but i get a segmentation fault when opening the dem.
GRASS 5.7.0:~/diss/grassdata > r.sun -s ele=dem as=aspect sl=slope
incidout=shadow day=200 time=9.0
Mode 1: instantaneous solar incidence angle & irradiance using a set local
time
WARNING: unable to open raster map [dem in sabine57]
Speicherzugriffsfehler
GRASS 5.7.0:~/diss/grassdata >
sabine
Zitat von Markus Neteler via RT <grass-bugs@intevation.de>:
> On Wed, Jul 14, 2004 at 10:46:42AM +0200, Request Tracker wrote:
> > this bug's URL: http://intevation.de/rt/webrt?serial_num=2533
> > -------------------------------------------------------------------------
> >
> > Subject: r.sunmask
> >
> > Platform: GNU/Linux/i386
> > grass obtained from: Trento Italy site
> > grass binary for platform: Compiled from Sources
> > GRASS Version: GRASS 5.7.0 (2004)
> >
> > for my DEM (2800 by 2800) it takes 40 hours to calculate the cast shadow
> > with r.sunmask.
> >
> > for a hydrologic model i need the cast shadow for one year, time step one
> > hour.
> >
> > is it possible to speed up the r.sunmask?
>
> Maybe, this needs a voluteer.
>
> > or is it even possible to
> > calculate only for a mask which covers only one third of the DEM?
> >
> > thank you, sabine
>
>
> You can simply use 'r.sun' instead of r.sunmask. It's much
> faster.
>
> Use the -s flag and see it's manual page:
> "A map of shadows can be extracted from the solar incidence angle map
> (incidout).
> Areas with zero values are shadowed."
>
>
> Markus
>
>
> --- Headers Follow ---
>
> >From neteler@itc.it Wed Jul 14 12:12:56 2004
> Return-Path: <neteler@itc.it>
> Delivered-To: grass-bugs@lists.intevation.de
> Received: from mail.intevation.de (aktaia [212.95.126.10])
> by lists.intevation.de (Postfix) with ESMTP id E7EF313944
> for <grass-bugs@lists.intevation.de>; Wed, 14 Jul 2004 12:12:55 +0200
> (CEST)
> Received: from localhost (localhost [127.0.0.1])
> by mail.intevation.de (Postfix) with ESMTP id 0EED43711F
> for <grass-bugs@lists.intevation.de>; Wed, 14 Jul 2004 12:12:55 +0200
> (CEST)
> Received: from mail.itc.it (ns.itc.it [217.77.80.3])
> by mail.intevation.de (Postfix) with ESMTP id D50FC3711D
> for <grass-bugs@intevation.de>; Wed, 14 Jul 2004 12:12:53 +0200 (CEST)
> Received: from ntvir.itc.it ([10.0.20.5])
> by mail.itc.it (8.11.6/8.11.6) with SMTP id i6EACqi30964
> for <grass-bugs@intevation.de>; Wed, 14 Jul 2004 12:12:52 +0200
> Received: from orchestra.itc.it ([10.0.10.11])
> by ntvir.itc.it (SMSSMTP 4.0.0.59) with SMTP id M2004071412125203676
> for <grass-bugs@intevation.de>; Wed, 14 Jul 2004 12:12:52 +0200
> Received: from thuille.itc.it. (thuille [10.40.0.110])
> by orchestra.itc.it (8.11.6/8.11.6) with ESMTP id i6EACq018264;
> Wed, 14 Jul 2004 12:12:52 +0200
> Received: from thuille.itc.it. (localhost.localdomain [127.0.0.1])
> by thuille.itc.it. (8.12.8/8.12.8) with ESMTP id i6EACqt6019796;
> Wed, 14 Jul 2004 12:12:52 +0200
> Received: (from neteler@localhost)
> by thuille.itc.it. (8.12.8/8.12.8/Submit) id i6EACq7V019794;
> Wed, 14 Jul 2004 12:12:52 +0200
> Date: Wed, 14 Jul 2004 12:12:52 +0200
> From: Markus Neteler <neteler@itc.it>
> To: Request Tracker <grass-bugs@intevation.de>
> Cc: grass5@grass.itc.it
> Subject: Re: [GRASS5] [bug #2533] (grass) r.sunmask
> Message-ID: <20040714101252.GG28539@thuille.itc.it>
> Mail-Followup-To: Request Tracker <grass-bugs@intevation.de>,
> grass5@grass.itc.it
> References: <20040714084642.7D00213BA2@lists.intevation.de>
> Mime-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> In-Reply-To: <20040714084642.7D00213BA2@lists.intevation.de>
> User-Agent: Mutt/1.4.1i
> X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
> X-Spam-Level:
>
> -------------------------------------------- Managed by Request Tracker
>
|
|
Wed, Jul 14 2004
14:49:26
|
|
Status changed to open by _rt_system
|
|
Wed, Aug 11 2004
15:55:42
|
|
Mail sent by mneteler
|
|
Fixed in CVS
(btw: you tried to use an inexistant map which now generates
an error instead of a warning).
Markus |
|
Wed, Aug 11 2004
15:55:49
|
|
Status changed to resolved by mneteler
|
|
Wed, Aug 11 2004
16:05:05
|
|
Mail sent by csab7771@uibk.ac.at
|
|
Return-Path |
<csab7771@uibk.ac.at>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-ID |
<1092233102.411a278e4ec61@web-mail2.uibk.ac.at>
|
Date |
Wed, 11 Aug 2004 16:05:02 +0200
|
From |
Sabine Grabner <csab7771@uibk.ac.at>
|
To |
Markus Neteler via RT <grass-bugs@intevation.de>
|
Subject |
Re: [bug #2533] (grass) r.sunmask
|
References |
<20040811135542.1101913941@lists.intevation.de>
|
In-Reply-To |
<20040811135542.1101913941@lists.intevation.de>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=utf-8
|
Content-Transfer-Encoding |
8bit
|
User-Agent |
Internet Messaging Program (IMP) 3.2.1
|
X-Originating-IP |
138.232.34.151
|
X-Forwarded-For |
|
X-Scanned-By |
MIMEDefang 2.42 at uibk.ac.at
|
X-Spam-Status |
No, hits=-3.9 tagged_above=-999.0 required=3.0 tests=BAYES_00, FROM_ENDS_IN_NUMS
|
X-Spam-Level |
|
hi markus, thank you. i don't know what you mean with using an inexisting
map...
sabine
Zitat von Markus Neteler via RT <grass-bugs@intevation.de>:
> Fixed in CVS
> (btw: you tried to use an inexistant map which now generates
> an error instead of a warning).
>
> Markus
>
> -------------------------------------------- Managed by Request Tracker
>
|
|
Wed, Aug 11 2004
16:05:05
|
|
Status changed to open by _rt_system
|
|
Mon, Aug 16 2004
22:55:54
|
|
Mail sent by mneteler
|
|
> GRASS 5.7.0:~/diss/grassdata > r.sun -s ele=dem as=aspect sl=slope
> incidout=shadow day=200 time=9.0
> Mode 1: instantaneous solar incidence angle & irradiance using a set local
> time
> WARNING: unable to open raster map [dem in sabine57]
This WARNING (now an ERROR) tells you that the map 'dem' doesn't exist
in the GRASS search path.
Now such problems no longer crash 'r.sun' but print the error and exit.
Hope it's clarified now.
In case you still see a warning instead of an error *and* you use
a current GRASS 5.3/5.7, let me know.
Markus
|
|
Mon, Aug 16 2004
22:56:02
|
|
Status changed to resolved by mneteler
|
|