Skip to content

Commit

Permalink
proj db path for grass
Browse files Browse the repository at this point in the history
  • Loading branch information
alpha-beta-soup committed Jul 16, 2024
1 parent 2e43987 commit 148b1a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/waterways.smk
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ rule navigable_water_cost_distance_grass:
rm -f {log}
rm -f /{params.output}
rm -f {params.tmp}/$(basename /{params.output})
export PROJ_DATA=/usr/share/proj
grass -c /{params.cost} -e {params.grassdata}
{params.grass_exe} r.in.gdal -e -k --verbose --overwrite input="/{params.cost}" output="$(basename -s .tif /{params.cost})" memory=2048
{params.grass_exe} r.in.gdal -k --verbose --overwrite input="/{params.source}" output="$(basename -s .tif /{params.source})" memory=2048
Expand Down

0 comments on commit 148b1a8

Please sign in to comment.