[ncl-talk] wind and emission flux on the same plot

Dennis Shea shea at ucar.edu
Wed Aug 28 09:47:09 MDT 2019


 You used:
  plot=*gsn_csm_vector_scalar_map_ce*(wks,u(ut,:,:),v(ut,:,:),
x(nt,:,:),res)

The *_ce *means 'cylindrical equidistant' ....
You *must* have seen a Warning message! Did you try to address the issue?
---
The attached draws a contour over a map; then overlays a vector plot.





*https://www.ncl.ucar.edu/Applications/overlay.shtml*
<https://www.ncl.ucar.edu/Applications/overlay.shtml>

You used

On Wed, Aug 28, 2019 at 12:28 AM Setareh Rahimi via ncl-talk <
ncl-talk at ucar.edu> wrote:

> Dear Adam,
> You and Rick are right, but the problem was not fixed with removing
> gsn_panel. On the other hand, I tried to add res at gsnDraw = False and
> res at gsnFrame =  False to my first res resource list, but I saw no change.
> I need to plot wind vectors over surface dust emission flux.
> Thank you for your email.
> Best wishes
>
> On Mon, Aug 26, 2019 at 9:54 PM Adam Phillips <asphilli at ucar.edu> wrote:
>
>> Hi Setareh,
>> Rick is correct that you should remove the gsn_panel call, as gsn_panel
>> is not needed if you are creating a single plot. You will also need to add
>> res at gsnDraw = False and res at gsnFrame =  False to your first res resource
>> list, as you do not want to draw the plot nor advance the frame until you
>> have added the wind vector overlay to the original plot. Those changes
>> should fix the issue you are having.
>> Adam
>>
>> On Fri, Aug 23, 2019 at 11:17 AM Setareh Rahimi via ncl-talk <
>> ncl-talk at ucar.edu> wrote:
>>
>>> Dear Rick,
>>> I did your suggestion, but nothing changed.
>>> Thank you
>>>
>>> On Fri, Aug 23, 2019 at 8:14 PM Rick Brownrigg <brownrig at ucar.edu>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm a little confused about the call the gsn_panel() to draw a "panel"
>>>> plot of the emflx variable in a 1x1 panel, and then the subsequent call to
>>>> overlay() overlaying the wind speed on top of emflx.  You might try
>>>> removing the call the gsn_panel().
>>>>
>>>> Rick
>>>>
>>>> On Fri, Aug 23, 2019 at 9:21 AM Setareh Rahimi via ncl-talk <
>>>> ncl-talk at ucar.edu> wrote:
>>>>
>>>>> Dear all,
>>>>> I need to plot my desirable varible called "emflx", and wind direction
>>>>> ( wind at 10m)  on one plot. Once I run the script, it just plot the wind
>>>>> direction, not 'emflx' . Would you please kindy advise me in this regards.
>>>>> data and  the script, attached.
>>>>> Many thanks in advanc,
>>>>> Best wishes,
>>>>>  Haboob-May-28-first_ATM.2018052400.nc
>>>>> <https://drive.google.com/file/d/11LHXIs8w-nI--3cLwgGs9ulREVuBwX7h/view?usp=drive_web>
>>>>>  Haboob-May-28-first_DUST04.2018052400.nc
>>>>> <https://drive.google.com/file/d/1ICE51X0dN-tM4ffBwk6vo-uBUDR_ASLd/view?usp=drive_web>
>>>>>  wind.ncl
>>>>> <https://drive.google.com/file/d/1grYpZhKNcr1Flt0wF2xNJVbUK9b1dK2b/view?usp=drive_web>
>>>>>
>>>>>
>>>>> --
>>>>> S.Rahimi
>>>>>
>>>>> _______________________________________________
>>>>> ncl-talk mailing list
>>>>> ncl-talk at ucar.edu
>>>>> List instructions, subscriber options, unsubscribe:
>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>
>>>>
>>>
>>> --
>>> S.Rahimi
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>>
>> --
>> Adam Phillips
>> Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
>> www.cgd.ucar.edu/staff/asphilli/   303-497-1726
>>
>> <http://www.cgd.ucar.edu/staff/asphilli>
>>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190828/1ba68d9b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wind_overlay.ncl
Type: application/octet-stream
Size: 4730 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190828/1ba68d9b/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rcm_2018052812.png
Type: image/png
Size: 375512 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190828/1ba68d9b/attachment-0001.png>


More information about the ncl-talk mailing list