pro make_all_monexp,stdte,endte,lz
;
;+
; NAME:
;	MAKE_ALL_MONEXP
;
; PURPOSE:
;	This procedure is an easy interface to the MONITOR_EXP procedure
;
; CATEGORY:
;	LASCO SYNOPTIC
;
; CALLING SEQUENCE:
;	MAKE_ALL_MONEXP,Stdte,Endte
;
; INPUTS:
;	Stdte:	The starting date specified as a string: YYMMDD, eg. 960601
;	Endte:	The ending date specified as a string: YYMMDD, eg, 960630
;	Lz:	0 for QL, 1 for LZ
;
; OUTPUTS:
;	This function generates images in $MON_EXP of the statistics for each
;	image for each day specfied by the starting and ending dates for all
;	three LASCO telescopes.
;
; PROCEDURE:
;	A loop is generated between the start and end dates, in which the
;	routine MONITOR_EXP is called for each day.
;
; EXAMPLE:
;	To compute all of the image statistics for the month of June, 1996:
;
;		MAKE_ALL_MONEXP,'960601','960630'
;
; MODIFICATION HISTORY:
; 	Written by:	RA Howard, 22 May 1997
;
;	@(#)make_all_monexp.pro	1.1 09/26/97 LASCO IDL LIBRARY
;-
;
;  Find which century the YY of both the start and end dates should be in.
;
yy =  FIX(STRMID(stdte,0,2))
IF (yy EQ 19) THEN BEGIN
   st = stdte
   en = endte
ENDIF ELSE BEGIN
   st = '19'+STRMID(stdte,0,2)+'/'+STRMID(stdte,2,2)+'/'+STRMID(stdte,4,2)
   en = '19'+STRMID(endte,0,2)+'/'+STRMID(endte,2,2)+'/'+STRMID(endte,4,2)
ENDELSE
;
;  Convert the date strings to modified julian dates
;
jd = STR2UTC(st)
jdstart = jd.mjd
jd = STR2UTC(en)
jdend = jd.mjd
;
;  For each day call the routine to compute the daily median
;
FOR i=jdstart,jdend DO BEGIN
       MONITOR_EXP,i,lz
ENDFOR
RETURN
END
