Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

general/misc/

xdeflag.pro


Routines

top source xdeflag

xdeflag, method0, t0, y, flag=flag, maxgap=maxgap, _extra=_extra, display_object=display_object

xdeflag PURPOSE: Replaces FLAGs in arrays with interpolated or other values CALLING SEQUENCE: xdeflag, method, t, y, flag=flag, _extra=_extra INPUT: method = set to "repeat", this will repeat the last good value. set to "linear", then linear interpolation is used, but for the edges, the closest value is used, there is no extrapolation t = time array, in any useable tplot format y = the input array, n_elements(t) by n OUTPUT: y = either interpolated or repated, where the value is > 0.98*flag, or NaN KEYWORDS: flag = all values greater than 0.98 times this value will be removed; default is 6.879e28, NaNs and +/-Infinity are always removed maxgap = the maximum number of rows that can be filled? the default is n_elements(t) display_object = Object reference to be passed to dprint for output. HISTORY: 2-feb-2007, jmm, jimm.ssl.berkeley.edu from Vassilis' clip_deflag.pro $LastChangedBy: pcruce $ $LastChangedDate: 2012-07-05 11:21:00 -0700 (Thu, 05 Jul 2012) $ $LastChangedRevision: 10684 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/misc/xdeflag.pro $

Parameters

method0
t0
y

Keywords

flag
maxgap
_extra
display_object

File attributes

Modification date: Thu Feb 13 16:43:48 2014
Lines: 136