;+ ; ; Laboratory for Atmospheric and Space Physics ; University of Colorado, Boulder, Colorado, USA ; ; FILENAME: ; get_sun_dist.pro ; ; AUTHOR: ; Chris Jeppesen ; ; DATE: February 9, 2007 ; ; PURPOSE: ; Returns the AIM spacecraft's distance to the sun in AU's for the provided orbit_info structure. ; ; INPUT PARAMETERS: ; orbit_start_time - time in gps microseconds of the AIM spacecraft's orbit start time ; ; REFERENCES: ; ; NOTES: ; ; CONSTRAINTS: ; ; OTHER SERVERS/MODULES USED: ; ; RELATED MODULES / CLASSES: ; ; SUPPORTING DATABASE TABLES OR FILES: ; ; USAGE EXAMPLE: ; sun_dist = get_sun_dist(orbit_start_time) ; ; RETURN VALUE: ; Float value indicating the AIM spacecraft's distance to the sun in AU's. ; ; KEYWORD ARGUMENTS: ; None ; function get_sun_dist, orbit_start_time ;- junk=sunvec(orbit_start_time,r=r) return,r end