backport my idv pull request [0]

See https://github.com/Unidata/IDV/pull/39