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

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@bik asp_in=aspect@bik
slope_in=slope@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?

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.

On Mon, Dec 1, 2014 at 6:28 AM, Helmut Kudrnovsky <hellik@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@bik asp_in=aspect@bik
slope_in=slope@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

   any idea?

I fixed that, it used old temporal API

thanks for the quick fix!

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/addon-r-sun-hourly-fails-tp5175755p5175843.html
Sent from the Grass - Users mailing list archive at Nabble.com.