Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
Each gap is re-sampled by the space time raster dataset granularity. Therefore several time stamped raster map layers will be interpolated if the gap is larger than the STRDS granularity.
r.mapcalc expression="map1 = 1" r.mapcalc expression="map2 = 3" r.mapcalc expression="map3 = 5" t.register type=raster maps=map1 start=2012-08-20 end=2012-08-21 t.register type=raster maps=map2 start=2012-08-22 end=2012-08-23 t.register type=raster maps=map3 start=2012-08-25 end=2012-08-26 t.create type=strds temporaltype=absolute \ output=precipitation_daily \ title="Daily precipitation" \ description="Test dataset with daily precipitation" t.register type=raster input=precipitation_daily maps=map1,map2,map3 # the output shows three missing maps t.rast.list input=precipitation_daily columns=name,start_time,min,max name|start_time|min|max map1|2012-08-20 00:00:00|1.0|1.0 map2|2012-08-22 00:00:00|3.0|3.0 map3|2012-08-25 00:00:00|5.0|5.0 t.rast.list input=precipitation_daily method=deltagaps id|name|mapset|start_time|end_time|interval_length|distance_from_begin map1@PERMANENT|map1|PERMANENT|2012-08-20 00:00:00|2012-08-21 00:00:00|1.0|0.0 None|None|None|2012-08-21 00:00:00|2012-08-22 00:00:00|1.0|1.0 map2@PERMANENT|map2|PERMANENT|2012-08-22 00:00:00|2012-08-23 00:00:00|1.0|2.0 None|None|None|2012-08-23 00:00:00|2012-08-25 00:00:00|2.0|3.0 map3@PERMANENT|map3|PERMANENT|2012-08-25 00:00:00|2012-08-26 00:00:00|1.0|5.0 t.rast.gapfill input=precipitation_daily basename=gap t.rast.list input=precipitation_daily columns=name,start_time,min,max name|start_time|min|max map1|2012-08-20 00:00:00|1.0|1.0 gap_6_1|2012-08-21 00:00:00|2.0|2.0 map2|2012-08-22 00:00:00|3.0|3.0 gap_7_1|2012-08-23 00:00:00|3.666667|3.666667 gap_7_2|2012-08-24 00:00:00|4.333333|4.333333 map3|2012-08-25 00:00:00|5.0|5.0
Available at: t.rast.gapfill source code (history)
Latest change: Fri Mar 20 11:45:22 2020 in commit: 66826cb3cc587566beea966c22c53f4f325d946e
Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
Main index | Temporal index | Topics index | Keywords index | Graphical index | Full index
© 2003-2023 GRASS Development Team, GRASS GIS 7.8.8dev Reference Manual