intf_tops_parallel.csh
Synopsis
intf_tops_parallel.csh intf.in batch_tops.config Ncores
Description
intf_tops_parallel.csh generate interferograms for a set of TOPS mode images listed in intf.in. A dem.grd file is required in a local ./topo directory, and the supermaster file name is required to be listed in batch_tops.config
This runs several interferograms in parallel processing. Need to install GNU parallel first (e.g. sudo port install parallel).
Warning: Familiarize yourself with how many cores your machine has (start with a small number first).
Final interferograms are output to a date1_date2 directory (YYYYDDD_YYYYDDD) inside the intf_all directory and each interferogram produces a .in and a .log file for each date pair run.
Required Arguments
intf.in
List of image pairs for which to calculate interferograms
Format of intf.in:
master_image_stem:aligned_image_stem
example of intf.in
S1_20150628_ALL_F1:S1_20150720_ALL_F1
S1_20150720_ALL_F1:S1_20150809_ALL_F1
batch_tops.config
Configuration file for running interferograms. A default batch_tops.config can be created using pop_config.csh with S1_TOPS as the satellite type. Make sure to edit the batch_tops.config file to contain the chosen supermaster image name stem
Ncores
Number of threads/jobs to run at one time. Be aware of how many cores your machine has before starting a parallel job. In addition, processing interferograms involves lots of reading in and writing out, so a larger number isn’t always going to run faster, depending on your machine.
Example
intf_tops_parallel.csh intf.in batch_tops.config 5