[GRASS-user] Temporal data issues need resolving
Rich Shepard
rshepard at appl-ecosys.com
Thu Feb 23 13:22:02 PST 2017
On Thu, 23 Feb 2017, Laurent C. wrote:
>>
>> Because Itzi does not like maps to be in different mapsets.
>
> That is not true. You just have to provide Itzï with the fully
> qualified ID in the form mapname at mapset, like every other GRASS
> module.
Laurent,
The parameter file contains:
[input]
dem = open_culvert at topography
friction = manning at topography
rain = rainfall at precipitation
What's wrong with these? The model does not run with this parameter file:
time itzi run itzi-open-culvert.txt
Starting simulation of itzi-open-culvert.txt...
WARNING: rainfall at precipitation: invalid topology
WARNING: Error during execution: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/itzi/itzi.py", line 183, in
sim_runner_worker
sim_runner.run()
File "/usr/lib/python2.7/site-packages/itzi/itzi.py", line 90, in run
sim_param=self.conf.sim_param)
File "/usr/lib/python2.7/site-packages/itzi/simulation.py", line 77, in
__init__
self.gis.read(self.in_map_names)
File "/usr/lib/python2.7/site-packages/itzi/gis.py", line 189, in read
if not self.stds_temporal_sanity(strds_id):
File "/usr/lib/python2.7/site-packages/itzi/gis.py", line 222, in
stds_temporal_sanity
if stds_start > sim_start:
TypeError: can't compare datetime.datetime to NoneType
Simulations complete. Elapsed times:
itzi-open-culvert.txt: 0:00:00
Total: 0:00:00
Average: 0:00:00
real 0m0.871s
user 0m0.751s
sys 0m0.129s
Rich
More information about the grass-user
mailing list