Issue #2298: Remove setPluginName python calls.
Former-commit-id: b666f99d3dc79b90525177072e2448077c39545a
This commit is contained in:
parent
dcfc88a94a
commit
799fe37bca
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;
|
from com.raytheon.uf.common.parameter.mapping import ParameterMapper;
|
||||||
|
|
||||||
|
|
||||||
PLUGIN_NAME = "grid"
|
|
||||||
|
|
||||||
# Static values for accessing parameter lookup tables
|
# Static values for accessing parameter lookup tables
|
||||||
PARAMETER_TABLE = "4.2"
|
PARAMETER_TABLE = "4.2"
|
||||||
GENPROCESS_TABLE = "A"
|
GENPROCESS_TABLE = "A"
|
||||||
|
@ -131,7 +129,7 @@ THINNED_GRID_VALUES = THINNED_GRID_PT_MAP.values()
|
||||||
# 04/7/09 #1994 bphillip Initial Creation.
|
# 04/7/09 #1994 bphillip Initial Creation.
|
||||||
# Mar 25, 2013 1821 bsteffen Reshape grib data arrays in
|
# Mar 25, 2013 1821 bsteffen Reshape grib data arrays in
|
||||||
# place to improve performance.
|
# place to improve performance.
|
||||||
#
|
# Sep 04, 2013 2298 rjpeter Removed setPluginName call
|
||||||
class GribDecoder():
|
class GribDecoder():
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@ -403,7 +401,6 @@ class GribDecoder():
|
||||||
|
|
||||||
# Construct the GribRecord
|
# Construct the GribRecord
|
||||||
record = GridRecord()
|
record = GridRecord()
|
||||||
record.setPluginName(PLUGIN_NAME)
|
|
||||||
record.setDataTime(dataTime)
|
record.setDataTime(dataTime)
|
||||||
record.setMessageData(numpyDataArray)
|
record.setMessageData(numpyDataArray)
|
||||||
record.setLocation(gdsSectionValues['coverage'])
|
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.plugin.ncgrib import Ncgrib1Decoder
|
||||||
from gov.noaa.nws.ncep.edex.util.ncgrib import NcgribParamTranslator
|
from gov.noaa.nws.ncep.edex.util.ncgrib import NcgribParamTranslator
|
||||||
|
|
||||||
PLUGIN_NAME = "ncgrib"
|
|
||||||
|
|
||||||
# Static values for accessing parameter lookup tables
|
# Static values for accessing parameter lookup tables
|
||||||
PARAMETER_TABLE = "4.2"
|
PARAMETER_TABLE = "4.2"
|
||||||
GENPROCESS_TABLE = "A"
|
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/02/11 xguo Added codes to decode firewx
|
||||||
# 11/08/11 xguo Adjusted glevel1/glevel2 for PRES/PDLY/POTV
|
# 11/08/11 xguo Adjusted glevel1/glevel2 for PRES/PDLY/POTV
|
||||||
# 11/22/11 xguo Updated Level infor in model
|
# 11/22/11 xguo Updated Level infor in model
|
||||||
|
# Sep 04, 2013 2298 rjpeter Removed setPluginName call
|
||||||
#
|
#
|
||||||
class NcgribDecoder():
|
class NcgribDecoder():
|
||||||
|
|
||||||
|
@ -460,7 +459,6 @@ class NcgribDecoder():
|
||||||
|
|
||||||
# Construct the ncgribRecord
|
# Construct the ncgribRecord
|
||||||
record = NcgribRecord()
|
record = NcgribRecord()
|
||||||
record.setPluginName(PLUGIN_NAME)
|
|
||||||
record.setDataTime(dataTime)
|
record.setDataTime(dataTime)
|
||||||
record.setMasterTableVersion(idSectionValues['masterTableVersion'])
|
record.setMasterTableVersion(idSectionValues['masterTableVersion'])
|
||||||
record.setLocalTableVersion(idSectionValues['localTableVersion'])
|
record.setLocalTableVersion(idSectionValues['localTableVersion'])
|
||||||
|
|
|
@ -87,10 +87,7 @@ class GFERecord(object):
|
||||||
self.dataURI = dataURI
|
self.dataURI = dataURI
|
||||||
|
|
||||||
def getPluginName(self):
|
def getPluginName(self):
|
||||||
return self.pluginName
|
return "gfe"
|
||||||
|
|
||||||
def setPluginName(self, pluginName):
|
|
||||||
self.pluginName = pluginName
|
|
||||||
|
|
||||||
def getDataTime(self):
|
def getDataTime(self):
|
||||||
return self.dataTime
|
return self.dataTime
|
||||||
|
|
Loading…
Add table
Reference in a new issue