-
Notifications
You must be signed in to change notification settings - Fork 1
/
JNCC_S1_GRD_configfile_v.1.1.sh
33 lines (32 loc) · 1.76 KB
/
JNCC_S1_GRD_configfile_v.1.1.sh
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
#!/bin/sh
##### Directories set up
##### ==================
##### INPUT directories
export MAIN_DIR="{{ s1_ard_main_dir }}" ##== MAIN DIRECTORY with DEM, Input dataset and Outputs
export BASKET_INDIR="{{ s1_ard_basket_dir }}" ##== directory containing S1_GRDH.zip products to be processed
#####
export EXTDEMFILE="{{ s1_ard_ext_dem }}" ##== External APGB DEM
export EXTDEMNOVAL="-32768.0" ## External DEM No data value
##### OUTPUT directories
export MAIN_OUTDIR="${MAIN_DIR}/output" ##== MAIN OUTPUT DIRECTORY where products output folders will be created
##### After Processing
export PROZIP_DIR="${MAIN_DIR}/zip_processed" ##== directory where S1.zip data are moved after processing
##### SW and processing xml chains directories
export GRAPHSDIR="{{ s1_ard_script_dir }}/xml" ##== DIRECTORY with snap xml graphs for the processing
export SNAP_HOME="{{ snap_bin_path }}" ##== SNAP (version 5) directory
export SNAP_OPTS="-J-Xmx16204m -J-Xms4096m -J-XX:-UseGCOverheadLimit" ##== SNAP command line arguments
export SCRIPT_DIR="{{ s1_ard_script_dir }}"
#####============================================================
##### STATIC Variable for Log files
#####============================================================
export logtime=$(date +"%F_%H%M%S")
export software="@Snap_version5"
#### LOG files
export MAINLOG=${MAIN_OUTDIR}/Mainlog_${logtime}_${software}.txt ### Generation of logfile for the processing
#####============================================================
##### Processing Parameters
#####============================================================
##### UTM map projection parameters
export UTMPROJ="UTM Zone 30, North" ### e.g. "UTM Zone 30" , "UTM Zone 22, South"
export centralmeridian="-3.0" ### e.g. "-3", "-51"
export false_northing="0.0" ### e.g. "0.0"