MEGAN uses the I/O API to store what should be time independent data (see https://cjcoats.github.io/ioapi/VBLE.html#timestruct or
https://www.cmascenter.org/ioapi/documentation/all_versions/html/VBLE.html#timestruct) 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× would be handled compatibly across versions. The fix was put into place in the I/O API downloads for both CMAS (https://www.cmascenter.org/ioapi/download/ioapi-3.2.tar.gz) and GitHub (
git clone https://github.com/cjcoats/ioapi-3.2), 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 firstname.lastname@example.org
UNC Institute for the Environment www.ie.unc.edu
100 Europa Dr., Suite 490 / Campus Box 1105 Tel 919.843.5951
Chapel Hill, NC 27599-1105 Fax 919.966.9920