marker

From: Li, Yongzuo <yongzuo.li_at_nyahnyahspammersnyahnyah>
Date: Tue Jun 28 2011 - 14:29:13 MDT

Hi,

How can I use
 lgres@lgDashIndexes = (/0,2,3,16,4/)
  lgres@lgMarkerIndexes = (/1,4,6,7,16/)

in

ftp://ftp.caps.ou.edu/users/yli/marker/fcst-track-3dvar-hybrid-jejb.ncl

to create

markers on
ftp://ftp.caps.ou.edu/users/yli/marker/fcst-track.pdf

like
ftp://ftp.caps.ou.edu/users/yli/marker/fcst-cslp.pdf

Thanks.

Yongzuo

________________________________________
From: ncl-talk-bounces@ucar.edu [ncl-talk-bounces@ucar.edu] on behalf of ncl-talk-request@ucar.edu [ncl-talk-request@ucar.edu]
Sent: Tuesday, June 28, 2011 1:00 PM
To: ncl-talk@ucar.edu
Subject: ncl-talk Digest, Vol 91, Issue 35

Send ncl-talk mailing list submissions to
        ncl-talk@ucar.edu

To subscribe or unsubscribe via the World Wide Web, visit
        http://mailman.ucar.edu/mailman/listinfo/ncl-talk
or, via email, send a message with subject or body 'help' to
        ncl-talk-request@ucar.edu

You can reach the person managing the list at
        ncl-talk-owner@ucar.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ncl-talk digest..."

Today's Topics:

   1. Re: question about "gsn_csm_contour_map_overlay" (Sho Kawazoe)
   2. Re: question about "gsn_csm_contour_map_overlay" (???)
   3. calculating lat/lon of minimum pressure (Darren Slevin)
   4. Re: calculating lat/lon of minimum pressure (Adam Phillips)

----------------------------------------------------------------------

Message: 1
Date: Mon, 27 Jun 2011 21:22:12 -0500
From: Sho Kawazoe <shomtm62@iastate.edu>
Subject: Re: question about "gsn_csm_contour_map_overlay"
To: ??? <lolita0217@gmail.com>
Cc: ncl-talk@ucar.edu
Message-ID: <BANLkTim4h4_HyJEYrez-0TjA28NwW7cK0w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Please attach your code to these emails so we can identify possible
solutions.

On Mon, Jun 27, 2011 at 9:17 PM, ??? <lolita0217@gmail.com> wrote:

> Dear Sir,
>
> Hope this finds you well.
>
> I met some problems with programming as below description, would you kind
> give advice?
>
> If I used the command "gsn_csm_contour_map", the contours of every variable
> can match with longitude and latitude. However, if I used
> "gsn_csm_contour_map_overlay", its black line (the variable is z500) can not
> match with the longitude and latitude.
>
> How should I do can fix this problem.
>
> thanks in advance.
> Sincerely yours,
> Miss Lu
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

