Unidata/IDV — pull request #18 by mhiley (2012-11-02 17:41:56+00:00)
Title: createEquivalentPotentialTemperature fails for FlatField's

Hello,
Currently, createEquivalentPotentialTemperature fails in the case where both input arguments are FlatField's.

I fixed this by simply moving the "temperFI.getSample(0)" calls in to the "if (isSequence)" block (following what is done in createMixingRatio, which works fine).

I've tested on both time-sequence FieldImpl's and simple FlatField's, but have not tested the case of ensemble grids.

Thanks, let me know if I can provide more info!
Mike