diff --git a/index.Rmd b/index.Rmd index c9fb4dc..132fa9e 100644 --- a/index.Rmd +++ b/index.Rmd @@ -589,7 +589,7 @@ rm input.tif ```{block, type="alert alert-success"} > **Question 6**: Try to write to calculate the NDVI using the lines above in a nice and short shell script. -- Hint 1: `cd ../data` (to move back from the Bash directory and move into the data directory) +- Hint 1: use `cd ..` to move to the parent directory - Hint 2: No spaces in file names are allowed and try to use variables e.g. `fn=$(ls *.tif)` ``` @@ -601,7 +601,7 @@ Let's now check if the range of the NDVI values makes sense, and make a nice scr echo "teamname" echo "Current date" echo "Calculate LandSat NDVI" -mkdir -p data output +mkdir -p output fn=data/*.tif echo "The input file(s): $fn" outfn=output/ndvi.tif diff --git a/index.html b/index.html index 68e9f80..1d5590f 100644 --- a/index.html +++ b/index.html @@ -24,8 +24,8 @@ } }); -

WUR Geoscripting -

+WUR logo

Linux terminal & Bash

@@ -1871,8 +1871,7 @@

Using the GDAL library from the terminal