1. IDL计算Carrington Rotation的函数 | | function tim2carr, time, offset=offset, dc=dc ;+ ;NAME ; TIM2CARR ;PURPOSE ; Determine the decimal Carrington rotation number or the Carrington ; longitude of the central meridian of the sun for a given time or ; set of times ;INPUT ; TIME - Scalar or vector of times in any standard format ;OPTIONAL KEYWORD INPUT: ; OFFSET - Reference heliographic longitude(s). The default is 0 ; (central meridian). For example, if offset = 90, then ; the Carrington rotation number which coincides with ; 90 deg heliographic longitude at the supplied time is ; returned. ; DC - If set, return the decimal Carrington rotation number of the ; central meridian rather than the Carrington longitude ;OUTPUT ; Carrington longitude or, optionally, decimal Carrington rotation ; number, if keyword DC is set ;CALLING SEQUENCE ; CARR = TIM2CARR('16-Feb-1994 10:46:27') ;HISTORY ; Feb 15, 1994 - GLS - Written using CARR2EX as starting point ; ; Modified : Version 2, November 4, 1997 Giulio Del Zanna, UCLAN, UK ; Corrected the error that not any standard time ; format was accepted. Different time formats were ; producing different results. ; ; 23-Feb-1998 - S.L.Freeland - handle absolutely ANY SSW time ; 4-nov-97 change was problem for external, etc. ; ; Version : Version 2
| | |
| |