-
Set
$RSMASINSAR_HOMEin your .bashrc. You also need a .bash_profile to ensure your .bashrc is read. -
Create an ~/accounts directory with your data download credentials (for contents see here). If you have access to the RSMAS accounts repo clone it into your /home or
$WORK2directory
Create an ~/accounts directory with your data download credentials (for contents see here). If you have access to the RSMAS accounts repo clone it into your /home or $WORK2 directory using SSH protocol (you need to copy the public key from your machine to github).
git clone git@github.com:geodesymiami/accounts.git ~/accounts ;
- Go to the area where you want to install the code:
cd $WORK2/code
- Create a bash virgin environmen, clone the repo and install the code (including miniforge3 python). Work as user circleci. On stampede3 on the development queue (
idevdev):
env -i HOME=$HOME PATH=/usr/bin:/bin:/sbin SHELL=/bin/bash USER=circleci bash --noprofile --norc
set -euo pipefail
export USER=circleci
git clone git@github.com:geodesymiami/rsmas_insar.git ;
cd rsmas_insar
bash -x setup/install_python.bash
bash -x setup/install_code.bash
bash -x setup/install_sarvey.bash
bash -x setup/install_vsm.bash
bash -x setup/install_credential_files.bash
The install_python.bash command is here and install_code.bash is here and install_sarvey_VSM.bash is
here and install_credential_files.bash is here.
cd $SCRATCHDIR
wget http://149.165.154.65/data/circleci/ci_small_unittestGalapagosSenDT128.tar
tar xvf ci_small_unittestGalapagosSenDT128.tar
minsarApp.bash $SAMPLESDIR/circleci/ci_unittestGalapagosSenDT128.template --start dem
You can't be sure the new installation works until you have tested it. It is recommended to keep a copy of the working installation, for example, instead of removing rsmas_insar do mv rsmas_insar good_rsmas_insar. I have old versions in code_old, code_veryold directories which can be used in the case of unexpected problems.
This has created directories for the orbits for Sentinel-1 ($SENTINEL_ORBITS), which The can be downloaded using dloadOrbits.py. The IPF calibration files (SENTINEL_AUX) are downloaded from: https://qc.sentinel1.eo.esa.int/aux_cal/ .
The $SENTINEL_ORBITS and miniconda3.tar are located on $SCRATCHDIR which gets purged every couple of weeks. minsarApp.bash uses $RSMASINSAR_HOME/tools/miniconda3.tarand $WORKDIR/S1orbits.tar if files have been purged.
- To check your installation, run the testdata as explained here. You need to have the testdata in your
$TESTDATA_ISCEdirectory.
ls $TESTDATA_ISCE
unittestGalapagosSenDT128 unittestKrakatoaSenAT171
ll $TESTDATA_ISCE/unittestGalapagosSenDT128/SLC/
total 17528848
-rw-rw--w-+ 1 famelung insarlab 782 Jan 17 17:10 files.csv
-rw-rw--w-+ 1 famelung insarlab 644 Jan 17 17:13 log
-rw-rw--w-+ 1 famelung insarlab 777 Jan 17 17:10 new_files.csv
-rw-rw-rw-+ 1 famelung insarlab 2382498740 Jan 17 17:08 S1A_IW_SLC__1SSV_20160605T114943_20160605T115018_011575_011AEF_98EA.zip
-rw-rw-rw-+ 1 famelung insarlab 2596328889 Jan 17 17:10 S1A_IW_SLC__1SSV_20160629T114944_20160629T115019_011925_0125EE_41E2.zip
-rw-rw-rw-+ 1 famelung insarlab 2538509057 Jan 17 17:08 S1A_IW_SLC__1SSV_20160711T114945_20160711T115020_012100_012BB7_AD1C.zip
-rw-rw-rw-+ 1 famelung insarlab 2658073568 Jan 17 17:08 S1A_IW_SLC__1SSV_20160723T114945_20160723T115021_012275_01315B_4BF1.zip
-rw-rw-rw-+ 1 famelung insarlab 2619635729 Jan 17 17:09 S1A_IW_SLC__1SSV_20160804T114946_20160804T115022_012450_01372F_C4E2.zip
-rw-rw-rw-+ 1 famelung insarlab 2576452600 Jan 17 17:09 S1A_IW_SLC__1SSV_20160816T114947_20160816T115022_012625_013CEA_AD2C.zip
-rw-rw-rw-+ 1 famelung insarlab 2578011015 Jan 17 17:09 S1A_IW_SLC__1SSV_20160828T114947_20160828T115023_012800_0142DE_D868.zip
drwxrws-w-+ 2 famelung insarlab 4096 Jan 17 16:58 test
//login4/nethome/dwg11/insarlab/TESTDATA_ISCE[59]
- For possible problems, check here.