Skip to content

geodesymiami/SourceInversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SourceInversion

Define SOURCEINVERSION_HOME folder

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:$PYTHONPATH

Clone VSM and initialize as a package

git 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 

Suggested

Run each step separatedly

Downsample

run_downsample --folder Chiles --satellite Sen --period=20220531:20220930 --method uniform --show

Inversion

run_inversion --folder Chiles --satellite Sen --period=20220531:20220930 --show --model mogi

To test

Run alltogether

Each 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published