3 d‚eÍã@sŽddlTddlmZmZddlZddlZdZdZdd„Z e dkrŠej d ƒj eƒZ x8e jƒD],\ZZeeeƒejƒeƒkr|qZe eeƒqZWdS) é)Ú*)Ú create_psÚ ps_to_jpgNzmissing_FS.xmlz$/home/solar/work/PAS_rate_synchro.clcCs^|jƒ}t}t||||ƒ}td|ƒd|jdƒ|jdƒf}t||ƒtd|ƒtj|ƒdS)NZCreatezPAS_rate_synchro.%s_%s.jpgz%Y%m%dz%H%M%S)ÚdateÚVIEWrÚprintZstrftimerÚosÚremove)Út1Út2ZdayZviewZ ps_filenameZ jpg_filename©r ú=/ROSINA_B1/SOLAR/WWW/documents/ISSUES/MISSING_FS/make_plot.pyÚ make_plot s   rÚ__main__z Missing FS)ZsolarZ create_viewsrrZ timetableZttrZ TT_FILENAMErrÚ__name__Z TimeTableZ from_fileZeventsÚget_datar r rrZtodayr r r r Ús