Ignore:
Timestamp:
03/21/07 10:14:37 (17 years ago)
Author:
pinsard
Message:

new idldoc html and assistant outputs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_html_output/Calendar/julday.html

    r210 r234  
    8989      <div id="file_comments"> 
    9090 Calculate the Julian Day Number for a given month, day, and year. 
    91  This is the inverse of the library function CALDAT. 
    92  3 calendars are available according to the value of key_caltype  
     91 This is the inverse of the library function 
     92 <a href=".//CALDAT.html">CALDAT</a>. 
     93 3 calendars are available according to the value of key_caltype 
    9394 (variable of the common file cm_4cal): 'greg', '360d', 'noleap' 
    9495</div> 
     
    107108        <div class="routine_details" id="_julday"> 
    108109 
    109           <h2><a class="top" href="#container">top</a>julday <span class="categories"> Calendar 
     110          <h2><a class="top" href="#container">top</a>julday <span class="categories"> 
     111 Calendar 
    110112</span></h2> 
    111113         
    112114          <p class="header"> 
    113             <span class="result">result = </span>julday(<span class="result"><a href="#_julday_param_MONTH">MONTH</a>, <a href="#_julday_param_DAY">DAY</a>, <a href="#_julday_param_YEARin">YEARin</a>[, <a href="#_julday_param_Hour">Hour</a>][, <a href="#_julday_param_Minute">Minute</a>][, <a href="#_julday_param_Second">Second</a>]</span>, <a href="#_julday_keyword_NDAYSPM">NDAYSPM</a>=<span class="result">NDAYSPM</span>)</p> 
    114          
    115           <div class="comments"> 
    116 </div> 
    117  
    118           <h3>Return value</h3><div class="preformat">  
     115            <span class="result">result = </span>julday(<span class="result"><a href="#_julday_param_MONTH">MONTH</a>, <a href="#_julday_param_DAY">DAY</a>, <a href="#_julday_param_YEARin">YEARin</a>[, <a href="#_julday_param_Hour">Hour</a>][, <a href="#_julday_param_Minute">Minute</a>][, <a href="#_julday_param_Second">Second</a>]</span>, <a href="#_julday_keyword_NDAYSPM">NDAYSPM</a>=<span class="result">integer</span>)</p> 
     116         
     117          <div class="comments"> 
     118</div> 
     119 
     120          <h3>Return value</h3><div class="preformat"> 
    119121 the Julian Day Number (which begins at noon) of the specified calendar date. 
    120  If Hour, Minute, and Second are not specified, then the result will be a  
    121  long integer, otherwise the result is a double precision floating point  
     122 If Hour, Minute, and Second are not specified, then the result will be a 
     123 long integer, otherwise the result is a double precision floating point 
    122124 number. 
    123125</div> 
     
    133135              <span class="attr">required</span> 
    134136               
    135                
    136                
    137                
    138             </h4> 
    139          
    140           <div class="comments">  
    141  Number of the desired month (1 = January, ..., 12 = December).  
    142  Can be scalar or array 
     137              <span class="attr">type:</span> <span class="value">scalar (integer or double) or array of scalars</span> 
     138               
     139               
     140            </h4> 
     141         
     142          <div class="comments"> 
     143 Number of the desired month (1 = January, ..., 12 = December). 
    143144</div> 
    144145             
     
    149150              <span class="attr">required</span> 
    150151               
    151                
    152                
    153                
    154             </h4> 
    155          
    156           <div class="comments">  
    157  Number of day of the month.Can be scalar or array 
     152              <span class="attr">type:</span> <span class="value">scalar (integer or double) or array of scalars</span> 
     153               
     154               
     155            </h4> 
     156         
     157          <div class="comments"> 
     158 Number of day of the month. 
    158159</div> 
    159160             
     
    164165              <span class="attr">required</span> 
    165166               
    166                
    167                
    168                
    169             </h4> 
    170          
    171           <div class="comments">   
     167              <span class="attr">type:</span> <span class="value">scalar (integer or double) or array of scalars</span> 
     168               
     169               
     170            </h4> 
     171         
     172          <div class="comments"> 
    172173 Number of the desired year.Year parameters must be valid 
    173174 values from the civil calendar.  Years B.C.E. are represented 
     
    175176 as positive integers. In particular, note that there is no 
    176177 year 0 in the civil calendar.  1 B.C.E. (-1) is followed by 
    177  1 C.E. (1).  
    178  Change: However for climatological year, we do accept the year  
     178 1 C.E. (1). 
     179 Change: However for climatological year, we do accept the year 
    179180 O but we change it for year 654321L (the same trick is done in 
    180181 caldat so caldat, julday(1,1,0) gives you back Jan 1st of year 0) 
    181  Can be scalar or array 
    182182</div> 
    183183             
     
    188188               
    189189               
    190                
     190              <span class="attr">type:</span> <span class="value">scalar (integer or double) or array of scalars</span> 
    191191              <span class="attr">default:</span> <span class="value">12</span> 
    192192               
    193193            </h4> 
    194194         
    195           <div class="comments">  
    196  Number of the hour of the day. Can be scalar or array 
     195          <div class="comments"> 
     196 Number of the hour of the day. 
    197197</div> 
    198198             
     
    203203               
    204204               
    205                
     205              <span class="attr">type:</span> <span class="value">scalar (integer or double) or array of scalars</span> 
    206206              <span class="attr">default:</span> <span class="value">0</span> 
    207207               
     
    209209         
    210210          <div class="comments"> 
    211  Number of the minute of the hour. Can be scalar or array 
     211 Number of the minute of the hour. 
    212212</div> 
    213213             
     
    218218               
    219219               
    220                
     220              <span class="attr">type:</span> <span class="value">scalar (integer or double) or array of scalars</span> 
    221221              <span class="attr">default:</span> <span class="value">0</span> 
    222222               
     
    224224         
    225225          <div class="comments"> 
    226  Number of the second of the minute. Can be scalar or array 
     226 Number of the second of the minute. 
    227227</div> 
    228228             
     
    240240               
    241241               
    242                
     242              <span class="attr">type:</span> <span class="value">integer</span> 
    243243              <span class="attr">default:</span> <span class="value">30</span> 
    244244               
    245245            </h4> 
    246246         
    247             <div class="comments">  
    248  To use a calendar with fixed number of days per months. 
     247            <div class="comments"> 
     248 To use a calendar with fixed number of days per month. 
    249249 see also the use of key_caltype (variable of the common file cm_4cal) 
    250250</div> 
     
    255255          <h3>Version history</h3> 
    256256           
    257           <h4>Version</h4><div class="preformat"> $Id: julday.pro 205 2007-01-22 07:55:49Z smasson $</div> 
    258           <h4>History</h4><div class="preformat">  
     257          <h4>Version</h4><div class="preformat"> 
     258 $Id: julday.pro 231 2007-03-19 17:15:51Z pinsard $</div> 
     259          <h4>History</h4><div class="preformat"> 
    259260 Translated from "Numerical Recipies in C", by William H. Press, 
    260261 Brian P. Flannery, Saul A. Teukolsky, and William T. Vetterling. 
     
    273274 eg. julday(349,1,1970) 
    274275 
    275  Sebastien Masson, May 2006, add diferent calendat with key_caltype  
     276 Sebastien Masson, May 2006, add different calendat with key_caltype 
    276277 (variable of the common file cm_4cal) 
    277278</div> 
     
    282283           
    283284           
    284           <h4>Restrictions</h4><div class="preformat">  
    285  The Result will have the same dimensions as the smallest array, or 
     285          <h4>Restrictions</h4><div class="preformat"> 
     286 The result will have the same dimensions as the smallest array, or 
    286287 will be a scalar if all arguments are scalars. 
    287   
    288   
     288 
     289 
    289290 Accuracy using IEEE double precision numbers is approximately 
    290291 1/10000th of a second, with higher accuracy for smaller (earlier) 
     
    295296           
    296297           
    297           <h4>Uses routines</h4><div class="preformat"> cm_4cal 
     298          <h4>Uses routines</h4><div class="preformat"> 
     299 cm_4cal 
    298300</div> 
    299301           
Note: See TracChangeset for help on using the changeset viewer.