Utility functions

Functions that support other NYGrid modules.

Known Issues/Wishlist:

nygrid.utils.format_date(in_date: str) Timestamp[source]

Formats an input date so that it can be correctly written to the namelist.

Parameters:

in_date (str) – Date to be formatted.

Returns:

out_date – Formatted date.

Return type:

datetime.datetime