pro SUMMARY, datedeb,datefin, nblocks = nblocks,print_ps=print_ps
printer_name = 'hp5100_bat16'
if not(keyword_set(nblocks)) then nblocks = 1
set_plot,'ps'
device, yoff=27.7, xsize=27., xoff=0.8, ysize=19.5, /landscape
device, bits=8
!p.font=0
for i=datedeb,datefin do begin
pFileList=make_file_list(i, 0l, i, 24l, level='k', /noemptyfiles)
if (ptr_valid(pFileList)) then begin
FileList=*pFileList
ptr_free, pFileList
fichier=FileList[0]
f = DELPATH(fichier)
faaaajjj = long(strmid(f,1,7))
path=EXTPATH(fichier)
path=strmid(path,0,strlen(path)-2)
nom=strtrim(long(i),2)
nomlis=path+'lis/'+nom+'.lis'
LISTE_COMP, i, 0, i, 24, nomlis, 0
nomfich=path+'pdf/'+nom
device,file=nomfich+'.ps'
!p.multi=[0,1,2]
ii=strtrim(aj_amj(i),2)
PLOT_SPDYN, i, 0,24, 1,1,1, 3.5,16125., 1,0, 90,2, $
' '+strmid(ii,0,4)+'/'+strmid(ii,4,2)+'/'+strmid(ii,6,2), tabx, $
nblocks=nblocks, /log
EXTRAIT_MODE, nomlis, 73, 'Df', aj,hd,hf
plot, [0,24],[0,0],/noerase,xra=[0,24],xstyle=13,yra=[-0.1,0.1],ystyle=13,$
pos=[0.08,0.030,0.88,0.040]
if aj(0) ne -1 then $
for j=0,n_elements(aj)-1 do oplot,[hd(j),hf(j)],[0,0],thick=8.
xyouts,24.3,-0.05,'df-ABC',charsize=0.7
EXTRAIT_MODE, nomlis, 95, 'Df', aj,hd,hf
plot, [0,24],[0,0],/noerase,xra=[0,24],xstyle=13,yra=[-0.1,0.1],ystyle=13,$
pos=[0.08,0.045,0.88,0.055]
if aj(0) ne -1 then $
for j=0,n_elements(aj)-1 do oplot,[hd(j),hf(j)],[0,0],thick=8.
xyouts,24.3,-0.05,'df-H1',charsize=0.7
EXTRAIT_MODE, nomlis, 134, 'Df', aj,hd,hf
plot, [0,24],[0,0],/noerase,xra=[0,24],xstyle=13,yra=[-0.1,0.1],ystyle=13,$
pos=[0.08,0.060,0.88,0.070]
if aj(0) ne -1 then $
for j=0,n_elements(aj)-1 do oplot,[hd(j),hf(j)],[0,0],thick=8.
xyouts,24.3,-0.05,'df-H2',charsize=0.7
device,/close
spawn,'ps2pdf '+nomfich+'.ps '+nomfich+'.pdf'
if keyword_set(print_ps) then spawn,'lp -c -d '+printer_name+' '+nomfich+'.ps'
spawn,'/rm '+nomfich+'.ps'
endif
endfor
spawn, [getenv('ROOT_RPWS') + '/pro/kronosdb/upsert.sh', '-l', 'pdf', string(format='(I7)', datedeb), string(format='(I7)', datefin)], /NOSHELL
return
end