make_single_reference_stack_isce error: badly placed ()'s

207 views
Skip to first unread message

Caleb Kelly

unread,
Oct 13, 2021, 9:09:12 PM10/13/21
to MAINSAR
Hello,

I ran the following 

stackSentinel.py --swath_num '2 3' --bbox '5.530962 5.697689 -0.42 0.1' --reference_date 20170707 --coregistration geometry -W slc -c 3 --azimuth_looks 5 --range_looks 15 -s $slc_dir/ -d $dem_dir/demLat*.wgs84 -a $aux_dir/ -o $orbits_dir/ 

in ISCE2 and when it was done, I ran 

make_single_reference_stack_isce input_file

This however prints out "Need to define: ... Badly placed ()'s".

I also modified the "make_single_..." for SBAS and ran into the same error. It looks like my "input_file" is not being read?

I successfully ran PSI in StaMPS a while ago using data from snap2stamps, so I think my StaMPS installation is ok.

I've attached input_file. I would appreciate any assistance.

Cheers
Caleb


input_file

Tonian Robinson

unread,
Oct 14, 2021, 12:40:52 PM10/14/21
to MAINSAR
Maybe change to slc_stack_master to slc_stack_reference in the input_file?

Hari Shankar

unread,
Oct 14, 2021, 1:04:50 PM10/14/21
to mai...@googlegroups.com
Before running stackSentinel.py and make_single_...._isce, make sure the following things 

1) export PATH=$PATH:/../ISCE2STAMPS, TopsStack and Applications 
2) run: stackSentinel.py -s $SLC dir -o $orbit_dir -d $dem_dir/dem.....wgs84 -a $auxiliary or orbit_dir -W slc -C geometry -b 'min_lat max_lat min_lon max_lon' -m master_date

Note: It needs orbit files which are currently downloaded. So don't run with earlier downloaded files. For this you have to check correct URL in fetchorbit.py file and Dloadorbit.py files so that orbit files can be downloaded automatically

3) ALL links should be correct in input_file (see page no. 4 of isce2stamps manual) and should be placed in the same directory where you want to run make_single...._isce

I hope it will work.

--
You received this message because you are subscribed to the Google Groups "MAINSAR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mainsar+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mainsar/d9383a8c-375b-42f5-a342-a2c329ab1a6an%40googlegroups.com.

Caleb Kelly

unread,
Oct 14, 2021, 7:50:27 PM10/14/21
to MAINSAR
Thank your both very much!!! Changing slc_stack_master to slc_stack_reference in input_file got me past the "Badly placed ()'s" error.

Cheers!

Reply all
Reply to author
Forward
Message has been deleted
0 new messages