<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 1, 2014 at 6:28 AM, Helmut Kudrnovsky <span dir="ltr"><<a href="mailto:hellik@web.de" target="_blank">hellik@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi,<br>
<br>
I've tested r.sun.hourly with<br>
<br>
GRASS Version: 7.1.svn<br>
GRASS SVN Revision: 63306<br>
Erstellungsdatum: 2014-12-01<br>
Build Platform: i686-pc-mingw32<br>
GDAL/OGR: 1.11.0<br>
PROJ.4: 4.8.0<br>
GEOS: 3.4.2<br>
SQLite: 3.7.17<br>
Python: 2.7.4<br>
wxPython: 2.8.12.1<br>
Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)<br>
<br>
the script fails with<br>
<br>
---<br>
r.sun.hourly -t -b --verbose elev_in=dembik@bik asp_in=aspect@bik<br>
slope_in=slope@bik start_time=10 end_time=14 day=1 year=2014<br>
beam_rad_basename=birr nprocs=3<br>
Running r.sun in a loop...<br>
[...]<br>
Registering created maps into temporal dataset...<br>
Traceback (most recent call last):<br>
  File "C:\Users\myricaria\AppData\Roaming\GRASS7\addons/scr<br>
ipts/<a href="http://r.sun.hourly.py" target="_blank">r.sun.hourly.py</a>", line 463, in <module><br>
    main()<br>
  File "C:\Users\myricaria\AppData\Roaming\GRASS7\addons/scr<br>
ipts/<a href="http://r.sun.hourly.py" target="_blank">r.sun.hourly.py</a>", line 404, in main<br>
    desc="Output beam irradiance raster maps [Wh.m-2]")<br>
  File "C:\Users\myricaria\AppData\Roaming\GRASS7\addons/scr<br>
ipts/<a href="http://r.sun.hourly.py" target="_blank">r.sun.hourly.py</a>", line 382, in registerToTemporal<br>
    tgis.open_new_space_time_dataset(basename, type='strds',<br>
AttributeError: 'module' object has no attribute<br>
'open_new_space_time_dataset'<br>
---<br>
<br>
any idea?<br></blockquote><div><br></div><div>I fixed that, it used old temporal API</div><div><br></div><div>Anna</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
thanks<br>
<br>
<br>
<br>
-----<br>
best regards<br>
Helmut<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/addon-r-sun-hourly-fails-tp5175755.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/addon-r-sun-hourly-fails-tp5175755.html</a><br>
Sent from the Grass - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div><br></div></div>