Example 3D netcdf data

5 ビュー (過去 30 日間)
Chad Greene
Chad Greene 2014 年 8 月 15 日
コメント済み: Chad Greene 2014 年 8 月 15 日
I am writing a help file that would benefit from some example data in netcdf format. The data should be in the form of a 3D matrix of some variable (e.g. temperature), and corresponding (lat, lon) or (x,y) and time vectors. Unfortunately, Matlab's example.nc only contains 2D data sets. Is there some geospatialexample.nc file that I do not know about or should I create it myself?

回答 (1 件)

Ashish Uthama
Ashish Uthama 2014 年 8 月 15 日
編集済み: Ashish Uthama 2014 年 8 月 15 日
If you assume net connection, your example could "download" it. MATLAB can read OPeNDAP data. Barring that, you would have to create one. Or add code to your example which creates it on the fly (NCCREATE/NCWRITE).
  1 件のコメント
Chad Greene
Chad Greene 2014 年 8 月 15 日
Thanks Ashish. I don't want to assume that end users have an internet connection with friendly firewall settings, and I'm afraid that several lines of example data creation may make my help files a bit top-heavy. I may need to distribute my help file along with a separate example data file.

サインインしてコメントする。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by