Issue #2298: Remove setPluginName python calls.

Former-commit-id: 7d1cf6881e [formerly 6b93f9ad06] [formerly 799fe37bca [formerly b666f99d3dc79b90525177072e2448077c39545a]]
Former-commit-id: 799fe37bca
Former-commit-id: 8c9e5f214b
This commit is contained in:
Richard Peter 2013-09-04 15:47:35 -05:00
parent a2a7c78d88
commit ebd65eb24f
3 changed files with 3 additions and 11 deletions

View file

@ -70,8 +70,6 @@ from com.raytheon.uf.common.parameter import Parameter;
from com.raytheon.uf.common.parameter.mapping import ParameterMapper;
PLUGIN_NAME = "grid"
# Static values for accessing parameter lookup tables
PARAMETER_TABLE = "4.2"
GENPROCESS_TABLE = "A"
@ -131,7 +129,7 @@ THINNED_GRID_VALUES = THINNED_GRID_PT_MAP.values()
# 04/7/09 #1994 bphillip Initial Creation.
# Mar 25, 2013 1821 bsteffen Reshape grib data arrays in
# place to improve performance.
#
# Sep 04, 2013 2298 rjpeter Removed setPluginName call
class GribDecoder():
##
@ -403,7 +401,6 @@ class GribDecoder():
# Construct the GribRecord
record = GridRecord()
record.setPluginName(PLUGIN_NAME)
record.setDataTime(dataTime)
record.setMessageData(numpyDataArray)
record.setLocation(gdsSectionValues['coverage'])

View file

@ -68,8 +68,6 @@ from gov.noaa.nws.ncep.edex.util.grib2vcrd import Grib2VcrdTableLookup
from gov.noaa.nws.ncep.edex.plugin.ncgrib import Ncgrib1Decoder
from gov.noaa.nws.ncep.edex.util.ncgrib import NcgribParamTranslator
PLUGIN_NAME = "ncgrib"
# Static values for accessing parameter lookup tables
PARAMETER_TABLE = "4.2"
GENPROCESS_TABLE = "A"
@ -137,6 +135,7 @@ THINNED_GRID_VALUES = THINNED_GRID_PT_MAP.values()
# 11/02/11 xguo Added codes to decode firewx
# 11/08/11 xguo Adjusted glevel1/glevel2 for PRES/PDLY/POTV
# 11/22/11 xguo Updated Level infor in model
# Sep 04, 2013 2298 rjpeter Removed setPluginName call
#
class NcgribDecoder():
@ -460,7 +459,6 @@ class NcgribDecoder():
# Construct the ncgribRecord
record = NcgribRecord()
record.setPluginName(PLUGIN_NAME)
record.setDataTime(dataTime)
record.setMasterTableVersion(idSectionValues['masterTableVersion'])
record.setLocalTableVersion(idSectionValues['localTableVersion'])

View file

@ -87,10 +87,7 @@ class GFERecord(object):
self.dataURI = dataURI
def getPluginName(self):
return self.pluginName
def setPluginName(self, pluginName):
self.pluginName = pluginName
return "gfe"
def getDataTime(self):
return self.dataTime