MEGAN uses the I/O API to store what should be time independent data (see or using unusual" values for date&time. [Really, MEGAN should have used time independent files, and used layering rather than time stepping to distinguish these values…]

Internally to the I/O API, these unusual date&time values were handled differently for I/O API 3.2 (in order to handle standard-week and standard-year data more cleanly; see the TUTORIAL).

This use of “unusual” date&time values creates problems when mixing I/O API versions. As of March 19, 2019, a fix was put into I/O API 3.2 to “cover” this inconsistency in the internals, so that these date&times would be handled compatibly across versions. The fix was put into place in the I/O API downloads for both CMAS ( and GitHub (git clone, as well as in the documentation at both web-sites.

MEGAN users should download this latest I/O API release, re-build “libioapi.a” with it, and re-link all MEGAN related programs.

Carlie J. Coats, Jr., Ph.D. I/O API Author/Maintainer
Senior Software Engineer
UNC Institute for the Environment
100 Europa Dr., Suite 490 / Campus Box 1105 Tel 919.843.5951
Chapel Hill, NC 27599-1105 Fax 919.966.9920

1 Like