# WRF介紹與使用方式 ###### tags: `WRF` [WRF簡單介紹](https://greenmet.cwb.gov.tw/product_description/show_pdf/pdf_wrf_mdds) [WRF線上英文教學](https://www2.mmm.ucar.edu/wrf/OnLineTutorial) ![](https://i.imgur.com/hvx551v.jpg) [WRF建置步驟教學](https://www2.mmm.ucar.edu/wrf/OnLineTutorial/compilation_tutorial.php#STEP4) [WRF影片教學](https://www.youtube.com/watch?v=RJoOj78JSpo) [天气研究和预报模式優化](https://www.hpcadvisorycouncil.com/pdf/WRF_Model_Chinese.pdf) WRF是中尺度數值天氣預報系統,用來做大氣研究與天氣預報 主要應用在模式水平解析度1~10公里之間的數值模擬,這樣的解析度特別適合模擬地形所引發之局部天氣現象或劇烈中尺度天氣系統,例如山谷風、海陸風、鋒面、對流系統等等,颱風相關研究當然也是主要的應用目標之一。 WRF模式的兩個動力核心是依據不同目地所設計的,分別為ARW (Advanced Research WRF)及NMM (Non-hydrostatic Mesoscale Model)。兩者在WRF架構上是相同的,但所著重的地方不同。ARW是由NCAR的MMM( Mesoscale and Microscale Meteorology Division)所研發,注重在研究,可以調為靜力穩定模式,能夠應用於理想個案模擬、參數化研究、資料同化研究、即時數值天氣預報與分析、颱風模擬、區域氣候研究、偶合模式應用及教學等,WRF-ARW主要之物理過程可分為微物理、積雲參數化、行星邊界層、地表過程與輻射。 而NMM則由NOAA (National Oceanic and Atmospheric Administration)的NCEP所研發,著重於非靜力穩定與即時預報,可應用於即時數值天氣預報與分析、參數化研究、偶合模式應用及教學等。 WPS主要分三步驟,第一為設定模擬位置,使地形資料內差至設定的模擬區域內;第二為匯入初始氣象資料,例如:風場、溫度、濕度..等,可以使用AVN資料或是EC資料等等..,最後將資料內插到模擬區域。 NCEP-FNL Data Bank for Atmospheric Research,DBAR![](https://i.imgur.com/mSvLUZW.jpg) ![](https://i.imgur.com/V7Cn1JT.jpg) [WRF建置](https://zh-hant.hotbak.net/key/WRF%E5%AE%89%E8%A3%9D%E5%8F%8A%E9%81%8B%E8%A1%8C%E7%B0%A1%E6%9B%B8.html) ## Task 2: Getting to know the MPI_alltoallv profiler Run the profiler on GPAW and WRF applications, get the MPI traces for MPI_alltoallv calls. Run the WebUI and load the traces and view the results. Note: the webUI can be used in any linux machine or laptop. Nothing to submit here. You will need to present the results at the interview. ## Task 6 Find a way to map ranks to cores in a more balanced way (using MPI rankfile for example) for WRF application, using the output you got, so each node will send/receive in average similar amount of bytes for MPI_alltoallv calls. Try to make this generic as possible. [openmpi](https://www.youtube.com/watch?v=QIMAu_o_5V8) [WRF優化](https://www.hpcadvisorycouncil.com/pdf/WRF_Analysis_and_Profiling_Intel.pdf)