1. Go to SOEST (University of Hawaii), click on "Mirrors" in the left, and pick an appropriate FTP server;
2. Download netcdf-3.6.1-win32.zip, unzip the file and put it in a folder and rename the folder to "NETCDF"
3. Click on "4", to enter GMT version 4's directory, and download the files listed below:
GMT_exe.zip All executables
GMT_share.zip Support run-time files (patterns, cpt)
GSHHS_coast.zip Basic GSHHS coastlines
GMT_suppl_exe.zip Supplemental executables
GMT_pdf.zip PDF documentation and Unix man pages
GMT_man.zip Unix man pages for GMT
GMT_web.zip HTML versions of all documentation
GMT_tut.zip Tutorial data sets
GMT_src.zip All source code
GMT_scripts.zip Example scripts and data
GMT_suppl.zip Supplemental program source and docs
GSHHS_high.zip High resolution GSHHS coastline files
GSHHS_full.zip Full resolution GSHHS coastline files
Unzip all the files whose name started with "GMT", this will create ONE folder named "GMT", in this folder there will be many sub-folders:
bin (gmtprograms)
examples (gmtexamples)
lib
man
netcdf
share ( rivers, borders, shorelines, patterns etc)
src
tutorial
www
4. move the "GMT" folder to C:\
5. move the "NETCDF" folder to C:\ (this folder was from step 2)
6. Copy C:\NETCDF\netcdf.dll to C:\windows\system32
7. In control panel -> system -> advance -> environmental variables, find "system variables", and add one item:
variable name is "GMTROOT", variable is "C:\GMT"; (all without the double quotes)
In PATH, add C:\GMT\bin
and save
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!
2008年6月2日 星期一
2008年2月21日 星期四
在 Windows XP 下裝設 GMT (Generic Mapping Tools)
1. 到 夏威夷大學SOEST的網站 點至左方Mirrors, 選取適當的FTP站 (在台灣大概都是日本的清水 Shimizu)
GMT_exe.zip All executables
GMT_share.zip Support run-time files (patterns, cpt)
GSHHS_coast.zip Basic GSHHS coastlines
GMT_suppl_exe.zip Supplemental executables
GMT_pdf.zip PDF documentation and Unix man pages
GMT_man.zip Unix man pages for GMT
GMT_web.zip HTML versions of all documentation
GMT_tut.zip Tutorial data sets
GMT_src.zip All source code
GMT_scripts.zip Example scripts and data
GMT_suppl.zip Supplemental program source and docs
GSHHS_high.zip High resolution GSHHS coastline files
GSHHS_full.zip Full resolution GSHHS coastline files
bin (gmtprograms)
examples (gmtexamples)
lib
man
netcdf
share ( rivers, borders, shorelines, patterns etc)
src
tutorial
www
等的檔案夾 裡面又各有許多檔案。
2. 下載netcdf-3.6.1-win32.zip, 解壓縮後,置於一新增檔案夾中,更改檔案夾名稱為NETCDF
3. 進入"4", 即GMT 4版的目錄,下載以下的檔案
GMT_exe.zip All executables
GMT_share.zip Support run-time files (patterns, cpt)
GSHHS_coast.zip Basic GSHHS coastlines
GMT_suppl_exe.zip Supplemental executables
GMT_pdf.zip PDF documentation and Unix man pages
GMT_man.zip Unix man pages for GMT
GMT_web.zip HTML versions of all documentation
GMT_tut.zip Tutorial data sets
GMT_src.zip All source code
GMT_scripts.zip Example scripts and data
GMT_suppl.zip Supplemental program source and docs
GSHHS_high.zip High resolution GSHHS coastline files
GSHHS_full.zip Full resolution GSHHS coastline files
將GMT開頭的一起解壓縮(這樣會出現一個檔案夾叫做GMT,其下有
bin (gmtprograms)
examples (gmtexamples)
lib
man
netcdf
share ( rivers, borders, shorelines, patterns etc)
src
tutorial
www
等的檔案夾 裡面又各有許多檔案。
4. 將這個GMT檔案夾移至 C:\
5. 將netcdf-3.6.1-win32.zip 解壓縮置於 C:\NETCDF
6. Copy C:\netcdf\netcdf.dll 到 C:\windows\system32
7. 到控制台->系統設定->進階->環境變數 的 “系統變數“中增加一項
PATH 中 加入 C:\GMT\bin
變數名稱為 GMTROOT 而變數值為 C:\GMT
儲存
8. 在DOS窗框中 打入 pscoast 看看是否有錯誤訊息; 若是有一長串說明檔出現 就表示gmt本身安裝成功
9. 下載Ghostscript以及GSView 並安裝於系統中
訂閱:
文章 (Atom)