Date routines

box_percentile_plot Creates a box percentile plot. Documentation under construction
calendar_decode2 Translates numeric time coordinates to calendar times.
calendar_decode2_fix Translates numeric time coordinates to calendar times (temporary function; see the 6.4.0 release notes for details).
cd_calendar Converts a mixed Julian/Gregorian date to a UT-referenced date.
cd_convert Converts a time variable from one set of units to another.
cd_inv_calendar Converts a UT-referenced date to a mixed Julian/Gregorian date.
cd_inv_string Converts string time values to numeric values, using the given format string.
cd_string Converts time values into nicely formatted strings.
day_of_week Calculates the day of the week given month, day, and year (Gregorian calendar).
day_of_year Calculates the day of the year (sometimes erroneously referred to as 'julian day') given Gregorian calendar month, day, and year.
days_in_month Calculates the number of days in a month given month and year.
greg2jul Converts Gregorian dates to astronomical Julian days.
grib_stime2itime Converts grib initial_time (string) to time (integer).
isleapyear Determines if a given year is a leap year.
jul2greg Converts an astronomical Julian day to a Gregorian date.
monthday Calculates a concatenated month_day given a day and year.
time_axis_labels Sets resources necessary to draw nice tickmark labels using a format of date/time on an axis.
time_reassign Reassign (replace) a CF-conforming "time" variable by calculating the mid-time values using the "bounds" attribute.
time_reassign_cv2var Reassign (replace) a CF-conforming "time" coordinate variable associated with a variable by calculating the mid-time values using the "bounds" attribute.
time_to_newtime Change a "udunits" recognized time unit to a new (different) "udunits" recognized time unit.
time_to_newtime_fix Change a "udunits" recognized time unit to a new (different) "udunits" recognized time unit (temporary function; see the 6.4.0 release notes for details).
ut_calendar Converts a mixed Julian/Gregorian date to a UT-referenced date (deprecated; use cd_calendar).
ut_calendar_fix Converts a mixed Julian/Gregorian date to a UT-referenced date (temporary function; see the 6.4.0 release notes for details).
ut_convert Converts a time variable from one set of units to another (deprecated; use cd_convert).
ut_convert_fix Converts a time variable from one set of units to another (temporary function; see the 6.4.0 release notes for details).
ut_inv_calendar Converts a UT-referenced date to a mixed Julian/Gregorian date (deprecated; use cd_inv_calendar).
ut_inv_calendar_fix Converts a UT-referenced date to a mixed Julian/Gregorian date (temporary function; see the 6.4.0 release notes for details).
ut_string Converts time values into nicely formatted strings (deprecated; use cd_string)
ut_string_fix Converts time values into nicely formatted strings (temporary function; see the 6.4.0 release notes for details).
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_time Creates a one-dimensional array containing year-month-day-hour (yyyymmddhh) values.
yyyymmddhh_to_yyyyfrac Converts a one-dimensional array containing yyyymmddhh values to yyyy and fractional year.