[GRASS-user] Interpreting r.watershed accumulation map
Sören Gebbert
soerengebbert at googlemail.com
Fri Oct 14 18:09:59 PDT 2016
Please try to put all mapsets that you use in your analysis into the mapset
search path. The temporal framework will only access strds in mapsets that
are located in the current search path.
Best
Soeren
2016-10-11 20:38 GMT+02:00 Rich Shepard <rshepard at appl-ecosys.com>:
> On Tue, 11 Oct 2016, Laurent C. wrote:
>
> - Your rainfall rate is very small.
>>
>
> Laurent,
>
> Changed rain to 10 mm/h, time to 2 hrs with 5 min steps. Specified mapset
> for DEM map (be_cropped) as it's not in the analyses mapset.
>
> - By setting bctype=4 and bcvalue=0 on all your region, you're forcing
>> a water depth of zero everywhere. For a start, you can drop those
>> parameters.
>>
>
> Removed both bctype and bcvalue.
>
> About the problem you encounter. Since GRASS does not support python3
>> (AFAIK), Itzï is only tested with python 2.7. It is strange that it
>> installed with python3. To force the installation with python2, you
>> can run the following command:
>> $ pip2 install itzi --user
>>
>
> Yes, now itzi is installed for both python2 and python3.
>
> There is an issue with the time-space databases that prevent the
> simulation from running:
>
> itzi run itzi-param.txt
>>
> Starting simulation of itzi-param.txt... 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 187, in read
> elif self.name_is_stds(self.format_id(map_name)):
> File "/usr/lib/python2.7/site-packages/itzi/gis.py", line 138, in
> name_is_stds
> if tgis.SpaceTimeRasterDataset(name).is_in_db():
> File
> "/usr/local/grass-7.3.svn/etc/python/grass/temporal/abstract_dataset.py",
> line 368, in is_in_db
> return self.base.is_in_db(dbif)
> File "/usr/local/grass-7.3.svn/etc/python/grass/temporal/base.py", line
> 315, in is_in_db
> dbif.execute(sql, mapset=self.mapset)
> File "/usr/local/grass-7.3.svn/etc/python/grass/temporal/core.py", line
> 981, in execute
> self._create_mapset_error_message(mapset)))
> File
> "/usr/local/grass-7.3.svn/etc/python/grass/pygrass/messages/__init__.py",
> line 271, in fatal
> sys.exit(1)
> SystemExit: 1
>
> Simulations complete. Elapsed times: itzi-param.txt: 0:00:00 Total:
> 0:00:00 Average: 0:00:00
>
>
> Rich
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20161015/54f49da8/attachment.html>
More information about the grass-user
mailing list