Takuya Miyashita
This site
Web
Start:
* TTT 計算メモ [#ccade68f]
**コマンド用法 [#cff8df02]
#codeprettify{{
ttt <inputfile> [-B] [-D<zmin>] [-E<lon/lat> or -e<file>]...
}}
inputfile の部分は下記の ttt_topo_XXX.i2 のファイル(XXX ...
ttt_topo_10m.i2
ttt_topo_15m.i2
ttt_topo_1m.i2
ttt_topo_20m.i2
ttt_topo_2m.i2
ttt_topo_30m.i2
ttt_topo_30s.i2
ttt_topo_5m.i2
ttt_topo_60m.i2
デフォルトの通りインストールしていれば /usr/share/geoware...
拡張子の .i2 を含めないように注意.~
#codeprettify{{
ttt ttt_topo_10m (...続き...)
}}
のように書く.
~
その他のオプションは GMT と似たような使い方.R オプション...
~
各オプションの詳細は以下の通り.~
Usage: ttt <inputfile> [-B] [-D<zmin>] [-E<lon/lat> or -...
[-O<mm/dd/yyyy/hh/mi>[/<ss>]] [-R<w/e/s/n>] [-S[<...
ttt attempts to decode <inputfile> using the following o...
1. If filename ends in ".b" it is read as bathymetry ...
2. If filename ends in ".i2" it is read as bathymetry...
3. If $TTT_DIR/<inputfile>.i2 exists it will be used ...
OPTIONS:
-B Do NOT normalize the travel times [Default normalizes...
-D Specify a minimum water depth [0]. Depths shallower ...
so that depth goes quadratically from z0 to 2*z0 inst...
-E Set the location of the epicenter.
-e Give filename with multiple "epicenters" to mimic a n...
-G Store travel times in one of four formats. Choose from
-Ga Store travel times as ESRI Arc/Info ASCII Grid In...
-Gb Store travel times as ESRI Gridfloat file (separa...
-Gf Store travel times as GMT native float grid (*.b)...
-Gi Store travel times as GMT native 2-byte int grid ...
Do no supply a file extension with -T as -G will ...
-N Number of Huygens nodes to use (8, 16, 32, 48, or 64)...
-O Set earthquake origin time (UTC). Use lower case -o ...
-R Specify a sub-region of the grid [Use entire grid].
-S Substitute nearest ocean node if epicenter is on land.
Optionally, append search radius in degrees [5].
Furthermore, you may append the minimum depth you wan...
-T Set prefix for the output grid file with travel times...
Extension will be added automatically (see -G for fil...
-V Give feedback while running [Default is quiet].
Append l to see relocated epicenter (if using -S).
~
~
**計算例 [#re909f0a]
#codeprettify{{
#!/bin/bash
TTT_DIR=/usr/share/geoware/ttt/data
epicenter="142.86E/38.10333N"
topo="ttt_topo_10m"
output="test1"
ttt64 ${topo} -E${epicenter} -T${output} -V
gmt begin $output png
gmt makecpt -Cmagma -T0/30/1
gmt grdcut ${TTT_DIR}/${topo}.i2 -R${output}.b=bf -Gt...
gmt grdgradient tmp.i2 -A0 -Nt1.2 -Gtmp.nc
gmt grdimage ${output}.b=bf -Itmp.nc -JA${epicenter}/...
gmt psscale -DjMR+w10.0/0.25+o-1.0/-0.2 -Ba5f5
gmt grdcontour ${output}.b=bf -C1 -Wgray -GlZ-/Z+
gmt coast -Ggray90 -Dh -W0.1p -A500 -Baf
echo "142.86 38.10333" | gmt plot -Sa0.4 -Gyellow -W0.1
gmt end
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
End:
* TTT 計算メモ [#ccade68f]
**コマンド用法 [#cff8df02]
#codeprettify{{
ttt <inputfile> [-B] [-D<zmin>] [-E<lon/lat> or -e<file>]...
}}
inputfile の部分は下記の ttt_topo_XXX.i2 のファイル(XXX ...
ttt_topo_10m.i2
ttt_topo_15m.i2
ttt_topo_1m.i2
ttt_topo_20m.i2
ttt_topo_2m.i2
ttt_topo_30m.i2
ttt_topo_30s.i2
ttt_topo_5m.i2
ttt_topo_60m.i2
デフォルトの通りインストールしていれば /usr/share/geoware...
拡張子の .i2 を含めないように注意.~
#codeprettify{{
ttt ttt_topo_10m (...続き...)
}}
のように書く.
~
その他のオプションは GMT と似たような使い方.R オプション...
~
各オプションの詳細は以下の通り.~
Usage: ttt <inputfile> [-B] [-D<zmin>] [-E<lon/lat> or -...
[-O<mm/dd/yyyy/hh/mi>[/<ss>]] [-R<w/e/s/n>] [-S[<...
ttt attempts to decode <inputfile> using the following o...
1. If filename ends in ".b" it is read as bathymetry ...
2. If filename ends in ".i2" it is read as bathymetry...
3. If $TTT_DIR/<inputfile>.i2 exists it will be used ...
OPTIONS:
-B Do NOT normalize the travel times [Default normalizes...
-D Specify a minimum water depth [0]. Depths shallower ...
so that depth goes quadratically from z0 to 2*z0 inst...
-E Set the location of the epicenter.
-e Give filename with multiple "epicenters" to mimic a n...
-G Store travel times in one of four formats. Choose from
-Ga Store travel times as ESRI Arc/Info ASCII Grid In...
-Gb Store travel times as ESRI Gridfloat file (separa...
-Gf Store travel times as GMT native float grid (*.b)...
-Gi Store travel times as GMT native 2-byte int grid ...
Do no supply a file extension with -T as -G will ...
-N Number of Huygens nodes to use (8, 16, 32, 48, or 64)...
-O Set earthquake origin time (UTC). Use lower case -o ...
-R Specify a sub-region of the grid [Use entire grid].
-S Substitute nearest ocean node if epicenter is on land.
Optionally, append search radius in degrees [5].
Furthermore, you may append the minimum depth you wan...
-T Set prefix for the output grid file with travel times...
Extension will be added automatically (see -G for fil...
-V Give feedback while running [Default is quiet].
Append l to see relocated epicenter (if using -S).
~
~
**計算例 [#re909f0a]
#codeprettify{{
#!/bin/bash
TTT_DIR=/usr/share/geoware/ttt/data
epicenter="142.86E/38.10333N"
topo="ttt_topo_10m"
output="test1"
ttt64 ${topo} -E${epicenter} -T${output} -V
gmt begin $output png
gmt makecpt -Cmagma -T0/30/1
gmt grdcut ${TTT_DIR}/${topo}.i2 -R${output}.b=bf -Gt...
gmt grdgradient tmp.i2 -A0 -Nt1.2 -Gtmp.nc
gmt grdimage ${output}.b=bf -Itmp.nc -JA${epicenter}/...
gmt psscale -DjMR+w10.0/0.25+o-1.0/-0.2 -Ba5f5
gmt grdcontour ${output}.b=bf -C1 -Wgray -GlZ-/Z+
gmt coast -Ggray90 -Dh -W0.1p -A500 -Baf
echo "142.86 38.10333" | gmt plot -Sa0.4 -Gyellow -W0.1
gmt end
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
Page:
Edit with a page name which already exists