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.
Hi everybody, I would like to ask you how I can get wind speed at a given location (lon, lat) and at a precise location. The attached script allows me to get wind speed at the mass point but I...
02 June 2022 8,800 1 View
Hi, I would like to ask you how I can extract wrfout variables into table. For example I want to get wind speed and wind direction at specific longitude and latitude using python script but I...
02 February 2022 948 0 View
Hi, I am trying to optimize WRF namelist.input parameters in order to conduct a comparison with the observed data. So, I would like to know how to determine that eta level corresponds to a given...
24 December 2021 7,228 1 View
I am trying to get wrf namelist.input physics options that can optimize the output results (wind map) compared to observed meteorological data in east-Africa region. I need the options for...
07 December 2021 6,447 1 View
Hi, I have problem to choose i_parent_start and j_parent_start values in order to get the most inner domain to surround a given area/zone with wanted dimension (e.g: 10km*10km). I want to compare...
16 October 2021 1,759 4 View
Hi, I need someone to help me to plot interpolated wind speed from wrfout using ncl script. Using the attached ncl script, I am getting this error: fatal:syntax error: line 122 in file...
18 September 2021 4,925 4 View
I have a python script in which I can vary the pressure but what I want is to get wind map at 12m in order to do comparison with the observed data collected at that height. I attach the used script.
03 September 2021 7,957 4 View
Please help me to build a python script I can use plotting wind map for a given zone.
04 August 2021 8,034 3 View
Hello dear team, I am confused that is why I come to you to ask suggestion. My question is, how to fix ordering authors on a paper, and what consideration is done for an author whose name is at...
17 October 2018 7,482 19 View
I want to simulate WRF for a 12*12 km domain size. I want to run LSM and BSM models with a 5 minutes time interval. My laptop specification is 16GB RAM and Intel i5-1235U 1.3 GHz processor. Can I...
13 July 2024 2,037 0 View
Hello, I am learning WRF-Chem, and there are some doubt I have not get the real answer. I used the chemical mechanism of MOSAIC for aerosol in WRF-Chem, where there is a variable called “oin” that...
17 May 2024 4,530 0 View
To do the spatial correlations between WRF model data and GPM rainfall data I need to re-grid the gpm data into 1km resolution please explain the process.
10 May 2024 3,413 0 View
Hello everyone, I am trying to run the Fire module of WRF 4.2.2 using real data (GFS 0.25), and I get the the following error message after running wrf.exe: Timing for processing lateral...
15 February 2024 4,695 0 View
FIRE:crash: wrf: SUCCESS COMPLETE WRF. Fire has reached domain boundary. -------------- FATAL CALLED --------------- FATAL CALLED FROM FILE: LINE: 152 crash: wrf: SUCCESS COMPLETE WRF. Fire...
06 February 2024 6,541 2 View
Dear WRF-Chem users, I am interested in acquiring knowledge regarding the use of the restart functionality inside the Weather Research and Forecasting (WRF) model. There are three domains in a...
26 September 2023 5,328 4 View
I am new to both Ubuntu and WRF. It will be helpful if I can get a link for downloading and installing WRF in ubuntu. I am searching for links but so far I was unsuccessful. I have already...
11 September 2023 3,659 5 View
I am trying to use ECMWF 10-days forecast data (https://data.ecmwf.int/forecasts/) as Initial & Boundary condition in WPS. Where can I find the Vtable.ECMWF for it? The default/given...
18 July 2023 7,033 3 View
What is the meaning of assertion failed? I was intended to convert WRF outputs to ARL format using the HYSPLIT GUI in Windows. But It result the next error: Assertion failed: offset >= 0, file...
02 April 2023 9,576 0 View
Hi everyone, I'm trying to convert WRF data to ARL format to run trajectories, using the Hysplit software. But, I have the next error: child killed: segmentation violation child killed:...
28 February 2023 3,052 3 View