Navigation : Top/OPeNDAP

  • 追加された行はこの色です。
  • 削除された行はこの色です。
* Outline [#j6922f17]
海洋や気象を対象に,気温や風速など様々な科学データをネットワーク上で相互利用するインターネットプロトコル.
Open-source Project for a Network Data Access Protocolのアクロニウム.
Netcdfが使える環境であることが必要.
- [[OPeNDAP:http://opendap.org/]]
- [[OPeNDAP Manual:http://opendap.org/user/guide-html/guide.html]]

* OPeNDAP for Matlab [#ifdef8bf]
必要なファイル
- 一般
-- loaddap (matlab2009a,bでは動かない)
- Linuxのみ
-- libdap and libxml2 library

*** Toolbox [#la796c72]
- Matlab用のloaddap
-- [[The Matlab Structs Tool:http://www.opendap.org/download/ml-structs.html]]
- Matlab用のOPeNDAP
-- [[Matlab OPeNDAP Ocean Toolbox:http://www.oceanographicdata.org/Toolbox/toolbox.html]]
- OPeNDAP GUI
-- [[DapperM - A Matlab interface to Dapper:http://www.epic.noaa.gov/epic/software/DapperM/]]


* Install [#k6ce1309]
** Linux [#n0c1d89b]
*** loaddap [#i40a2778]
- require
-- [[libcurl:http://curl.haxx.se/]]
-- libxml2 (Ubuntuのlibxml-*-devのパッケージを利用)
//
+ Install [[libcurl:http://curl.haxx.se/]]
 ./configure
 make
 make test
 > 最後の方にテストの結果が表示される
 > TESTDONE: 428 tests out of 428 reported OK: 100%
 > TESTDONE: 543 tests were considered during 212 seconds.
 make install
+ Install [[libdap:http://www.opendap.org/download/libdap++.html#3.8.1]]
 ./configure
 make
 make check (optional, DejaGNU is required)
 make install
+ loaddap (R2008bで動作確認, 2009a,bは×) 
 ./configure --prefix=/usr/local/loaddap
 make
 make install
+ [[Matlab OPeNDAP Ocean Toolbox:http://www.oceanographicdata.org/Toolbox/toolbox.html]]
-- unzipして,matlabのpathを通すだけ
+ [[DapperM - A Matlab interface to Dapper:http://www.epic.noaa.gov/epic/software/DapperM/]]
-- 適当な場所にDapperMのdirectoryをおく.
-- $matlabroot/toolbox/local/classpath.txtを編集する.
---  $matlabroot/toolbox/DapperM/DapperM.jar
-- DapperM/dappermdpr_imports.mを編集
--- System.setProperty('ndedit.support.dir','/Applications/MATLAB73/toolbox/DapperM/NdEdit_Support');
-- matlabにDapperM/dapperm のパスを通す
-- 確認
--- dpr_gui" to open the DapperM 


*** Windows [#u1175cf4]
- [[The Matlab Structs Tool:http://www.opendap.org/download/ml-structs.html]]と[[Matlab OPeNDAP Ocean Toolbox:http://www.oceanographicdata.org/Toolbox]]をダウンロードしてインストールする.
- C:\opendap\bin, C:\opendap\dll等にパスを通す(デフォルトインストールだとかってにパスが通っている)
- C:\opendap\loaddapをMATLABのpathに追加
これで終わり

** インストール後のテスト [#aa9fac49]
テストコマンド
 x = loaddap('-A', 'http://test.opendap.org/opendap/data/nc/coads_climatology.nc')
正常なリターン
 x = 
                  SST: [1x1 struct]
                 AIRT: [1x1 struct]
                 UWND: [1x1 struct]
                 VWND: [1x1 struct]
    Global_Attributes: [1x1 struct]

*** Trouble shooting [#x6d11e28]
以下のようなエラーが出る場合がある.
 /usr/local/bin/writedap: /usr/local/matlab_2008b/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/local/bin/writedap)
- /usr/local/matlab_2008b/sys/os/glnxa64/の以下のファイルを適当な場所に移す
-- libstdc++.so.6
-- libdap.so.9


** Proxy [#k8282540]
OPeNDAPでproxyを通す設定
- http://opendap.org/user/guide-html/guide_72.html
*** Linux [#w8d8f1f1]
(TBA)
*** Windows [#v2e9a16b]
環境変数で定義
- 変数名
-- http_proxy
- 変数値
-- 例)http://proxy.kuins.net:8080/ 


* Available Ocean and Atmospheric data [#ad5f123c]
- [[NOAA National Operational Model Archive & Distribution System:http://nomads.ncdc.noaa.gov/data.php]]
- [[NASA Estimating the Circulation and Climate of the Ocean:http://ecco.jpl.nasa.gov/]]

- [[京大生存研大気データベース:http://database.rish.kyoto-u.ac.jp/arch/glob-atmos/]]


* Link [#s3281202]
- [[OPeNDAP Manual:http://opendap.org/user/guide-html/guide.html]]