[ncl-talk] Plot vpt-rh
Gurer, Kemal@ARB
kemal.gurer at arb.ca.gov
Mon Oct 1 09:38:47 MDT 2018
Berry,
I looked at what modifications you made from the script that I sent you by comparing the difference between my script and yours. The only differences that I see are the location of files and type of plot that you want. So, your changes in the file is not the cause of the error. The error message that you get states that the problem is taking place on line 217 when you are trying to determine where the cross section should be. At least one of the cross section points in the script apparently is out of your domain so that the script assigns it to zero, which causes division by zero. This error message is aligned with the error that script gives when it tries to execute WRFUserARW.ncl script in lines 179 and 481. What you need to do is to determine where you want the vertical cross section on your modeling domain. I wanted to plot the cross section at specific (x1,y1 <– >x2,y2) anchor points, so I set it to those values on lines 203-205. You need to change those values to the location of the cross section that you want on your modeling domain. The simplest way is to choose the middle of the domain. If so, then comment lines 202-205 and uncomment lines 190 and 191. Then you will get your vertical cross section in the middle of modeling domain.
Kemal.
From: Berny Chaimite <bchaimite at gmail.com>
Sent: Sunday, September 30, 2018 11:34 PM
To: Gurer, Kemal at ARB <kemal.gurer at arb.ca.gov>
Subject: Re: [ncl-talk] Plot vpt-rh
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi Kemal!
1. I made some changes in the script that sent me. I have been trying to run since yesterday, and it gives me the error (which I attached in the form of screenshot). I can not get out of this error.
2. I would like to have a graph that represents the time averages of the differences (ie, for all times of those wrfout_d02 * files) in the vertical profile of temperature and relative humidity. Because my simulations were done for periods of more than a month. So I need to read my variables of interest in all output files and plot in a graphic, do you understand me?
NB: I was able to make a plot for T2M and RH2M (difference of time averages). now only i need to plot this graph/map of the vertical cross section of Temp. and RH.
Best regards,
Berny Chaimite
-----
----------------------------------------
Berny A. Chaimite
----------------------------------------
Atmospheric and Climate Sciences Student
Department of Physics
Eduardo Mondlane University
Contact:
Cell: +258 828 957 675(Whatsapp)/846041931/870434233
Tell: +258 2145 6389
Institutional: berny.chaimite at uem.ac.mz<mailto:berny.chaimite at uem.ac.mz>
Maputo, Mozambique
Berny Chaimite <bchaimite at gmail.com<mailto:bchaimite at gmail.com>> escreveu no dia segunda, 1/10/2018 à(s) 02:16:
Thanks a lot.
-----
----------------------------------------
Berny A. Chaimite
----------------------------------------
Atmospheric and Climate Sciences Student
Department of Physics
Eduardo Mondlane University
Contact:
Cell: +258 828 957 675(Whatsapp)/846041931/870434233
Tell: +258 2145 6389
Institutional: berny.chaimite at uem.ac.mz<mailto:berny.chaimite at uem.ac.mz>
Maputo, Mozambique
Gurer, Kemal at ARB <kemal.gurer at arb.ca.gov<mailto:kemal.gurer at arb.ca.gov>> escreveu no dia domingo, 30/09/2018 à(s) 20:15:
Hi Berry,
The attached ncl script plots the vertical cross section of the difference of a variable obtained from two WRF files over a span of multiple WRF input files. Output of the plot is also attached. The remarks within the script explains the step by step process. You can plot the actual values with a small modification.
Kemal.
From: ncl-talk <ncl-talk-bounces at ucar.edu<mailto:ncl-talk-bounces at ucar.edu>> On Behalf Of Berny Chaimite
Sent: Saturday, September 29, 2018 8:06 PM
To: ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>
Subject: [ncl-talk] Plot vpt-rh
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Good morning, my name is Berny! I want a suggestion of how I can plot the vertical profile of temperature and relative humidity in NCL. My data is output from WRF and is in multiple files (wrfout_d02 *). My final objective is to make a graph of differences in the Vertical Profile of Temperature and Relative Humidity (because I did two simulations with different schemes in wrf) ... etc. I can not see examples of how to do this in ncl, what can you suggest?
the graph that I propose to plot is something similar to the one in annex, which I saw in: http://www.ncl.ucar.edu/Support/talk_archives/2011/1401.html
thank you.
Best regards,
Berny Chaimite
-----
----------------------------------------
Berny A. Chaimite
----------------------------------------
Atmospheric and Climate Sciences Student
Department of Physics
Eduardo Mondlane University
Contact:
Cell: +258 828 957 675(Whatsapp)/846041931/870434233
Tell: +258 2145 6389
Institutional: berny.chaimite at uem.ac.mz<mailto:berny.chaimite at uem.ac.mz>
Maputo, Mozambique
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181001/c655f785/attachment.html>
More information about the ncl-talk
mailing list