Skip to content
Snippets Groups Projects
Commit 5727717b authored by Emma Oceguera-Conchas's avatar Emma Oceguera-Conchas
Browse files

Script for loading the raster created in the step 4 to GRASS GIS. Important,...

Script for loading the raster created in the step 4 to GRASS GIS. Important, this scrip has to be run inside GRASS GIS
parent c1e8a4b3
No related branches found
No related tags found
No related merge requests found
from grass.pygrass.modules import Module
# Define the path to your VRT file
input_vrt = "S:/Emmanuel_OcegueraConchas/eu_fragmentation_forest/valid_tiles_test2.vrt"
# Define the name of the output raster layer in GRASS GIS
output_raster = "eu_forest_frag_test"
# Import the raster using r.in.gdal
Module("r.in.gdal", input=input_vrt, output=output_raster, overwrite=True)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment