About Yohkoh > this page |
Example:
; ; calculate S/C position as of 19-Apr-1992 01:22:46.5. ; datim='19-apr-1992 01:22:46.5' rd_orb,'19-apr-1992 01:00:00','19-apr-1992 02:00:00',orb_data help,orb_data ; S/C location at every 5 min. ; ;*** interpolation *** datim_sec=anytim(datim) timarr=anytim(orb_data) lat=interpol(orb_data.lat,timarr,datim_sec,/spline) lon=interpol(orb_data.long,timarr,datim_sec,/spline) hgt=interpol(orb_data.height,timarr,datim_sec,/spline) rad=interpol(orb_data.radius,timarr,datim_sec,/spline) ; print,'lat:',lat print,'lon:',lon print,'height:',hgt print,'radius:',rad ; end