NANSWAP Purpose
This procedure swaps out NANs in an array with another value. It
can also undo this swapping Inputs
data: A data cube
swap: A value to substitute in place of nans within data
Keyword Parameters
unswap: Reverse the procedure, replacing instances of swap with
nan. Note that any naturally occuring instances of SWAP
will be also replaced with nans.
Modification History
April 2010: Written by Chris Beaumont