I have want to get wind map for a given region and compare with real data using WRF.
Dear Gatoto,
You need to use "data analysis and visualization language" like NCl, GrADS, Python, R .... for extracting WRF output file.
You can find two example of plotting wind map with NCl in following links:
https://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_vector.shtml
https://www.ncl.ucar.edu/Applications/wrfgsn.shtml (wrf_gsn_6.ncl)
You can run WRWpost , write in namelist.arwpost only u,v
then by using GRDAS type" open yourfile.ctl" then set time you need and level
set type "set gxout shaded then d mag(u;v)" then "d set gxout vector then d u;v "
'then print jjdf.png'
You can use python or NCL. I will recommend the wrf-python. This module is developed by the NCAR. You can also use pyNGL and pyNIO.
In case you want to use wrf-python, the list of diagnostics is given in the following link:
https://wrf-python.readthedocs.io/en/latest/diagnostics.html and for plotting https://wrf-python.readthedocs.io/en/latest/plot.html.
The few lines code for wind and direction is following:
ncfile = netCDF4.Dataset("wrfout ilef") ws,pd = wrf.getvar(ncfile, "wspd_wdir")[0,:]
For wind vectors use the quiver in the matplotlib of python.
Dear Jaydeep Singh ,
can you give me a python script example to get wind map for example at 60m above ground level?
Gatoto Placide please see the examples on official website of wrf-python. Link is as follows:
https://wrf-python.readthedocs.io/en/latest/user_api/generated/wrf.interplevel.html
You can interpolate the desired 3D field the any pressure or height level.
Dear All,
Thank you for your suggestions. I arrived to get wind map but now I need to limit my plot on a given region/site(For example on the meteorological station site). How to insert that option in my python script.
my question is on how to get a wind map including wind vectors like this one I attached here.
I want to run WRF-Real at higher resolution (100 m). For that I have to downscale WRF output data (1 Km).
13 July 2020 1,948 2 View
I would like to find out how can I install and run WRF-Chem. I am already able to design and run WRF experiments on my own. Any documentation videos on WRF Chem other than those in Google?
18 May 2020 5,774 2 View
I'd like to use WRF output data to force a land surface model (HRLDAS). HRLDAS requires grib2 forcing data and I have so far been unable to convert from netcdf to grib. There are a number of tools...
17 March 2020 8,962 6 View
For graphical display of WRF output data, there is NCL script, but i have not found any working script for converting data to text or other readable format. there are some softwares but they are...
12 February 2020 5,085 3 View
Dear all, I intend to use SST data for my WRF runs, but data are in binary format and I need to convert them to GRIB2 format. I appreciate if somebody with same experience help me solve the...
19 January 2020 9,829 3 View
I am trying to generate the be.dat file using the gen_be facility of WRF. I have 12 hour and 24 hour outputs from WRF at 00 UTC and 12 UTC for a month. When I try to run gen_be_wrapper.ksh on my...
15 January 2020 244 2 View
31 December 2019 10,019 2 View
I need to plot wind shear from wrf-nmm outputs. inspite of defining "shr" field in rip-user-guide page, no file has been generated after "./ripdp-wrfnmm file.in all wrfoutput_file". Would you...
22 December 2019 2,310 2 View
Hello Everyone I am Trying to run WRF model and incountering with an error while running WPS-metgrid.exe error is as below !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Successful completion of...
11 December 2019 8,881 2 View
I use the GFS files as input in WRF, but I get an error when I try to change p_top_requested from 5000 to 1000 hPa. Kindly suggest.
04 December 2019 2,121 4 View