WRF(Weather Research and Forecasting Model)で使うことになるNCAR Command Language (NCL)。
http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/BASIC/basic_plot_setup.htm
の4つ目のサンプルではplotとmapを重ねて表示している。
そのNCLファイルの中で以下の記載がある。
plot = wrf_map_overlays(a,wks,(/contour/),pltres,mpres) ; Plot the data over a map background
(/contour/)
という記載が独特で、この情報は今のところ見つかっていない。
wrf_map_overlaysにも使用例は記載されているが、意味については記載なし。
以下の記載を見ると(/vector/)
という使い方もあるのだろうか、と思い(/vector/)
と指定してもエラーとなった。
plots
Plots to overlay over map background, possibly created by calls to wrf_contour and/or wrf_vector.
こういう事項は検索が難しいので、どこかのページで偶然見つけるしかなさそう。
Array表記?
The NCL syntax (/.../) is used to manually create an array by specifying the array's values:
aInt = (/1,2,3/)
aStr= (/"a","b","c"/)
要素数1のArrayなのだろうか?
該当のコードで
contour = wrf_contour(a,wks,ter,res)
pltres = True ; Set plot options
mpres = True ; Set map options
plot = wrf_map_overlays(a,wks,(/contour/),pltres,mpres) ; Plot the data over a map background
という記載と
plots
Plots to overlay over map background, possibly created by calls to wrf_contour and/or wrf_vector.
という記載から理解したのは、contourというのは変数名で、plotsはwrf_map_overlaysにplots [*] : graphic,
という記載があり、この[*]はArrayを指定するようだ。
plots[*]に要素数1のArray `(/ contour /)'を指定している、ということのようだ。