external/CDAWlib/jh/
jd2mdays.pro
NAME: JD2MDAYS PURPOSE: Convert a range of Julian Days to month start and end JDs. CATEGORY: CALLING SEQUENCE: jd2mdays, jd1, jd2, mjds, mjde INPUTS: jd1, jd2 = first and last Julian day of a time range. in KEYWORD PARAMETERS: Keywords: APPROX_MAJOR=amaj Approximate number of days between major tick marks. Used to derive actual # days. MAJOR_V=majv Array of labeled tick mark values in Julian Days. MINOR_V=majv Array of minor tick mark values in Julian Days. FORMAT=frm Returned suggested format for time labels. OUTPUTS: mjds = array of Julian days for the first of each out month covered by the range. mjde = array of Julian days for the end of each out month covered by the range. COMMON BLOCKS: NOTES: Notes: intended for time axes involving month labels. Ex: if jd1 is for 29-Jan-1992 and jd2 is for 13-Jun-1993 then mjds and mjde each have 18 elements giving the Julian day numbers for the start and end of each of the 18 months from Jan 1992 to Jun 1993 inclusive. MODIFICATION HISTORY: R. Sterner, 29 Apr, 1993 R. Sterner, 1994 Mar 30 --- Extended time range upward. R. Sterner, 2012 Feb 13 --- Converted arrays from () to []. Copyright (C) 1993, Johns Hopkins University/Applied Physics Laboratory This software may be used, copied, or redistributed as long as it is not sold and this copyright notice is reproduced on each copy made. This routine is provided as is without any express or implied warranties whatsoever. Other limitations apply as described in the file disclaimer.txt.
Routines
File attributes
Modification date: | Tue Oct 21 13:53:43 2014 |
Lines: | 100 |