arlmet.Header.tobytes#

Header.tobytes()[source]#

Serialize the header to its fixed-width ASCII representation.

A forecast hour above 99 is written as 99, the most the two-character label holds (HYSPLIT’s pakrec writes MIN(hour, 99)).

Return type:

bytes