Description of SAR images
Image Types
cpx = alternating real and imaginary pixels
rmg = alternating lines of amplitude and phase
• slc: cpx
• int: cpx
• cor: rmg
• unw: rmg
• hgt: rmg
• amp: cpx
Since I have a very short memory span, I want to write down the procedures and some of the things I do for my research. If somebody else find it useful, that'd be even better!
2007年10月22日 星期一
2007年5月1日 星期二
一些有用的 Unix 連結
General Unix Links:
Unix tutorial for beginners
Unix for beginners by Gerard J. Kleywegt (written by an X-ray crystallographer). Comprehensive.
Unix for beginners by Ian Tickle (written by an X-ray crystallographer). Some Dos/unix conversions.
Unixhelp for Users Edinburgh Univ. (a bit more advanced)
A note about Unix Shells William Scott's page. (brief notes about [t]csh vs. sh-type shells).
Apple's Command Line Primer covers basic shell concepts, frequently used commands, environment variables, and running programs.
Unix tutorial for beginners
Unix for beginners by Gerard J. Kleywegt (written by an X-ray crystallographer). Comprehensive.
Unix for beginners by Ian Tickle (written by an X-ray crystallographer). Some Dos/unix conversions.
Unixhelp for Users Edinburgh Univ. (a bit more advanced)
A note about Unix Shells William Scott's page. (brief notes about [t]csh vs. sh-type shells).
Apple's Command Line Primer covers basic shell concepts, frequently used commands, environment variables, and running programs.
2007年4月3日 星期二
使用StaMPS以及Doris
1. copy 所有SLC到 ~/StaMPS/SLC/
2. 將檔案夾名稱改成日期 (yyyymmdd)
3. 選取master影像
4. 進入master檔案夾
5. 執行 “step_master_read_whole"
6. 決定crop的區域
7. 在master檔案夾 ccp $MY_SCR/master_crop.in .
8. 修改其中的起始與結束位置
9. 回到SLC檔案夾
\ls -d [1,2]* > make_slcs.list
去掉其中的master日期
10. 執行 make_read
暫時結束
2. 將檔案夾名稱改成日期 (yyyymmdd)
3. 選取master影像
4. 進入master檔案夾
5. 執行 “step_master_read_whole"
6. 決定crop的區域
7. 在master檔案夾 ccp $MY_SCR/master_crop.in .
8. 修改其中的起始與結束位置
9. 回到SLC檔案夾
\ls -d [1,2]* > make_slcs.list
去掉其中的master日期
10. 執行 make_read
暫時結束
2007年3月28日 星期三
使用awk來處理USGS地震資料
USGS 的地震資料格式如下:
Year Month Day Time(hhmmss.mm)UTC Latitude Longitude Magnitude Depth
1973 01 30 210112.50 18.48 -103.00 7.5 43
1973 02 06 103710.10 31.40 100.58 7.7 33
.
.
如果想要利用GMT畫地震分布時,awk會是一個很方便的工具(相對於Micro$oft的東西來說, 利用很簡單的shell script就可以轉換檔案:
awk '{if (NR>1) print $6, $5, $7, sqrt($8)}' infile > outfile
其中要輸出的 field 也可以做運算 例如上面的'sqrt($8)'
Year Month Day Time(hhmmss.mm)UTC Latitude Longitude Magnitude Depth
1973 01 30 210112.50 18.48 -103.00 7.5 43
1973 02 06 103710.10 31.40 100.58 7.7 33
.
.
如果想要利用GMT畫地震分布時,awk會是一個很方便的工具(相對於Micro$oft的東西來說, 利用很簡單的shell script就可以轉換檔案:
awk '{if (NR>1) print $6, $5, $7, sqrt($8)}' infile > outfile
其中要輸出的 field 也可以做運算 例如上面的'sqrt($8)'
訂閱:
文章 (Atom)