Merge "Issue #91" into master_14.2.1

Former-commit-id: fa694dff18 [formerly af1b2cf920f36d3c13b341ced1959b5bf1ee11cf]
Former-commit-id: 3df3f199f8
This commit is contained in:
Juliya Dynina 2013-12-20 11:28:16 -05:00 committed by Gerrit Code Review
commit f32160318f

View file

@ -134,6 +134,7 @@ import com.vividsolutions.jts.geom.Coordinate;
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* Aug 30, 2013 2298 rjpeter Make getPluginName abstract
* Dec 18, 2013 16002 kshrestha Added logic to match all dBZ values in the DHR with AWIPS1
*
* </pre>
*
@ -888,6 +889,8 @@ public class RadarRecord extends PersistablePluginDataObject implements
double[] pix = { 256 - nLevels, 255 };
if (getProductCode() == 155) {
pix = new double[] { 129, 149 };
} else if(getProductCode() == 32) {
pix = new double[]{ 2, 256 };
}
double[] data = { offset, offset + ((nLevels - 1) * scale) };