ERROR - month must be in 1..12

General questions and postings pertaining to the use of HYSPLIT regardless of the platform. For platform specific questions, use the HYSPLIT Platform forums.
Post Reply
allisonwelch
Posts: 1
Joined: January 10th, 2023, 9:58 pm
Registered HYSPLIT User: No

ERROR - month must be in 1..12

Post by allisonwelch »

I am plotting a back trajectory frequency plot. The initial date is 220621 (June 21, 2022) and the end date is 220628 (June 28, 2022), with the trajectory calculation run every 6 hours. All the scripts seem to run fine and the plot is generated, except for one error message which says: "ERROR - month must be in 1..12: using 1970-01-01 00:00:00+00:00" This error is given a total of 4 times when I execute the python display. I don't get the same error when executing the fortran display, but the plot has the same issue of displaying 1970-01-01 00:00:00+00:00. Can anyone help me with locating where this date format problem is and how to fix it?

Thanks,
sonny.zinn
Posts: 361
Joined: May 8th, 2019, 1:31 pm
Registered HYSPLIT User: Yes

Re: ERROR - month must be in 1..12

Post by sonny.zinn »

The error message is printed by the make_datetime() function in python/hysplitdata/hysplitdata/util.py. The top-level directory here called 'python' should be found where your HYSPLIT v5.2 is installed.
Post Reply

Return to “Users”