* wrfout/core.py: refactor