igloolik despike.pro

InfoInfo
Search:    

; Comments added by Erik Johnson 7/5/07
; igloolik_despike.pro, compiles and runs with idl
; needs read_maccs.pro & write_maccs.pro to run
; input must be cleaned MACCS binary .s2 data file(s) (it accepts original files & despiked files)
; output is a despiked binary version of the cleaned data
; if the output directory is the same as the input directory the original cleaned file(s) is/are replaced by the despiked version(s)
; example file names: if input file is CD05004.s2, output file is CD05004.s2
; to compile & run: igloolik_despike, "name_of_input_file(s)", "/path_to_input_file(s)/", "/path_to_output_directory/" (you can use * and ?)
; to display windows with graphs (after the first 2 graphs appear, close the windows (bottom graph first) to display the next graph): view="something" (WARNING: If the input file has not been despiked and the view parameter is set, it will display hundreds of graphs that you have to click through one at a time before it outputs a despiked file. Also, if you click through the graphs too quickly it will have a bus error and exit IDL.)
; the spikeview parameter is not used in the program
; Example: igloolik_despike, "CD05*.s2", "/Volumes/physics_data/Ftp/MACCS_DATA/Clean/CD/2005/", "/Volumes/physics_data/Ftp/MACCS_DATA/Despiked/CD/2005/", view="view"

PRO igloolik_despike,File_Specification,in_dir,out_dir,view=view,spikeview=spikeview

!p.multi=[0,0,3]

window,0

window,1

; OLD files=findfile(in_dir+file)

files=FINDFILE(FILEPATH(File_Specification, ROOT_DIR = in_dir))

FOR j = 0, n_elements(files)-1 DO BEGIN

ENDFOR

;stop

!p.multi=0

END

This is a Wiki Spot wiki. Wiki Spot is a non-profit organization that helps communities collaborate via wikis.