Date routines

day_of_week Calculates the day of the week given month, day, and year.
day_of_year Calculates the day of the year given month, day, and year.
days_in_month Calculates the number of days in a month given month, day, and year.
greg2jul Converts a Gregorian date to a Julian day.
grib_stime2itime Converts grib initial_time (string) to time (integer).
isleapyear Determines if a given year is a leap year (Gregorian calendar).
jul2greg Converts a Julian day to a Gregorian date.
monthday Calculates a concatenated month_day given a day and year.
ut_calendar Converts a mixed Julian/Gregorian date to a UT-referenced date.
ut_convert Converts a time variable from one set of units to another.
ut_inv_calendar Converts a a UT-referenced date to a mixed Julian/Gregorian date.
yyyyddd_to_yyyymmdd Given concatenated year and day-of-year (yyyyddd) create a one-dimensional array containing concatenated year, month and day-of-month [yyyymmdd] values.
yyyymm_time Creates a one-dimensional array containing year-month [yyyymm] values.
yyyymm_to_yyyyfrac Converts a one dimensional array containing yyyymm values to yyyy and fractional year.
yyyymmdd_time Creates a one-dimensional array containing year-month-day [yyyymmdd] values.
yyyymmdd_to_yyyyddd Given concatenated year-month-day_of_month (yyyymmdd) create a one-dimensional array containing concatenated year and day_of_year [yyyyddd] values.
yyyymmdd_to_yyyyfrac Converts a one dimensional array containing yyyymmdd values to yyyy and fractional year.
yyyymmddhh_to_yyyyfrac Converts a one dimensional array containing yyyymmddhh values to yyyy and fractional year.