timestamp_interface#
- utils.timestamp_interface.GENERAL#
alias of %Y-%m-%d_%H:%M:%S
- utils.timestamp_interface.GLOBAL#
alias of %Y%m%d%H%M%S
- utils.timestamp_interface.H#
alias of %H
- utils.timestamp_interface.INFO#
alias of %H:%M:%S UTC %d %B %Y
- utils.timestamp_interface.Y_m_dTHMSZ#
alias of %Y-%m-%dT%H:%M:%SZ
- utils.timestamp_interface.Ymd#
alias of %Y%m%d
- utils.timestamp_interface.YmdH#
alias of %Y%m%d%H
- utils.timestamp_interface.YmdTHM#
alias of %Y%m%dT%H%M
- utils.timestamp_interface.YmdTHMS#
alias of %Y%m%dT%H%M%S
- utils.timestamp_interface.YmdTHMZ#
alias of %Y%m%dT%H%MZ
- utils.timestamp_interface.check_frmt(datestr, in_frmttyp='%Y%m%d%H%M%S', out_frmttyp='%Y%m%d%H%M%S')[source]#
DESCRIPTION:
This function checks that the format for a provided timestamp matches the expected format.
- Parameters:
- datestr: str
A Python string specifying the timestamp.
- Raises:
- TimestampInterfaceError:
raised if the provided timestamp string is not of the proper format.
- Return type:
None