--
Sho Kawazoe
Graduate Student (M.S candidate)
Dept of Geological and Atmospheric Sciences
3019 Agronomy
Ames, IA 50010
Iowa State University
shomtm62@iastate.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20110627/374690d5/attachment.html
------------------------------
Message: 2
Date: Tue, 28 Jun 2011 11:04:21 +0800
From: ??? <lolita0217@gmail.com>
Subject: Re: question about "gsn_csm_contour_map_overlay"
To: Sho Kawazoe <shomtm62@iastate.edu>
Cc: ncl-talk@ucar.edu
Message-ID: <BANLkTi=8JCS1PPDuQpqjaAy58be5m7AaHA@mail.gmail.com>
Content-Type: text/plain; charset="big5"
Dear Sho
When I used " plot_mfrpspa_conOncon2.ncl",the contour of black line looked a
little distorted.
thanks in advance.
Sincerely yours,
Miss Lu
2011/6/28 Sho Kawazoe <shomtm62@iastate.edu>
> Please attach your code to these emails so we can identify possible
> solutions.
>
> On Mon, Jun 27, 2011 at 9:17 PM, ??? <lolita0217@gmail.com> wrote:
>
>>  Dear Sir,
>>
>> Hope this finds you well.
>>
>> I met some problems with programming as below description, would you kind
>> give advice?
>>
>> If I used the command "gsn_csm_contour_map", the contours of every
>> variable can match with longitude and latitude. However, if I used
>> "gsn_csm_contour_map_overlay", its black line (the variable is z500) can not
>> match with the longitude and latitude.
>>
>> How should I do can fix this problem.
>>
>> thanks in advance.
>> Sincerely yours,
>> Miss Lu
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
>
> --
> Sho Kawazoe
> Graduate Student (M.S candidate)
>
> Dept of Geological and Atmospheric Sciences
> 3019 Agronomy
> Ames, IA 50010
> Iowa State University
> shomtm62@iastate.edu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20110628/d886d7b7/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plot_mfrpspa.ncl
Type: application/octet-stream
Size: 13230 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20110628/d886d7b7/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plot_mfrpspa_conOncon2.ncl
Type: application/octet-stream
Size: 13559 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20110628/d886d7b7/attachment-0001.obj
------------------------------
Message: 3
Date: Tue, 28 Jun 2011 15:33:20 +0100
From: Darren Slevin <slevindn@tcd.ie>
Subject: calculating lat/lon of minimum pressure
To: ncl-talk@ucar.edu
Message-ID: <BANLkTi=WiVFzXj8QgqcaD76rG+zt_JkSyA@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
my name is Darren Slevin and I'm trying to find the latitude and longitude
of a certain pressure. Im using WRF to model
Hurricane Katrina. What I want to do is to be able to get the lat/lon
location of the minimum pressure of the storm.
I can get the min. pressure using slp = wrf_user_getvar(a,"slp",0)  and then
getting the minimum of that array. But Im
having problems getting the latitude and longitude. I was wondering if
someone could help me with this. Thanks in advance.
regards,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20110628/366e692f/attachment.html
------------------------------
Message: 4
Date: Tue, 28 Jun 2011 11:48:14 -0600
From: Adam Phillips <asphilli@ucar.edu>
Subject: Re: calculating lat/lon of minimum pressure
To: ncl-talk@ucar.edu
Message-ID: <4E0A13DE.8070609@ucar.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Darren,
Assuming your latitude/longitude arrays are 3-dimensional (Time,
south_north, west_east for instance), then you could do something like
this: (array is named "pres", has 3 dimensions with the first one being
a coordinate variable named time, XLAT = 3D lat array, XLONG = 3D lon
array):
; (untested!)
do gg = 0,dimsizes(pres&time)-1
    temp = pres(gg,:,:)
    temp1D = ndtooned(temp)
    i = ind(temp1D.eq.min(temp))
    indices = ind_resolve(i,dimsizes(temp))
    print(indices)
    print(XLAT(gg,indices(0,0),indices(0,1))+ \
       "  "+XLONG(gg,indices(0,0),indices(0,1)))
    print(temp(indices(0,0),indices(0,1)))    ; check #1
    print(min(temp))                          ; check #2
    delete([/temp,temp1D,i,indices/])    ; ncl v6.0.0 coding allows
    .........                            ; multiple deletes
end do
Hopefully that all makes sense. The trick is to use ind and ind_resolve
to locate the indices that match the min of your array.
If that doesn't help let the group know.
Good luck,
Adam
On 06/28/2011 08:33 AM, Darren Slevin wrote:
> Hi,
> my name is Darren Slevin and I'm trying to find the latitude and
> longitude of a certain pressure. Im using WRF to model
> Hurricane Katrina. What I want to do is to be able to get the lat/lon
> location of the minimum pressure of the storm.
> I can get the min. pressure using slp = wrf_user_getvar(a,"slp",0)  and
> then getting the minimum of that array. But Im
> having problems getting the latitude and longitude. I was wondering if
> someone could help me with this. Thanks in advance.
>
> regards,
> Darren
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
--
______________________________________________________________
Adam Phillips                                asphilli@ucar.edu
NCAR/Climate and Global Dynamics Division       (303) 497-1726
P.O. Box 3000
Boulder, CO 80307-3000    http://www.cgd.ucar.edu/cas/asphilli
------------------------------
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
End of ncl-talk Digest, Vol 91, Issue 35
****************************************
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jun 28 14:29:23 2011

This archive was generated by hypermail 2.1.8 : Thu Jun 30 2011 - 12:54:44 MDT