;---------------------------------------------------------------------- ; ex10.ncl ; ; Concepts illustrated: ; - write table in NCL ; send output to file called GPRINT ;---------------------------------------------------------------------- ; These files are loaded by default in NCL V6.4.0 and newer ; load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" ; load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" ; load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl" begin ;Example ;The following is a simplistic example. Try running the following command in NCL and print out the values. a = (/⁠ (/⁠1,2,3/⁠),(/⁠4,5,6/⁠),(/⁠7,8,9/⁠) /⁠) b = ndtooned(a) print(a) print(b) end