Manages HEC-HMS version differences (3.x vs 4.x), handles Python 2/3 compatibility,
detects HMS installations, and generates version-appropriate Jython scripts. Use when
working with legacy HMS 3.x projects, upgrading models from 3.x to 4.x, testing across
multiple HMS versions, or troubleshooting version-specific issues. Handles 32-bit vs
64-bit architecture differences, memory limits, and script syntax variations.
Trigger keywords: HMS version, HMS 3.x, HMS 4.x, legacy, upgrade, Python 2 compatible,
32-bit, 64-bit, version detection, multi-version testing.