general/misc/
tdeflag.pro
NAME: tdeflag PURPOSE: wapper for xdeflag.pro allowing input of tplot variable names CALLING SEQUENCE: tdeflag, varnames, method, newname = newname, $ overwrite = overwrite, _extra = _extra INPUT: varnames = an array (or scalar) of tplot variable names method = set to "remove_nan", this will remove any NaN (or infinite) values from the data (potentially returning shortened or empty arrays) 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 KEYWORDS: flag = all values greater than 0.98 times this value will be deflagged, the default is 6.8792e28, Nan's, Inf's are also deflagged maxgap = the maximum number of rows that can be filled? the default is n_elements(t) newname = if set, give these names to the deflagged data, the default is to append '_deflag' to the input names and pass out the names in the newname variables, Unless /overwrite is set overwrite = if set, write the new data back to the old tplot variables, do not set this with newname display_object = Object reference to be passed to dprint for output. HISTORY: 2-feb-2007, jmm, jimm.ssl.berkeley.edu $LastChangedBy$ $LastChangedDate$ $LastChangedRevision$ $URL$
Routines
Routines from tdeflag.pro
Routine details
top source tdeflag_remove_nan
tdeflag_remove_nan, dat=dat, display_object=display_object
Keywords
- dat
- display_object
File attributes
Modification date: | Thu Feb 13 16:43:48 2014 |
Lines: | 73 |