Issue #2298: Remove setPluginName python calls.

Former-commit-id: f54338253b [formerly f04eb7f13b] [formerly c1cc1b3fbb] [formerly c1cc1b3fbb [formerly c9d09d3a70]] [formerly f54338253b [formerly f04eb7f13b] [formerly c1cc1b3fbb] [formerly c1cc1b3fbb [formerly c9d09d3a70]] [formerly e11c72dcec [formerly c1cc1b3fbb [formerly c9d09d3a70] [formerly e11c72dcec [formerly d0f08bb6e7e6210c91e8a4d5c88e503180d4811c]]]]]
Former-commit-id: e11c72dcec
Former-commit-id: cdd7d3d17f [formerly 643c697328] [formerly 7ddfc5a4c2] [formerly 9ae4a70426a39006d98ab1c810d702ff2691c43a [formerly 2492f9ea79c08c75545b6e1f80df6c5a743a4a5a] [formerly 7ddfc5a4c2 [formerly 3f7245ad0d]]]
Former-commit-id: d2a44d2eddebdf2a5b04f4c3df8fae1fda662506 [formerly d7ae5eb71b77d200b1e87c6cfaeee65f1143bc50] [formerly 4725665d55 [formerly f3582fd147]]
Former-commit-id: 4725665d55
Former-commit-id: 2dc5444f8d
This commit is contained in:
Richard Peter 2013-09-04 15:47:35 -05:00
parent f574c466bd
commit 4e31440aa7
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