forked from Tristanovsk/grs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch_grs_exemple.pbs
34 lines (22 loc) · 1.89 KB
/
launch_grs_exemple.pbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#Lancer grs à travers un job PBS :
#!/bin/bash
#PBS -N grs
#PBS -l select=1:ncpus=12:mem=60gb
#PBS -l walltime=24:00:00
#load avail module for conda, snap and jdk
module load snap/8.0 conda jdk/1.8.0_112
#otb-depends/7.0-python3.6.5
#set the variable environment for je jpy and snap use
export JDK_HOME=$JDKHOME
export JAVAHOME=$JAVA_HOME
export SNAP_HOME=$SNAPHOME
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
##activate conda environement python 3.6
conda activate grs_py3.6
cd /work/ALT/swot/aval/OBS2CO/git/grs2
grs /datalake/S2-L1C/48QWE/2020/04/28/S2A_MSIL1C_20200428T032541_N0209_R018_T48QWE_20200428T062927.SAFE --aerosol cams_forecast --odir /work/ALT/swot/aval/OBS2CO/Test-GRS-sisppeo/results/ --dem --resolution 20 --waterdetect /work/ALT/swot/aval/OBS2CO/Output_WaterDetect/Mekong/2020-04/T48QWE/SENTINEL2A_20200428-034316-659_L2A_T48QWE_C_V2-2/AC_NB_mndwindwi/AC_NB_mndwindwi_water_mask.tif
#grs /work/ALT/swot/aval/OBS2CO/git/grsdata/INPUT_DATA/S2B_MSIL1C_20180927T103019_N0206_R108_T31TGK_20180927T143835.SAFE --shape test/data/shape/SPO04.shp --odir test/results/ --aerosol cams_forecast --dem --resolution 20
#grs /work/ALT/swot/aval/OBS2CO/git/grsdata/INPUT_DATA/IMAGES/S2B_MSIL1C_20201214T092309_N0209_R093_T33PVP_20201214T113135.SAFE --odir test_cluster/results/ --aerosol cams_forecast --dem --resolution 20
#grs /work/ALT/swot/aval/OBS2CO/git/grsdata/INPUT_DATA/IMAGES/S2A_MSIL1C_20190602T104031_N0207_R008_T31TFJ_20190602T125323.SAFE --odir testi_cluster/results/ --aerosol cams_forecast --dem --resolution 20
#grs /work/ALT/swot/aval/OBS2CO/git/grsdata/INPUT_DATA/IMAGES/S2A_MSIL1C_20201219T092411_N0209_R093_T33PVQ_20201219T103844.SAFE --odir test/results/ --aerosol cams_forecast --dem --resolution 20
#grs /work/ALT/swot/aval/OBS2CO/git/grsdata/INPUT_DATA/IMAGES/S2B_MSIL1C_20190607T104029_N0207_R008_T31TFJ_20190607T125247.SAFE --odir test/results/ --aerosol cams_forecast --dem --resolution 20