Documentation for /home/davin/idl/socware/

Generated by IDLdoc

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

general/misc/

tdegap.pro


Routines

top source tdegap

tdegap, varnames_in, dt=dt, margin=margin, newname=newname, overwrite=overwrite, output_message=output_message, maxgap=maxgap, display_object=display_object, flag=flag, _extra=_extra

NAME: tdegap PURPOSE: wrapper for xdegap.pro allowing input of tplot variable names CALLING SEQUENCE: tdegap, varnames, dt=dt, margin=margin, maxgap=maxgap,$ newname=newname, overwrite=overwrite INPUT: varnames = an array (or scalar) of tplot variable names KEYWORDS: dt = the nominal time resolution of the data that will be inserted, the default is to choose the median of the input time array margin = the margin used to determine if a gap is big enough, the default is 0.25 seconds maxgap = the maximum gap size that will be allowed to be filled, in units of dt. the default is to set this to the max number of data points (TDEGAP degaps anything that is greater than dt+margin and less than maxgap*dt) newname = if set,give these names to the degapped data, the default is to append '_degap' 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 (Keywords passed to XDEGAP:) nowarning = if set, suppresses warnings flag = A numeric user-specified value to use for flagging gaps. Defaults to a floating NaN. If an array is entered, only the first element is considered.If a non-numeric datatype is entered, its value is ignored. onenanpergap = Fill gaps with only one NaN -> useful for conserving memory. Also, for reference concerning post-processing, the INTERPOL function propagates a single NaN just as it would many NaNs. display_object = An object reference to be passed to dprint for output. output_message = Passes any messages generated up to the calling procedure as an array of strings HISTORY: 9-apr-2007, jmm, jimm.ssl.berkeley.edu 10-oct-2008, jmm, Degaps v tags if necessary Added output_message keyword Feb-02-2011 prc $LastChangedBy$ $LastChangedDate$ $LastChangedRevision$ $URL$

Parameters

varnames_in

Keywords

dt
margin
newname
overwrite
output_message
maxgap
display_object
flag
_extra

File attributes

Modification date: Thu Feb 13 16:43:47 2014
Lines: 113