FUNCTION get_drms_keywords, series, time ; PURPOSE: returns the the drms keywords and values for a particular ; file, given the series and the time stamp. ; ; ; INPUT: series - name of the series ; time - in TAI time ; ; EXAMPLE: IDL> h=get_drms_keywords('hmi.v_45s','2011.05.20_11:48:00_TAI') ; ; ; AUTHOR: H. Schunker ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; hdr=0. ; get drms keywords info str='show_info '+series+'['+time+'] n=1 -a' spawn,str,s s0=s(0) s1=s(1) sp0=strsplit(s0,' ',/extract) sp1=strsplit(s1,' ',/extract) ; NOTE: I needed to edit this file using vi because emacs will not let ; me TAB in the quotes. hdr=[[sp0],[sp1]] return,hdr END