>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  JD2MDAYS






      Convert a range of Julian Days to month start and end JDs.


Calling Sequence

      jd2mdays, jd1, jd2, mjds, mjde


      jd1, jd2 = first and last Julian day of a time range. in

Keyword Parameters


        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.


      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: 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.

© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us