Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F112207890
execute_grass.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, May 8, 22:13
Size
799 B
Mime Type
text/x-shellscript
Expires
Sat, May 10, 22:13 (2 d)
Engine
blob
Format
Raw Data
Handle
26049154
Attached To
R8800 solar_potential
execute_grass.sh
View Options
#!/bin/bash
################## USER SETTINGS ##############
MAP_PATH_MAC=/Users/alinawalch/Documents/grassgis/LSN/shade_horizon
MAP_PATH_CLUSTER=/scratch/walch/grassgis/LSN/shade_horizon
EXECUTABLE=/Users/alinawalch/Documents/EPFL/Code/energy-potential/DOM/grass_shading_horizon.sh
#################################################
############ Set UP GRASS ENVIRONMENT #############
## Open GRASS 7.4 on MAC
/Applications/GRASS-7.4.1.app/Contents/MacOS/Grass.sh -text $MAP_PATH_MAC --exec bash $EXECUTABLE
##------------- OR ---------------------- ##
## Open GRASS 7.4 on CLUSTER
module use /ssoft/playground/rmsilva/spack/share/spack/lmod/linux-rhel7-x86_E5v4_Mellanox/openblas/0.2.20-3jwiins/gcc/6.4.0/
module load gcc python/2.7.14 grass
grass74 $MAP_PATH_CLUSTER --exec bash $EXECUTABLE
Event Timeline
Log In to Comment