From 753c4d780d0cab92af66babf964d18afaff7966d 2015-05-04 15:28:09 From: Miguel Valdez Date: 2015-05-04 15:28:09 Subject: [PATCH] Bug plotting RTI fixed for jroplot_heispectra, jroplot_parameters, jroplot_spectra --- diff --git a/schainpy/model/graphics/jroplot_heispectra.py b/schainpy/model/graphics/jroplot_heispectra.py index 2449161..03b88a9 100644 --- a/schainpy/model/graphics/jroplot_heispectra.py +++ b/schainpy/model/graphics/jroplot_heispectra.py @@ -269,7 +269,7 @@ class RTIfromSpectraHeis(Figure): showprofile=showprofile, show=show) - tmin, tmax = self.getTimeLim(x, xmin, xmax, timezone = dataOut.timezone) + tmin, tmax = self.getTimeLim(x, xmin, xmax) if ymin == None: ymin = numpy.nanmin(datadB) if ymax == None: ymax = numpy.nanmax(datadB) diff --git a/schainpy/model/graphics/jroplot_parameters.py b/schainpy/model/graphics/jroplot_parameters.py index 43113ac..f502fcc 100644 --- a/schainpy/model/graphics/jroplot_parameters.py +++ b/schainpy/model/graphics/jroplot_parameters.py @@ -490,7 +490,7 @@ class WindProfilerPlot(Figure): showprofile=showprofile, show=show) - self.xmin, self.xmax = self.getTimeLim(x, xmin, xmax, timerange, timezone = dataOut.timezone) + self.xmin, self.xmax = self.getTimeLim(x, xmin, xmax, timerange) if ymin == None: ymin = numpy.nanmin(y) if ymax == None: ymax = numpy.nanmax(y) @@ -724,7 +724,7 @@ class ParametersPlot(Figure): showprofile=showprofile, show=show) - self.xmin, self.xmax = self.getTimeLim(x, xmin, xmax, timerange, timezone = dataOut.timezone) + self.xmin, self.xmax = self.getTimeLim(x, xmin, xmax, timerange) if ymin == None: ymin = numpy.nanmin(y) if ymax == None: ymax = numpy.nanmax(y) @@ -1111,7 +1111,7 @@ class EWDriftsPlot(Figure): showprofile=showprofile, show=show) - self.xmin, self.xmax = self.getTimeLim(x, xmin, xmax, timerange, timezone = dataOut.timezone) + self.xmin, self.xmax = self.getTimeLim(x, xmin, xmax, timerange) if ymin == None: ymin = numpy.nanmin(y) if ymax == None: ymax = numpy.nanmax(y) diff --git a/schainpy/model/graphics/jroplot_spectra.py b/schainpy/model/graphics/jroplot_spectra.py index c074c53..4201b03 100644 --- a/schainpy/model/graphics/jroplot_spectra.py +++ b/schainpy/model/graphics/jroplot_spectra.py @@ -547,7 +547,7 @@ class RTIPlot(Figure): # if timerange != None: # self.timerange = timerange -# self.xmin, self.tmax = self.getTimeLim(x, xmin, xmax, timerange, timezone = dataOut.timezone) +# self.xmin, self.tmax = self.getTimeLim(x, xmin, xmax, timerange) @@ -720,9 +720,9 @@ class CoherenceMap(Figure): showprofile=showprofile, show=show) - #tmin, tmax = self.getTimeLim(x, xmin, xmax, timezone = dataOut.timezone) + #tmin, tmax = self.getTimeLim(x, xmin, xmax) - self.xmin, self.xmax = self.getTimeLim(x, xmin, xmax, timerange, timezone = dataOut.timezone) + self.xmin, self.xmax = self.getTimeLim(x, xmin, xmax, timerange) if ymin == None: ymin = numpy.nanmin(y) if ymax == None: ymax = numpy.nanmax(y) @@ -1072,7 +1072,7 @@ class Noise(Figure): showprofile=showprofile, show=show) - tmin, tmax = self.getTimeLim(x, xmin, xmax, timezone = dataOut.timezone) + tmin, tmax = self.getTimeLim(x, xmin, xmax) if ymin == None: ymin = numpy.nanmin(noisedB) - 10.0 if ymax == None: ymax = numpy.nanmax(noisedB) + 10.0 @@ -1284,7 +1284,7 @@ class BeaconPhase(Figure): showprofile=showprofile, show=show) - tmin, tmax = self.getTimeLim(x, xmin, xmax, timezone = dataOut.timezone) + tmin, tmax = self.getTimeLim(x, xmin, xmax) if ymin == None: ymin = numpy.nanmin(phase_beacon) - 10.0 if ymax == None: ymax = numpy.nanmax(phase_beacon) + 10.0