[ncl-talk] Plotting vertical profiles from sounding data

Lyndz olagueralyndonmark429 at gmail.com
Fri Jun 26 09:07:40 MDT 2020


Hi Sir Dennis and Rashed!

Many thanks for the help! I just removed the rows with missing values.
Works fine now.

SIncerely,
Lyndz


On Thu, Jun 25, 2020 at 4:17 PM Rashed Mahmood <rashidcomsis at gmail.com>
wrote:

> And also, please try not to ignore the following warning message:
> warning:asciiread: End of file reached and only (1165) elements were read
> from the file, filling remaining elements with the default missing value
> for the requested type
>
> This could mean that your data is not being read properly. One possible
> reason is the missing values that are left as empty space in your input
> text files.
>
> Cheers,
> Rashed
>
>
> On Thu, Jun 25, 2020 at 5:43 AM Dennis Shea via ncl-talk <
> ncl-talk at mailman.ucar.edu> wrote:
>
>> I think you should examine your data.
>>
>> sounding_1.txt has a value of pressure below 0  [-62]
>>
>> I only looked at sounding_1.ncl
>>
>> The attached can be used as a basis for you plotting.
>>
>> %> ncl vert_profile_shum.ncl
>>
>> Good Luck
>>
>> On Wed, Jun 24, 2020 at 11:15 AM Lyndz via ncl-talk <
>> ncl-talk at mailman.ucar.edu> wrote:
>>
>>> Dear NCL-experts,
>>>
>>> I want to:
>>>
>>> [1] plot the vertical profile of specific humidity from sounding data.
>>> Input file: *sounding_1.txt*.
>>> Attached is my script: *vert_profile_shum.ncl*
>>>
>>> I want the y-axis to be in log format but I can not plot this correctly.
>>> The output is also not good.
>>>
>>> I got the following warning messages:
>>>
>>> *warning:XyPlotSetValues:xyYStyle is NhlLOG:trYMinF can't be <=
>>> 0.0:Setting xyComputeYMin to True*
>>>
>>> *warning:XyPlotSetValues:The Minimum Y value is <= 0.0 NhlLOG
>>> invalid:Changing xyYStyle to NhlLINEAR*
>>>
>>> ------------------------------
>>>
>>>
>>> [2] In addition, I have another sounding data with different pressure
>>> level and height: *sounding_2.txt*
>>>
>>>
>>> I want to combine the two profiles in one plot but I am not sure how to
>>> do this.
>>>
>>>
>>>
>>> I'll appreciate any help on this.
>>>
>>>
>>>
>>> Sincerely,
>>>
>>> Lyndz
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at mailman.ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at mailman.ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200626/90031d93/attachment.html>


More information about the ncl-talk mailing list