NCL Fundamentals Cheat Sheet
Creating a new array:
array := new((ARRAY, DIMENSION, SIZES),TYPE)
Loops:
While loops:
i=0
do while(i.lt. LIMIT)
i=i+1
end do
Opening a file:
f = addfile(diri + fname,"r")
getting dimension sizes:
latsize = dimsizes(lat)
getting dimensions from a file:
phis_size = getfilevardimsizes(f, "PHIS")
if else
if (max_val .lt. 10) then
else
end if
Accessing
pi_const = get_pi(0.0)