From 33f34da660da4b3d2950b04f0584ea819c7f2337 Mon Sep 17 00:00:00 2001 From: RAJVEER42 Date: Mon, 25 May 2026 11:17:45 +0530 Subject: [PATCH 1/5] Fix broken links and setup errors in time series tutorials --- content/tutorials/time_series/time_series_aggregations.qmd | 4 ++-- .../time_series_management_and_visualization.qmd | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/tutorials/time_series/time_series_aggregations.qmd b/content/tutorials/time_series/time_series_aggregations.qmd index 137fd6c..ad8b3d3 100644 --- a/content/tutorials/time_series/time_series_aggregations.qmd +++ b/content/tutorials/time_series/time_series_aggregations.qmd @@ -45,14 +45,14 @@ import subprocess # Ask GRASS where its Python packages are sys.path.append( - subprocess.check_output([grassbin, "--config", "python_path"], text=True).strip() + subprocess.check_output(["grass", "--config", "python_path"], text=True).strip() ) # Import the GRASS packages we need import grass.script as gs import grass.jupyter as gj -path_to_project = "eu_laea/italy_LST_daily" +path_to_project = "italy_eu_laea/italy_LST_daily" # Start the GRASS session session = gj.init(path_to_project); diff --git a/content/tutorials/time_series/time_series_management_and_visualization.qmd b/content/tutorials/time_series/time_series_management_and_visualization.qmd index 9ef878b..c77e25f 100644 --- a/content/tutorials/time_series/time_series_management_and_visualization.qmd +++ b/content/tutorials/time_series/time_series_management_and_visualization.qmd @@ -267,7 +267,7 @@ can create this file for you when you import data into GRASS. ::: {.callout-note} Have a look at the -t.register +t.register manual page and a dedicated [wiki](https://grasswiki.osgeo.org/wiki/Temporal_data_processing/maps_registration) with further examples. @@ -294,7 +294,7 @@ and observe topological relationships among STDS. #### Temporal plot for Trento, Italy -The temporal plot tool, [`g.gui.tplot`](https://grass.osgeo.org/grass83/manuals/g.gui.tplot.html), +The temporal plot tool, [`g.gui.tplot`](https://grass.osgeo.org/grass-stable/manuals/g.gui.tplot.html), allows to plot the time series values of raster or vector space-time datasets. In this case, we will plot the LST time series for the city of Trento, Italy. @@ -424,7 +424,7 @@ same filtering can be applied in tools to determine maps that will be processed. ### Descriptive statistics -The tool [`t.rast.univar`](https://grass.osgeo.org/grass-stable/manuals/t.vect.univar.html) +The tool [`t.rast.univar`](https://grass.osgeo.org/grass-stable/manuals/t.rast.univar.html) calculates univariate statistics from the non-null cells of each raster map within STRDS. By default it returns the name of the map, the start and end date of the From 978c32ea3db62ae7597ec53a171fbcbba454723d Mon Sep 17 00:00:00 2001 From: RAJVEER42 Date: Sun, 31 May 2026 20:46:27 +0530 Subject: [PATCH 2/5] Define grassbin variable with default value for portability --- content/tutorials/time_series/time_series_aggregations.qmd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/tutorials/time_series/time_series_aggregations.qmd b/content/tutorials/time_series/time_series_aggregations.qmd index ad8b3d3..e2bbf72 100644 --- a/content/tutorials/time_series/time_series_aggregations.qmd +++ b/content/tutorials/time_series/time_series_aggregations.qmd @@ -43,9 +43,11 @@ import os import sys import subprocess +grassbin = "grass" # change if your GRASS binary has a different name or path + # Ask GRASS where its Python packages are sys.path.append( - subprocess.check_output(["grass", "--config", "python_path"], text=True).strip() + subprocess.check_output([grassbin, "--config", "python_path"], text=True).strip() ) # Import the GRASS packages we need From 4bfacaa62bb11692bdb4f766b83288b94e54411f Mon Sep 17 00:00:00 2001 From: RAJVEER42 Date: Mon, 1 Jun 2026 22:54:11 +0530 Subject: [PATCH 3/5] Use grass string directly in setup cell per maintainer feedback --- content/tutorials/time_series/time_series_aggregations.qmd | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/content/tutorials/time_series/time_series_aggregations.qmd b/content/tutorials/time_series/time_series_aggregations.qmd index e2bbf72..ad8b3d3 100644 --- a/content/tutorials/time_series/time_series_aggregations.qmd +++ b/content/tutorials/time_series/time_series_aggregations.qmd @@ -43,11 +43,9 @@ import os import sys import subprocess -grassbin = "grass" # change if your GRASS binary has a different name or path - # Ask GRASS where its Python packages are sys.path.append( - subprocess.check_output([grassbin, "--config", "python_path"], text=True).strip() + subprocess.check_output(["grass", "--config", "python_path"], text=True).strip() ) # Import the GRASS packages we need From 5d0ff3d5028f2d93f5cea4eb3177f42f06c7944f Mon Sep 17 00:00:00 2001 From: RAJVEER42 Date: Tue, 2 Jun 2026 16:21:39 +0530 Subject: [PATCH 4/5] Fix invalid tile name and stale versioned link in time series tutorials --- content/tutorials/time_series/time_series_aggregations.qmd | 2 +- content/tutorials/time_series/time_series_query_with_vector.qmd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/tutorials/time_series/time_series_aggregations.qmd b/content/tutorials/time_series/time_series_aggregations.qmd index ad8b3d3..0669cb5 100644 --- a/content/tutorials/time_series/time_series_aggregations.qmd +++ b/content/tutorials/time_series/time_series_aggregations.qmd @@ -228,7 +228,7 @@ gs.run_command("t.rast.series", method="average") # Display raster map with interactive class -spw_map = gj.InteractiveMap(width = 500, use_region=True, tiles="CartoDark") +spw_map = gj.InteractiveMap(width = 500, use_region=True, tiles="CartoDB.DarkMatter") spw_map.add_raster("avg_spring_warming") spw_map.add_layer_control(position = "bottomright") spw_map.show() diff --git a/content/tutorials/time_series/time_series_query_with_vector.qmd b/content/tutorials/time_series/time_series_query_with_vector.qmd index dc2551b..37be6ce 100644 --- a/content/tutorials/time_series/time_series_query_with_vector.qmd +++ b/content/tutorials/time_series/time_series_query_with_vector.qmd @@ -306,7 +306,7 @@ need aggregated values for a set of points. :::{.callout-note} We could have also used -[t.sample](https://grass.osgeo.org/grass84/manuals/t.sample.html) +[t.sample](https://grass.osgeo.org/grass-stable/manuals/t.sample.html) to check which maps from `lst_daily` would be aggregated in the new column `lst_new` above. From 338977e5a622614b0ac3e54f8c08606e72b59285 Mon Sep 17 00:00:00 2001 From: RAJVEER42 Date: Tue, 2 Jun 2026 16:40:25 +0530 Subject: [PATCH 5/5] =?UTF-8?q?Fix=20duplicate=20categories:=20normalize?= =?UTF-8?q?=20Portugu=C3=AAs=E2=86=92Portuguese=20and=20python=E2=86=92Pyt?= =?UTF-8?q?hon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/tutorials/modeling_movement/GRASS_movement_pt.qmd | 2 +- content/tutorials/noise/noise.qmd | 2 +- content/tutorials/terrain_and_DEMs/GRASS_terrain_pt.qmd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/tutorials/modeling_movement/GRASS_movement_pt.qmd b/content/tutorials/modeling_movement/GRASS_movement_pt.qmd index 000d0a0..9df533e 100644 --- a/content/tutorials/modeling_movement/GRASS_movement_pt.qmd +++ b/content/tutorials/modeling_movement/GRASS_movement_pt.qmd @@ -14,7 +14,7 @@ format: code-copy: true code-fold: false page-layout: article -categories: [intermediate, advanced, GUI, raster, cost surface, least cost path, Português] +categories: [intermediate, advanced, GUI, raster, cost surface, least cost path, Portuguese] description: Gerando uma superfície de custo cumulativo e um caminho de menor custo com *r.walk* e *r.path* para modelar o movimento ao caminhar por uma paisagem. execute: eval: false diff --git a/content/tutorials/noise/noise.qmd b/content/tutorials/noise/noise.qmd index ae4567b..5ca198d 100644 --- a/content/tutorials/noise/noise.qmd +++ b/content/tutorials/noise/noise.qmd @@ -3,7 +3,7 @@ title: "Procedural Noise" author: "Brendan Harmon" date: 2025-07-18 date-modified: today -categories: [noise, terrain, raster, map algebra, python, intermediate] +categories: [noise, terrain, raster, map algebra, Python, intermediate] description: Learn how to generate procedural noise using Python scripting in GRASS. image: images/noise_05.webp bibliography: noise.bib diff --git a/content/tutorials/terrain_and_DEMs/GRASS_terrain_pt.qmd b/content/tutorials/terrain_and_DEMs/GRASS_terrain_pt.qmd index bd8a38e..b4e5da2 100644 --- a/content/tutorials/terrain_and_DEMs/GRASS_terrain_pt.qmd +++ b/content/tutorials/terrain_and_DEMs/GRASS_terrain_pt.qmd @@ -14,7 +14,7 @@ format: code-copy: true code-fold: false page-layout: article -categories: [beginner, intermediate, raster, DEM, visualization, terrain, slope, aspect, landforms, hydrology, streams, Português] +categories: [beginner, intermediate, raster, DEM, visualization, terrain, slope, aspect, landforms, hydrology, streams, Portuguese] description: Este tutorial orienta o usuário por meio de várias maneiras de analisar e modelar terrenos a partir de mapas raster MDE. execute: eval: false