30 likes | 125 Views
This script, Run_traj_3.0.py, offers a user interface for input and controls air flow trajectories. It downloads meteorological data, runs Hysplit, and generates daily trajectory graphics efficiently. The tool streamlines the process for studying air flow patterns.
E N D
Run_traj_3.0.py 與daily_download_met.py
get_input() sys_argv() Run_traj_3.0.py 流程 使用者輸入介面sys_argv決定有無命令參數,無命令參數則進入get_input 的互動介面。 back_traj_control set_rounds() 單筆氣流軌跡直接進入back_traj_control改control檔複數軌跡由set_rounds批次修改back_traj_control的參數 run_hysplit() 呼叫hysplit執行
daily_download_met.py • 下載current7days 與 最近一個完整的gdas檔 • 下載完成利用os.system呼叫Run_traj_3.0.py 給予daily_run參數,畫每日軌跡圖,產出tdump檔 • 執行C:\hysplit4\esec\trajplot.exe 產生 trajplot.ps • 執行ImageMagic指令convert將trajplot.ps 轉換成png檔