Issue #2298: Remove setPluginName python calls.
Former-commit-id:799fe37bca
[formerly6b93f9ad06
[formerly b666f99d3dc79b90525177072e2448077c39545a]] Former-commit-id:6b93f9ad06
Former-commit-id:7d1cf6881e
This commit is contained in:
parent
0685560166
commit
3e5a619134
3 changed files with 3 additions and 11 deletions
|
@ -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'])
|
||||
|
|
|
@ -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'])
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue