@@ -323,7 +323,8 class SkyMapPlot(Figure): | |||||
323 | save=save, |
|
323 | save=save, | |
324 | ftp=ftp, |
|
324 | ftp=ftp, | |
325 | wr_period=wr_period, |
|
325 | wr_period=wr_period, | |
326 |
thisDatetime=thisDatetime |
|
326 | thisDatetime=thisDatetime, | |
|
327 | update_figfile=False) | |||
327 |
|
328 | |||
328 |
|
329 | |||
329 | class WindProfilerPlot(Figure): |
|
330 | class WindProfilerPlot(Figure): | |
@@ -1338,21 +1339,21 class PhasePlot(Figure): | |||||
1338 | del self.ydata |
|
1339 | del self.ydata | |
1339 | self.__isConfig = False |
|
1340 | self.__isConfig = False | |
1340 |
|
1341 | |||
1341 | if self.figfile == None: |
|
1342 | # if self.figfile == None: | |
1342 | str_datetime = thisDatetime.strftime("%Y%m%d_%H%M%S") |
|
1343 | # str_datetime = thisDatetime.strftime("%Y%m%d_%H%M%S") | |
1343 | self.figfile = self.getFilename(name = str_datetime) |
|
1344 | # self.figfile = self.getFilename(name = str_datetime) | |
1344 |
|
1345 | |||
1345 | if figpath != '': |
|
1346 | # if figpath != '': | |
1346 | self.counter_imagwr += 1 |
|
1347 | # self.counter_imagwr += 1 | |
1347 | if (self.counter_imagwr>=wr_period): |
|
1348 | # if (self.counter_imagwr>=wr_period): | |
1348 | # store png plot to local folder |
|
1349 | # # store png plot to local folder | |
1349 | self.saveFigure(figpath, self.figfile) |
|
1350 | # self.saveFigure(figpath, self.figfile) | |
1350 | # store png plot to FTP server according to RT-Web format |
|
1351 | # # store png plot to FTP server according to RT-Web format | |
1351 | name = self.getNameToFtp(thisDatetime, self.FTP_WEI, self.EXP_CODE, self.SUB_EXP_CODE, self.PLOT_CODE, self.PLOT_POS) |
|
1352 | # name = self.getNameToFtp(thisDatetime, self.FTP_WEI, self.EXP_CODE, self.SUB_EXP_CODE, self.PLOT_CODE, self.PLOT_POS) | |
1352 | ftp_filename = os.path.join(figpath, name) |
|
1353 | # ftp_filename = os.path.join(figpath, name) | |
1353 | self.saveFigure(figpath, ftp_filename) |
|
1354 | # self.saveFigure(figpath, ftp_filename) | |
1354 | self.counter_imagwr = 0 |
|
1355 | # self.counter_imagwr = 0 | |
1355 | self.figfile = None |
|
1356 | # self.figfile = None | |
1356 |
|
1357 | |||
1357 | self.save(figpath=figpath, |
|
1358 | self.save(figpath=figpath, | |
1358 | figfile=figfile, |
|
1359 | figfile=figfile, |
General Comments 0
You need to be logged in to leave comments.
Login now