ROI_PAC自带测试数据处理流程

$cd /media/lu/802256A522569FC8/01_ROI_PAC_Test
$mkdir test-runs
$cd test-runs

将roi_pac_testdir.tar.gz压缩包放在/media/lu/802256A522569FC8/01_ROI_PAC_Test路径下,执行以下命令,

$/home/lu/StaMPS/StaMPS_v3.3b1/ROI_PAC_3_0_1/ROI_PAC/contrib/multitest.sh /media/lu/802256A522569FC8/01_ROI_PAC_Test/roi_pac_testdir.tar.gz /home/lu/StaMPS/StaMPS_v3.3b1/ROI_PAC_3_0_1/ROI_PAC/INT_SCR /home/lu/StaMPS/StaMPS_v3.3b1/ROI_PAC_3_0_1/ROI_PAC/INT_BIN

第一次执行会出错:

Can't take sqrt of -830.462 at /usr/local/share/roi_pac/make_raw.pl line 1040,  line 88.

solution:  I was able to overcome it by changing line 165 of the default "make_raw.pl" from:

$pri_count    = ByteRead ($imagery_file, $width+$PRIoffset,  $num_bytes);

To:

$pri_count    = ByteRead ($imagery_file, $width+$PRIoffset,  $num_bytes, 1);

采用ROI_PAC的mdx.pl脚本程序来显示生成的文件

mdx.pl /media/lu/802256A522569FC8/01_ROI_PAC_Test/test-runs/ROI_PAC/TEST_DIR/int_930110_9505/geo_930110-950523.unw

执行完multitest.sh脚本,会生成batch_script.sh脚本,可参考该脚本内容来分步执行。

1、用make_raw.pl读取主辅ERS RAW数据,首先找到对应的精轨数据,需导出为环境变量

$export SAR_PRC_DIR="/media/lu/802256A522569FC8/01_ROI_PAC_Test/test-runs/ROI_PAC/TEST_DIR"/PRC
$cd /media/lu/802256A522569FC8/01_ROI_PAC_Test/test-runs/ROI_PAC/TEST_DIR/930110

$time make_raw.pl PRC SARLEADER1993011018252739T1Of1 930110

$cd ..
$cd 950523
$time make_raw.pl PRC SARLEADER1995052318253409T1Of1 950523

$cd ..
$time process_2pass.pl int.proc raw roi_prep
$time process_2pass.pl int.proc roi_prep slcs
$mdx.pl ./930110/930110.slc

$time process_2pass.pl int.proc slcs offsets

你可能感兴趣的:(ROI_PAC)