[GRASS-user] t.rast.accumulate ValueError: could not convert string to float:

maning sambale emmanuel.sambale at gmail.com
Wed Nov 12 03:43:21 PST 2014


Hi,

I have an 3hr raintrate data in GRASS STRDs. I tested running a 10day
accumulation but I get valuerror.
Details below:

GRASS 7.0.0 (rainfall):~/trmm > t.info 3hr_rainrate
 +-------------------- Space Time Raster Dataset -----------------------------+
 |                                                                            |
 +-------------------- Basic information -------------------------------------+
 | Id: ........................ 3hr_rainrate at PERMANENT
 | Name: ...................... 3hr_rainrate
 | Mapset: .................... PERMANENT
 | Creator: ................... maning
 | Temporal type: ............. absolute
 | Creation time: ............. 2014-11-12 18:44:43.567312
 | Modification time:.......... 2014-11-12 19:04:43.527267
 | Semantic type:.............. mean
 +-------------------- Absolute time -----------------------------------------+
 | Start time:................. 2014-07-09 00:00:00
 | End time:................... 2014-07-20 03:00:00
 | Granularity:................ 3 hours
 | Temporal type of maps:...... interval
 +-------------------- Spatial extent ----------------------------------------+
 | North:...................... 22.0
 | South:...................... 4.0
 | East:.. .................... 155.0
 | West:....................... 115.0
 | Top:........................ 0.0
 | Bottom:..................... 0.0
 +-------------------- Metadata information ----------------------------------+
 | Raster register table:......
raster_map_register_491d12cc26d2460d9591bd699f6beb43
 | North-South resolution min:. 0.25
 | North-South resolution max:. 0.25
 | East-west resolution min:... 0.25
 | East-west resolution max:... 0.25
 | Minimum value min:.......... 0.0
 | Minimum value max:.......... 0.0
 | Maximum value min:.......... 9.39
 | Maximum value max:.......... 38.32
 | Aggregation type:........... None
 | Number of registered maps:.. 89
 ....
 |
 +----------------------------------------------------------------------------+

GRASS 7.0.0 (rainfall):~/trmm > t.rast.accumulate
input=3hr_rainrate at PERMANENT output=10day_accumulation
start="2014-07-09" granularity='1 days' cycle='10 days'
basename=10day_accum
Processing cycle 2014-07-09 00:00:00 - 2014-07-19 00:00:00
Traceback (most recent call last):
  File "/usr/lib/grass70/scripts/t.rast.accumulate", line 507, in <module>
    main()
  File "/usr/lib/grass70/scripts/t.rast.accumulate", line 393, in main
    limits_lower = float(limits_vals[0])
ValueError: could not convert string to float:


-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------


More information about the grass-user mailing list