Navigation : Top/OPeNDAP

Outline

海洋や気象を対象に,気温や風速など様々な科学データをネットワーク上で相互利用するインターネットプロトコル. Open-source Project for a Network Data Access Protocolのアクロニウム. Netcdfが使える環境であることが必要.

OPeNDAP for Matlab

必要なファイル

  • 一般
    • loaddap (matlab2009a,bでは動かない)
  • Linuxのみ
    • libdap and libxml2 library

Toolbox

Install

Linux

loaddap

  • require
    • libcurl
    • libxml2 (Ubuntuのlibxml-*-devのパッケージを利用)
  1. Install libcurl
    ./configure
    make
    make test
    > 最後の方にテストの結果が表示される
    > TESTDONE: 428 tests out of 428 reported OK: 100%
    > TESTDONE: 543 tests were considered during 212 seconds.
    make install
  2. Install libdap
    ./configure
    make
    make check (optional, DejaGNU is required)
    make install
  3. loaddap (R2008bで動作確認, 2009a,bは×)
    ./configure --prefix=/usr/local/loaddap
    make
    make install
  4. Matlab OPeNDAP Ocean Toolbox
    • unzipして,matlabのpathを通すだけ
  5. DapperM - A Matlab interface to Dapper
    • 適当な場所に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

  • The Matlab Structs ToolMatlab OPeNDAP Ocean Toolboxをダウンロードしてインストールする.
  • C:\opendap\bin, C:\opendap\dll等にパスを通す(デフォルトインストールだとかってにパスが通っている)
  • C:\opendap\loaddapをMATLABのpathに追加 これで終わり

インストール後のテスト

x = loaddap('-A', 'http://test.opendap.org/opendap/data/nc/coads_climatology.nc')

Proxy

OPeNDAPでproxyを通す設定

Linux

(TBA)

Windows

環境変数で定義

Available Ocean and Atmospheric data

Link