-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathisce2+mintpy
81 lines (57 loc) · 2.59 KB
/
isce2+mintpy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
ISCE2
1. 按照网址 https://zhuanlan.zhihu.com/p/269183148 进行
export ISCE_HOME=/home/serena/anaconda3/envs/isce2_env/lib/python3.8/site-packages/isce
export PATH=$PATH:$ISCE_HOME/applications:$ISCE_HOME/bin
export ISCE_STACK=/home/serena/isce2
export prepStackToStaMPS=/home/serena/isce2/contrib/timeseries/prepStackToStaMPS
export PATH=$prepStackToStaMPS/bin:/home/serena/isce2/contrib/stack/topsStack:$PATH
export ISCE_HOME=/root/anaconda3/envs/isce2_env/lib/python3.8/site-packages/isce
export PATH=$PATH:$ISCE_HOME/applications:$ISCE_HOME/bin
export ISCE_STACK=/root/isce2
export prepStackToStaMPS=/root/isce2/contrib/timeseries/prepStackToStaMPS
export PATH=$prepStackToStaMPS/bin:/root/isce2/contrib/stack/topsStack:$PATH
ISCE报错
找不到topsstack
将stackSentinel.py 错误那项from topsstack.Stack import config, run, sentinelSLC改为from Stack import config, run, sentinelSLC
测试:topsApp.py --steps --help
2. 在isce目录下修改license.py文件,内容为:
stanford_license = 'zxzxzx'
3.在$HOME下新建.netrc文件,内容如下:
machine urs.earthdata.nasa.gov
login XXX
password XXX
4. pip install shapely
error:
1.object.py 用pycharm编辑 空行不一致
2.错误:UnicodeEncodeError: 'ascii' codec can't encode characters in position 11-13: ordinal not in range(128)
File "/home/zzz/anaconda3/envs/mintpy/lib/python3.8/site-packages/pyaps3/era.py", line 189, in get_ecmwf
grbs = pygrib.open(fname)
File "src/pygrib/_pygrib.pyx", line 320, in pygrib._pygrib.open.__cinit__
File "src/pygrib/_pygrib.pyx", line 1969, in pygrib._pygrib._strencode
网址:https://www.cnblogs.com/bonelee/p/7613671.html
1.zx /home/zzz/anaconda3/envs/mintpy/lib/python3.8/site-packages 编辑
#coding=utf8
import sys
import imp
imp.reload(sys)
#sys.setdefaultencoding('utf8')
1.在python的Lib\site-packages文件夹下新建一个sitecustomize.py,内容为:
#coding=utf8
import sys
reload(sys)
sys.setdefaultencoding('utf8')
2.在程序中加入以下代码
/home/zzz/anaconda3/envs/mintpy/lib/python3.8/site-packages/pyaps3
import sys
sys.setdefaultencoding('utf8')
杀死进程:
kill -9 -1 杀死所有进程
kill -9 PID 杀死某个进程
运行完毕
save_gdal.py geo_velocity.h5 -o geo_velocity.tif
ISCE geometry 前五步
1.解压主影像,生成geom_reference和reference两个文件夹
2.解压附影像,生成secondarys文件夹
3.基线计算,生成baseline
4.配准,生成coreg_secondarys文件夹,生成每个日期文件,并在下面生成IW1、IW2和IW3,每个文件里面54文件
4.配准,在54个文件基础上,得到81个文件,并且外面生成12个文件