[GRASS-user] addon r.sun.hourly fails

Anna Petrášová kratochanna at gmail.com
Mon Dec 1 06:58:53 PST 2014


On Mon, Dec 1, 2014 at 6:28 AM, Helmut Kudrnovsky <hellik at web.de> wrote:

> hi,
>
> I've tested r.sun.hourly with
>
> GRASS Version: 7.1.svn
> GRASS SVN Revision: 63306
> Erstellungsdatum: 2014-12-01
> Build Platform: i686-pc-mingw32
> GDAL/OGR: 1.11.0
> PROJ.4: 4.8.0
> GEOS: 3.4.2
> SQLite: 3.7.17
> Python: 2.7.4
> wxPython: 2.8.12.1
> Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)
>
> the script fails with
>
> ---
> r.sun.hourly -t -b --verbose elev_in=dembik at bik asp_in=aspect at bik
> slope_in=slope at bik start_time=10 end_time=14 day=1 year=2014
> beam_rad_basename=birr nprocs=3
> Running r.sun in a loop...
> [...]
> Registering created maps into temporal dataset...
> Traceback (most recent call last):
>   File "C:\Users\myricaria\AppData\Roaming\GRASS7\addons/scr
> ipts/r.sun.hourly.py", line 463, in <module>
>     main()
>   File "C:\Users\myricaria\AppData\Roaming\GRASS7\addons/scr
> ipts/r.sun.hourly.py", line 404, in main
>     desc="Output beam irradiance raster maps [Wh.m-2]")
>   File "C:\Users\myricaria\AppData\Roaming\GRASS7\addons/scr
> ipts/r.sun.hourly.py", line 382, in registerToTemporal
>     tgis.open_new_space_time_dataset(basename, type='strds',
> AttributeError: 'module' object has no attribute
> 'open_new_space_time_dataset'
> ---
>
> any idea?
>

I fixed that, it used old temporal API

Anna


> thanks
>
>
>
> -----
> best regards
> Helmut
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/addon-r-sun-hourly-fails-tp5175755.html
> Sent from the Grass - Users mailing list archive at Nabble.com.
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20141201/bcbd53a0/attachment-0001.html>


More information about the grass-user mailing list