[GRASS-SVN] r72585 - in grass/trunk/temporal: t.rast.accdetect t.rast.accumulate t.rast.contour t.rast.gapfill t.rast.neighbors t.rast.to.vect
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Mar 30 10:21:28 PDT 2018
Author: huhabla
Date: 2018-03-30 10:21:28 -0700 (Fri, 30 Mar 2018)
New Revision: 72585
Modified:
grass/trunk/temporal/t.rast.accdetect/t.rast.accdetect.py
grass/trunk/temporal/t.rast.accumulate/t.rast.accumulate.py
grass/trunk/temporal/t.rast.contour/t.rast.contour.py
grass/trunk/temporal/t.rast.gapfill/t.rast.gapfill.py
grass/trunk/temporal/t.rast.neighbors/t.rast.neighbors.py
grass/trunk/temporal/t.rast.to.vect/t.rast.to.vect.py
Log:
temporal modules: Fixed tgis suffix function spell mistake
Modified: grass/trunk/temporal/t.rast.accdetect/t.rast.accdetect.py
===================================================================
--- grass/trunk/temporal/t.rast.accdetect/t.rast.accdetect.py 2018-03-29 13:20:37 UTC (rev 72584)
+++ grass/trunk/temporal/t.rast.accdetect/t.rast.accdetect.py 2018-03-30 17:21:28 UTC (rev 72585)
@@ -341,7 +341,7 @@
suffix = tgis.create_time_suffix(map)
indicator_map_name = "{ba}_indicator_{su}".format(ba=base, su=suffix)
else:
- indicator_map_name = tgis.create_numeric_suffic(base + "_indicator",
+ indicator_map_name = tgis.create_numeric_suffix(base + "_indicator",
indi_count, time_suffix)
indicator_map_id = dummy.build_id(indicator_map_name, mapset)
indicator_map = input_strds.get_new_map_instance(indicator_map_id)
@@ -534,7 +534,7 @@
suffix = tgis.create_time_suffix(map)
occurrence_map_name = "{ba}_{su}".format(ba=base, su=suffix)
else:
- occurrence_map_name = tgis.create_numeric_suffic(base, count, tsuffix)
+ occurrence_map_name = tgis.create_numeric_suffix(base, count, tsuffix)
occurrence_map_id = map.build_id(occurrence_map_name, mapset)
occurrence_map = input_strds.get_new_map_instance(occurrence_map_id)
Modified: grass/trunk/temporal/t.rast.accumulate/t.rast.accumulate.py
===================================================================
--- grass/trunk/temporal/t.rast.accumulate/t.rast.accumulate.py 2018-03-29 13:20:37 UTC (rev 72584)
+++ grass/trunk/temporal/t.rast.accumulate/t.rast.accumulate.py 2018-03-30 17:21:28 UTC (rev 72585)
@@ -396,7 +396,7 @@
suffix = tgis.create_time_suffix(map)
output_map_name = "{ba}_{su}".format(ba=base, su=suffix)
else:
- output_map_name = tgis.create_numeric_suffic(base, count, time_suffix)
+ output_map_name = tgis.create_numeric_suffix(base, count, time_suffix)
output_map_id = map.build_id(output_map_name, mapset)
output_map = input_strds.get_new_map_instance(output_map_id)
Modified: grass/trunk/temporal/t.rast.contour/t.rast.contour.py
===================================================================
--- grass/trunk/temporal/t.rast.contour/t.rast.contour.py 2018-03-29 13:20:37 UTC (rev 72584)
+++ grass/trunk/temporal/t.rast.contour/t.rast.contour.py 2018-03-30 17:21:28 UTC (rev 72585)
@@ -215,7 +215,7 @@
suffix = tgis.create_time_suffix(map)
map_name = "{ba}_{su}".format(ba=base, su=suffix)
else:
- map_name = tgis.create_numeric_suffic(base, count, time_suffix)
+ map_name = tgis.create_numeric_suffix(base, count, time_suffix)
new_map = tgis.open_new_map_dataset(map_name, None, type="vector",
temporal_extent=map.get_temporal_extent(),
overwrite=overwrite, dbif=dbif)
Modified: grass/trunk/temporal/t.rast.gapfill/t.rast.gapfill.py
===================================================================
--- grass/trunk/temporal/t.rast.gapfill/t.rast.gapfill.py 2018-03-29 13:20:37 UTC (rev 72584)
+++ grass/trunk/temporal/t.rast.gapfill/t.rast.gapfill.py 2018-03-30 17:21:28 UTC (rev 72585)
@@ -121,7 +121,7 @@
if sp.get_temporal_type() == 'absolute' and tsuffix in ['gran', 'time']:
_id = "{ba}@{ma}".format(ba=base, ma=mapset)
else:
- map_name = tgis.create_numeric_suffic(base, num + count, tsuffix)
+ map_name = tgis.create_numeric_suffix(base, num + count, tsuffix)
_id = "{name}@{ma}".format(name=map_name, ma=mapset)
_map.set_id(_id)
@@ -182,7 +182,7 @@
new_id = "{ba}_{su}@{ma}".format(ba=new_map.get_name(),
su=suffix, ma=mapset)
else:
- map_name = tgis.create_numeric_suffic(new_map.get_name(),
+ map_name = tgis.create_numeric_suffix(new_map.get_name(),
count, tsuffix)
new_id = "{name}@{ma}".format(name=map_name, ma=mapset)
Modified: grass/trunk/temporal/t.rast.neighbors/t.rast.neighbors.py
===================================================================
--- grass/trunk/temporal/t.rast.neighbors/t.rast.neighbors.py 2018-03-29 13:20:37 UTC (rev 72584)
+++ grass/trunk/temporal/t.rast.neighbors/t.rast.neighbors.py 2018-03-30 17:21:28 UTC (rev 72585)
@@ -166,7 +166,7 @@
suffix = tgis.create_time_suffix(map)
map_name = "{ba}_{su}".format(ba=base, su=suffix)
else:
- map_name = tgis.create_numeric_suffic(base, count, time_suffix)
+ map_name = tgis.create_numeric_suffix(base, count, time_suffix)
new_map = tgis.open_new_map_dataset(map_name, None, type="raster",
temporal_extent=map.get_temporal_extent(),
Modified: grass/trunk/temporal/t.rast.to.vect/t.rast.to.vect.py
===================================================================
--- grass/trunk/temporal/t.rast.to.vect/t.rast.to.vect.py 2018-03-29 13:20:37 UTC (rev 72584)
+++ grass/trunk/temporal/t.rast.to.vect/t.rast.to.vect.py 2018-03-30 17:21:28 UTC (rev 72585)
@@ -210,7 +210,7 @@
suffix = tgis.create_time_suffix(map)
map_name = "{ba}_{su}".format(ba=base, su=suffix)
else:
- map_name = tgis.create_numeric_suffic(base, count, time_suffix)
+ map_name = tgis.create_numeric_suffix(base, count, time_suffix)
new_map = tgis.open_new_map_dataset(map_name, None, type="vector",
temporal_extent=map.get_temporal_extent(),
overwrite=overwrite, dbif=dbif)
More information about the grass-commit
mailing list