Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F109883451
exec_map_covrr.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
Wed, Apr 23, 20:08
Size
1 KB
Mime Type
text/x-shellscript
Expires
Fri, Apr 25, 20:08 (2 d)
Engine
blob
Format
Raw Data
Handle
25736783
Attached To
R8800 solar_potential
exec_map_covrr.sh
View Options
#!/bin/bash
## == Settings
#SBATCH --account=cadmos
#SBATCH --job-name=map_covrr
#SBATCH --nodes=1
#SBATCH --mem=32G
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=1
#SBATCH --time=10:00:00
#SBATCH --workdir ./output
#SBATCH --mail-type=ALL
#SBATCH --mail-user=alina.walch@epfl.ch
#SBATCH -o map_covrr_%A.out # Standard output
#SBATCH -e map_covrr_%A.err # Standard error
echo STARTING AT $(date)
echo
## ====== Specify here the needed modules
module purge
module load gcc python/3.6.5
## ====== Get slurm array ID
INFILE=/work/hyenergy/output/solar_potential/uncertainty/covrr_Gh_GB_nearest_interp
# variable(s) to be read from file. Copy and change -f1 to -f2 if more than one column is read in control file
## =`head -n ${N} $WORKDIR/_controlFile | tail -n 1 | cut -d' ' -f1`
## ====== User input
PATH_TO_SCRIPT=/home/walch/code/energy-potential/Uncertainty/
## ===== Variable definitions
## ===== Execute script
source activate py3
python $PATH_TO_SCRIPT\/map_covrr_to_roofs.py $INFILE
source deactivate
## rm $OUTPUT
echo
echo FINISHED AT $(date)
Event Timeline
Log In to Comment