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, <RSC1> 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
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

IvanLJF

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值