Skip to content
/ mimtpy Public
forked from geodesymiami/mimtpy

MIami Multi Track tools in Python (or MIami Modelling Tools)

Notifications You must be signed in to change notification settings

wuxyair/mimtpy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MimtPy

MIami Multi Track tools in Python

The functions of scripts:

mimtpyApp.py: generate files according to mimtpyApp.template

track_offsets.py: estimating a constant offset as the median of the differences of the overlapping areas. After adjusting the adjacent tracks, concatenating the two tracks using average value in overlaying area.

H5UNW_to_geotiff.py: transferring *.unw or *.h5 file into geotiff file.

HDFEOS_to_geotiff.py: transferring S1**.he5 file into *.h5 and *.geotiff files based on given dataset name.

plot_geotiff.py: plot geotiff files with given *.shp files and gps velocity vector field. Now the *.shp files are fault trace and reference point. The shp files must be given or people can use view.py script to draw picture based on the above *.h5 files.The gps site are now from NGLStation dataset.We are working on other gps dataset.

save_geodmod.py: generate files used by Geodmod software.

generate_script_RELAX_V2.py: generate template files for RELAX. People must given one example file.

save_kite.py: prepare data in ROIPAC format for Kite. Please note that the generated data is different from that generated by save_roipac.py.

quadtree_kite.py: doing quadtree sampling using Kite. We suggest to decide the parameters for sampling using Kite GUI tool and save the sampling results using this script.

save_insamp.py: prepare data for Barnhart's InSAMP software (written in Matlab). Please note that the data used by this script must be geocoded.

The Idea for mimtpyApp:

MimtpyApp works based on the S1***.he5, exclude_data.txt and inputs floder generated by Mintpy.

Now mimtpyApp.py have 5 functions:

function 1. velocity or cumulative function:

Call HDFEOS_to_geotiff.py script

Generate velocity or cumulative displacement based on give time period and given sptial range.

The default outname is "velocity_startdate_enddate" or "displacement_startdate_enddate". These names can not be changed because the following functions run based on these name.

function 2. plot function:

Call plot_geotiff.py

plot velocity or cumulative displacement based on the parameters setting in function 1

function 3. horz_vert function

Call reference_points.py-subset.py-asc_desc2horz_vert.py

Generate horz/vert *.h5 and *.tiff files

function 4. concatenation function

Call track_offset.py

Generate concatenated files (*.h5 and .tiff) and slave track data (.h5) after adjusting the offset.

function 5. geodmod function

Call save_geodmod.py

Generate files for geodmod

Folder structure:

function 1: mkdir velocity or displacement in $SCRATCHDIR/projectname/mintpy/

function 2: generate *.png in processed data folder

function 3 and function 4 generate data in the given folder. In the given dir, "velocity" or "displacement" folder will be make according to the data type they process.

function 5: mkdir geodmod in $SCRATCHDIR/projectname/mintpy/"

For GBIS software: it is more convenient to using save_gbis.py in mintpy and velocity or displacement file generated by function 1. So mimtpyApp doesn't have the function about gbis.

Access to mintpy data products

Browse through all directories using: https://129.114.104.223/data/HDF5EOS

Get them via wget using:

wget -r -nH --cut-dirs=2 --no-parent --reject="index.html*" --no-check-certificate https://129.114.104.223/data/HDF5EOS/unittestGalapagosSenDT128/mintpy

If you have access to jetstream and your public key is added in the .ssh directory:

scp -rp centos@129.114.104.223:/data/HDF5EOS/KashgarSenAT129 .

links to software packages

for Kite: git clone https://github.com/pyrocko/kite.git

for InSAMP: git clone https://github.com/williamBarnhart/InSamp.git

About

MIami Multi Track tools in Python (or MIami Modelling Tools)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%