Takuya Miyashita
This site
Web
Start:
*TTT install [#zb3be828]
README.TXT にある通り.
**データファイル [#j09eb671]
#codeprettify{{
sudo mkdir -p /usr/share/geoware/ttt/data
sudo chmod -R og+rx /usr/share/geoware
sudo tar xjvf tttdata_unixosx.tar.bz2 -C /usr/share/geowa...
}}
Mac だと /usr/share に新規ディレクトリを作成するのは, r...
この権限自体を変更することもできると思うが面倒らしい.~
~
**バイナリ [#n5c58d9d]
#codeprettify{{
tar xjvf ttt-3.2.2.tar.bz2
cd ttt-3.2.2/src
./configure --bindir=/usr/local/bin --enable-64
make
sudo make install
}}
実行ファイル ttt は, データファイルが /usr/share/geoware...
違う場所に格納した場合は, src の ttt_arch.h.in にある
#codeprettify{{
#define TTT_DIR_DEFAULT "/usr/share/geoware/ttt/data"
}}
の部分を適切なパスへ書き換える.~
~
**テスト [#jc7c347a]
#codeprettify{{
cd ttt-3.2.2/src
./ttttest.sh
}}
以下のような出力を得た.~
This calculation should give ~14.54 hours travel time - ...
ttt: Get bathymetry...Calculate slowness...Initialize of...
ttt: Completed 96 %
ttt: Warning: 29658 Landlocked nodes not reached
ttt: Completed 96 %
Write ttt...Normalization factor = 0.999197
Create file ttt.b
Done
TT from Chile 1960 [39:30S,74:30W] to Honolulu [19N,155W...
End:
*TTT install [#zb3be828]
README.TXT にある通り.
**データファイル [#j09eb671]
#codeprettify{{
sudo mkdir -p /usr/share/geoware/ttt/data
sudo chmod -R og+rx /usr/share/geoware
sudo tar xjvf tttdata_unixosx.tar.bz2 -C /usr/share/geowa...
}}
Mac だと /usr/share に新規ディレクトリを作成するのは, r...
この権限自体を変更することもできると思うが面倒らしい.~
~
**バイナリ [#n5c58d9d]
#codeprettify{{
tar xjvf ttt-3.2.2.tar.bz2
cd ttt-3.2.2/src
./configure --bindir=/usr/local/bin --enable-64
make
sudo make install
}}
実行ファイル ttt は, データファイルが /usr/share/geoware...
違う場所に格納した場合は, src の ttt_arch.h.in にある
#codeprettify{{
#define TTT_DIR_DEFAULT "/usr/share/geoware/ttt/data"
}}
の部分を適切なパスへ書き換える.~
~
**テスト [#jc7c347a]
#codeprettify{{
cd ttt-3.2.2/src
./ttttest.sh
}}
以下のような出力を得た.~
This calculation should give ~14.54 hours travel time - ...
ttt: Get bathymetry...Calculate slowness...Initialize of...
ttt: Completed 96 %
ttt: Warning: 29658 Landlocked nodes not reached
ttt: Completed 96 %
Write ttt...Normalization factor = 0.999197
Create file ttt.b
Done
TT from Chile 1960 [39:30S,74:30W] to Honolulu [19N,155W...
Page:
Edit with a page name which already exists