cd SourceInversion
export SOURCEINVERSION_HOME=${PWD}Add to pythonpath (we haven't added anything on the environment.bash yet)
export PATH=${SOURCEINVERSION_HOME}/src/cli:$PATH
export PYTHONPATH=${SOURCEINVERSION_HOME}/src:${SOURCEINVERSION_HOME}/src/VSM/VSM:$PYTHONPATHgit clone https://github.com/EliTras/VSM.git ${SOURCEINVERSION_HOME}/src/VSM
touch ${SOURCEINVERSION_HOME}/src/VSM/__init__.py
conda install -c conda-forge --file ${SOURCEINVERSION_HOME}/src/VSM/VSM/requirements.txt Downsample
run_downsample --folder Chiles --satellite Sen --period=20220531:20220930 --method uniform --showInversion
run_inversion --folder Chiles --satellite Sen --period=20220531:20220930 --show --model mogiEach step has its own arguments defined in the template
I.e.:
{
"downsample": "--folder CampiFlegrei --satellite Sen --method uniform --show",
"inversion": "--folder CampiFlegrei --satellite Sen --model mogi --show"
}
Run the command
run_all.py