- INDIR="/home/thomas/tmp/zonalbenchmark"
- epsg=$(pkinfo -i "/home/thomas/tmp/zonalbenchmark/test_data/wc2.0_10m_tavg_07.tif" -a_srs | tail -c -18 | cut -d '"' -f 4)
- grass72 -c epsg:$epsg "$INDIR"/grassdata/templocation -e
- export GRASS_BATCH_JOB="$INDIR/bash_grass_set_cmd.sh"
- export GRASS_VERBOSE=0
- grass72 "$INDIR"/grassdata/templocation/PERMANENT
- rm -rf "$INDIR"/grassdata/templocation
|