Change-Id: I9a6d24e5a186432479cb763ebcf1ad5ba292283e

Former-commit-id: 7eef26abf692a4ebbadfdc873df21f305f31bc19
This commit is contained in:
Kiran Shrestha 2013-12-18 19:49:13 +00:00
parent 310a5f238f
commit e2fffcc3bb

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) };