diff --git a/5.load_vrt_to_grass.py b/5.load_vrt_to_grass.py new file mode 100644 index 0000000000000000000000000000000000000000..fccd6b9bd661b4e33c1019f385ec19e1ff6ab7f7 --- /dev/null +++ b/5.load_vrt_to_grass.py @@ -0,0 +1,20 @@ +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) +