Xeon E5-2620 v4 (8コア) x 2
32GB RAM
CentOS 6.8 (64bit)
openmpi-1.8.x86_64 とその-devel
mpich.x86_64 3.1-5.el6とその-devel
gcc version 4.4.7 (とgfortran)
NetCDFファイルを描画するためのNCLについて。
NCAR Command Language (NCL)。
http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/NCL_examples.htm
Arrayの扱い。
Arrayはu(0:0,:,:)
のような表記をする。
最初、ひっかかったのは「関数なのか、Arrayなのか」を見た時に分かりにくいこと。
( NCLに関数があるかは未消化 )。
Array Dimension Reduction
Is a feature that causes arrays with a dimension = 1 to collpase to one fewer dimensions.
Array (13,64,128): sub-select u2 = u(0,:,:). u2 now (64 x 128). No other information is lost, all attributes, and coordinate variables for the original three dimensions are still associated with u2.
To get around this automatic dimension reduction, the following syntax is required:
u2 = u(0:0,:,:).
Arraysに関する他の事項は以下のArrays節を参照する
http://www.ncl.ucar.edu/Document/Language/index.shtml