merge files.pro

InfoInfo
Search:    

pro merge_files,month=month,year=year,code=code,in_dir=in_dir,out_dir=out_dir,can=can,grn=grn,missing_min_path=missing_min_path

; This program merges daily 1 min. files into 1 big file

mm=['JANUARY','FEBRUARY','MARCH','APRIL','MAY','JUNE',$

months=['jan','feb','mar','apr','may','jun',$

set=strarr(31)
missdays=intarr(31)
yrstr=string(year,format='(i2.2)')
if (year mod 4 eq 0) then begin

endif else begin

endelse

; Select stations

can_stations=['mc','co','rl','sm','si','da','pi','is','gi','ba','cc','es','rn','ta']
grn_stations=['am','sc','dn','dm','nr','na','fh','gb','sk','st','at','gd','um',$

mac_stations=['re','cy','ig','rb','pb','gh','cb','pg','iq','cd','ch','bl', 'na']
stations = mac_stations
if keyword_set(can) then stations = can_stations
if keyword_set(grn) then stations = grn_stations
if keyword_set(code) then stations = [code]

; Set up loop

if keyword_set(month) then begin

endif else begin

endelse

for month = start_month, end_month do begin
for ii = 0, n_elements(stations)-1 do begin

; Open month file and write

endfor ; station loop
endfor ; month loop
end

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