# [ncl-talk] Wind composites (tropical cyclone)

Dennis Shea shea at ucar.edu
Tue Feb 26 09:48:45 MST 2019

Also, something you might find useful : *geolocation_circle*
<https://www.ncl.ucar.edu/Document/Functions/Contributed/geolocation_circle.shtml>

*http://www.ncl.ucar.edu/Applications/unique.shtml*
<http://www.ncl.ucar.edu/Applications/unique.shtml>
Example: Katrina_circle.ncl

------

Also,

*shapefiles* <https://test.www.ncl.ucar.edu/Applications/shapefiles.shtml>:
Examples 5, 9 and 13

On Tue, Feb 26, 2019 at 9:43 AM Dennis Shea <shea at ucar.edu> wrote:

> Hi Thomas,
>
> The question is not clear to me.
>
> I assume all the data are from the same grid. If your center point is at
> indices: (jlat,ilon) and the grid is (say)
> jStrt  = jlat-JLAT
> jLast = jlat+JLAT
> iStrt =
> iLast =
>
>     JY  = 2*JLAT_1
>     IX  = 2*ILON+1
>     grid = new ((/JY,IX/),"float",-999.0)
>     grid = 0.0
>
>     do ng=0,ngrid-1
>          jStrt =
>          jLast =
>          iStrt =
>          iLast
>          grid =  grid + data(jStrt:jLast,iStrt:iLast)
>      end do
>
>      grid = grid / ngrid
>
>
>
>
>
> On Tue, Feb 26, 2019 at 6:28 AM Thomas Tobian <thomastobian at gmail.com>
> wrote:
>
>> Dear guys,
>>
>> Can you help me how to make the composite like in this figure (attached)
>> for a user-specified longitude and latitude? For a user-specified
>> longitude, I can easily use *lonPivot, *but I don't know for the
>> latitude. I would be grateful if you can send me an example of that.
>>
>> Best,
>> Thomas
>>
>>
>> _______________________________________________
>> 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/20190226/ea55334f/attachment.html>