Re: which plot type I could use from Ziying Li

From: ziying li <ziying-li_at_nyahnyahspammersnyahnyah>
Date: Thu Oct 07 2010 - 13:41:12 MDT

It seems not that simple. That is the one I tried at the beginning. Do any
people have experience for HDF-EOS5 file TES L2 product? This problem is
initial from this product.

Thanks

Ziying

On Thu, Oct 7, 2010 at 1:55 PM, Li, Yongzuo <yongzuo.li@ou.edu> wrote:

> Ziying,
>
> You just use gsn_csm_contour.
>
> 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: Thursday, October 07, 2010 1:00 PM
> To: ncl-talk@ucar.edu
> Subject: ncl-talk Digest, Vol 83, Issue 8
>
> 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. map for stereographic (Li, Yongzuo)
> 2. Re: reference lines with fill above the topmost (Adam Phillips)
> 3. Re: map for stereographic (David Brown)
> 4. Re: map for stereographic (Dennis Shea)
> 5. Re: map for stereographic (David Brown)
> 6. polar projection data using stereographic projection (Li, Yongzuo)
> 7. Re: add_map_tickmarks for panel plot? (Mary Haley)
> 8. which plot type I could use? (ziying li)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 6 Oct 2010 22:44:53 +0000
> From: "Li, Yongzuo" <yongzuo.li@ou.edu>
> Subject: map for stereographic
> To: "ncl-talk@ucar.edu" <ncl-talk@ucar.edu>
> Message-ID:
> <
> 3D70D3147AC59C42A3C346D8F9FA2A0A326CB1B6@it-monad.sooner.net.ou.edu>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> I am using ftp://ftp.caps.ou.edu/users/yli/oban/oban02.ncl
> to plot ftp://ftp.caps.ou.edu/users/yli/oban/oban02.pdf
>
> The area over right edge is empty. All other plots of map
> and contours are absolutely correct and match each other
> exactly. All data are under the same directory
> ftp://ftp.caps.ou.edu/users/yli/oban/
>
> Any help is appreciated !
>
> Yongzuo
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20101006/f7c2c8d9/attachment.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 06 Oct 2010 16:51:48 -0600
> From: Adam Phillips <asphilli@ucar.edu>
> Subject: Re: reference lines with fill above the topmost
> To: ncl-talk@ucar.edu
> Message-ID: <4CACFD84.8050102@ucar.edu>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Debasish,
> Perhaps I am not understanding what you want, but could you draw your
> reference line as transparent or white, and follow example #24:
> http://www.ncl.ucar.edu/Applications/xy.shtml#ex24
> to fill the are between your moving reference line and your regular data
> line?
> Adam
>
> On 10/06/2010 12:09 PM, Debasish wrote:
> > Hello!
> >
> > I have a 30 years daily variables for spring (i.e x(year, days)) where
> year=30 and days=92 (spring month only).
> >
> > I plotted temporal trend of the variable x1d(year*days) (=ndtooned(x))
> where year*days=2760.
> >
> > Now I would like to draw Y reference lines with fill above the topmost
> for each year where position of reference line is 0.25*dim_max_n(x,1), (i.e.
> 1/4 of yearly peak) on the temporal trend of variable x1d.
> >
> > I found the nearest example xy_21.ncl (
> http://www.ncl.ucar.edu/Applications/xy.shtml) which draws a curve with
> three Y reference lines, with a fill above the topmost and below the
> bottommost lines but in my case position of the reference lines are
> different in different years.
> >
> > Any help will be appreciated
> >
> > Thanks
> >
> > Debasish
> >
> > _______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> --
> __________________________________________________
> Adam Phillips
> asphilli@ucar.edu
> National Center for Atmospheric Research tel: (303) 497-1726
> Climate and Global Dynamics Division fax: (303) 497-1333
> P.O. Box 3000
> Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 6 Oct 2010 17:31:14 -0600
> From: David Brown <dbrown@ucar.edu>
> Subject: Re: map for stereographic
> To: "Li, Yongzuo" <yongzuo.li@ou.edu>
> Cc: "ncl-talk@ucar.edu" <ncl-talk@ucar.edu>
> Message-ID: <D4ECBD48-CA86-4FCC-AC31-8B55B862BAF4@ucar.edu>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi Yongzuo,
> It's because the map projection parameters you are setting do not match the
> projection of the data. Try setting mpCenterLonF to 90.
> -dave
>
> On Oct 6, 2010, at 4:44 PM, Li, Yongzuo wrote:
>
> > Hi,
> >
> > I am using ftp://ftp.caps.ou.edu/users/yli/oban/oban02.ncl
> > to plot ftp://ftp.caps.ou.edu/users/yli/oban/oban02.pdf
> >
> > The area over right edge is empty. All other plots of map
> > and contours are absolutely correct and match each other
> > exactly. All data are under the same directory
> > ftp://ftp.caps.ou.edu/users/yli/oban/
> >
> > Any help is appreciated !
> >
> > Yongzuo
> >
> >
> > _______________________________________________
> > ncl-talk mailing list
> > 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/20101006/b12e462e/attachment.html
>
> ------------------------------
>
> Message: 4
> Date: Wed, 06 Oct 2010 17:58:48 -0600
> From: Dennis Shea <shea@ucar.edu>
> Subject: Re: map for stereographic
> To: "Li, Yongzuo" <yongzuo.li@ou.edu>
> Cc: "ncl-talk@ucar.edu" <ncl-talk@ucar.edu>
> Message-ID: <4CAD0D38.6060707@ucar.edu>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> NCL plots correctly!
>
> Your data does not go to the "right edge".
>
> http://www.cgd.ucar.edu/~shea/oban02_grid.png<http://www.cgd.ucar.edu/%7Eshea/oban02_grid.png>
>
> ===
>
> opts@gsnFrame = False
> opts@tiMainString = "grid point locations"
> map=gsn_csm_map(wks,opts)
>
> gsres = True
> gsres@gsMarkerIndex = 16 ; Use filled dots for markers.
> gsn_polymarker(wks,map,ndtooned(glon),ndtooned(glat),gsres)
> frame(wks)
>
> On 10/06/2010 05:31 PM, David Brown wrote:
> > Hi Yongzuo,
> > It's because the map projection parameters you are setting do not match
> > the projection of the data. Try setting mpCenterLonF to 90.
> > -dave
> >
> > On Oct 6, 2010, at 4:44 PM, Li, Yongzuo wrote:
> >
> >> Hi,
> >>
> >> I am using ftp://ftp.caps.ou.edu/users/yli/oban/oban02.ncl
> >> to plot ftp://ftp.caps.ou.edu/users/yli/oban/oban02.pdf
> >>
> >> The area over right edge is empty. All other plots of map
> >> and contours are absolutely correct and match each other
> >> exactly. All data are under the same directory
> >> ftp://ftp.caps.ou.edu/users/yli/oban/
> >>
> >> Any help is appreciated !
> >>
> >> Yongzuo
> >>
> >>
> >> _______________________________________________
> >> ncl-talk mailing list
> >> List instructions, subscriber options, unsubscribe:
> >> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> >
> >
> >
> > _______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
> --
> ======================================================
> Dennis J. Shea tel: 303-497-1361 |
> P.O. Box 3000 fax: 303-497-1333 |
> Climate Analysis Section |
> Climate & Global Dynamics Div. |
> National Center for Atmospheric Research |
> Boulder, CO 80307 |
> USA email: shea 'at' ucar.edu |
> ======================================================
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 6 Oct 2010 18:43:30 -0600
> From: David Brown <dbrown@ucar.edu>
> Subject: Re: map for stereographic
> To: David Brown <dbrown@ucar.edu>
> Cc: "ncl-talk@ucar.edu" <ncl-talk@ucar.edu>, "Li, Yongzuo"
> <yongzuo.li@ou.edu>
> Message-ID: <811F95DC-83F4-4DF4-93B1-91142861205A@ucar.edu>
> Content-Type: text/plain; charset="us-ascii"
>
> Sorry Yongzuo, I meant to say set mpCenterLatF to 90.
> -dave
>
> On Oct 6, 2010, at 5:31 PM, David Brown wrote:
>
> > Hi Yongzuo,
> > It's because the map projection parameters you are setting do not match
> the projection of the data. Try setting mpCenterLonF to 90.
> > -dave
> >
> > On Oct 6, 2010, at 4:44 PM, Li, Yongzuo wrote:
> >
> >> Hi,
> >>
> >> I am using ftp://ftp.caps.ou.edu/users/yli/oban/oban02.ncl
> >> to plot ftp://ftp.caps.ou.edu/users/yli/oban/oban02.pdf
> >>
> >> The area over right edge is empty. All other plots of map
> >> and contours are absolutely correct and match each other
> >> exactly. All data are under the same directory
> >> ftp://ftp.caps.ou.edu/users/yli/oban/
> >>
> >> Any help is appreciated !
> >>
> >> Yongzuo
> >>
> >>
> >> _______________________________________________
> >> ncl-talk mailing list
> >> List instructions, subscriber options, unsubscribe:
> >> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> >
> > _______________________________________________
> > ncl-talk mailing list
> > 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/20101006/cab9f362/attachment.html
>
> ------------------------------
>
> Message: 6
> Date: Thu, 7 Oct 2010 14:27:29 +0000
> From: "Li, Yongzuo" <yongzuo.li@ou.edu>
> Subject: polar projection data using stereographic
> projection
> To: "ncl-talk@ucar.edu" <ncl-talk@ucar.edu>
> Cc: David Brown <dbrown@ucar.edu>
> Message-ID:
> <
> 3D70D3147AC59C42A3C346D8F9FA2A0A326CB1E1@it-monad.sooner.net.ou.edu>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
>
> Dave and Dennis,
>
> The plot using "stereographic" for
> "polar stereographic map projection" data is perfect now.
>
> ftp://ftp.caps.ou.edu/users/yli/oban/oban02.ncl
> ftp://ftp.caps.ou.edu/users/yli/oban/oban02.pdf
>
> Here is a summary.
>
> My regional data obtained from "polar stereographic
> map projection" can be plotted by NCL "stereographic".
> However, "mpCenterLatF = 90. " must be used because
> polar projection is centered at "north pole".
>
> Thanks.
>
> Yongzuo
>
>
>
> From: David Brown [dbrown@ucar.edu]
>
> Sent: Wednesday, October 06, 2010 7:43 PM
>
> To: David Brown
>
> Cc: Li, Yongzuo; ncl-talk@ucar.edu
>
> Subject: Re: map for stereographic
>
>
>
>
>
> Sorry Yongzuo, I meant to say set mpCenterLatF to 90.
> -dave
>
>
>
> On Oct 6, 2010, at 5:31 PM, David Brown wrote:
>
>
>
> Hi Yongzuo,
> It's because the map projection parameters you are setting do not match the
> projection of the data. Try setting mpCenterLonF to 90.
> -dave
>
>
>
> On Oct 6, 2010, at 4:44 PM, Li, Yongzuo wrote:
>
>
>
>
> Hi,
>
>
>
> I am using ftp://ftp.caps.ou.edu/users/yli/oban/oban02.ncl
>
> to plot ftp://ftp.caps.ou.edu/users/yli/oban/oban02.pdf
>
>
>
> The area over right edge is empty. All other plots of map
>
> and contours are absolutely correct and match each other
>
> exactly. All data are under the same directory
>
> ftp://ftp.caps.ou.edu/users/yli/oban/
>
>
>
> Any help is appreciated !
>
>
>
> Yongzuo
>
>
>
>
>
>
> _______________________________________________
>
> ncl-talk mailing list
>
> List instructions, subscriber options, unsubscribe:
>
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
>
>
>
>
>
> _______________________________________________
>
> ncl-talk mailing list
>
> 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/20101007/6e80a004/attachment.html
>
> ------------------------------
>
> Message: 7
> Date: Thu, 7 Oct 2010 09:23:40 -0600
> From: Mary Haley <haley@ucar.edu>
> Subject: Re: add_map_tickmarks for panel plot?
> To: Emilie Vanvyve <evanvyve@ucar.edu>
> Cc: ncl-talk@ucar.edu
> Message-ID: <E06DB98C-5BC6-48EB-B062-8C63642EE4AA@ucar.edu>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi Emilie,
>
> Thanks for letting me know about this. You found a bug in the
> add_map_tickmarks routine.
>
> The fix is pretty simple. I've included a new version of this function, or
> you can fix the bug yourself, if you've made changes to this function.
> Simply add the two lines:
>
> bres@gsnDraw = False
> bres@gsnFrame = False
>
>
> after
>
> bres = True ; Above call will set bres to True if no "tm" resources, so
> ; make sure it is True still.
>
>
> --Mary
>
> On Oct 6, 2010, at 2:18 PM, Emilie Vanvyve wrote:
>
> > Hi Mary,
> >
> > A while ago you showed me how to adjust the tickmarks of a map drawn with
> gsn_csm_contour_map. See
> http://www.ncl.ucar.edu/Support/talk_archives/2010/1615.html for the
> original discussion (post title: "Adjusting tickmark labels with
> gsn_csm_contour_map").
> >
> > I'm using the function add_map_tickmarks again today for a similar map
> with one major difference: I use gsn_panel to combine two maps rather than
> plot one single map. The function nicely adds the tickmarks of the
> individual maps, but for some reason it also adds tickmarks to a nonexisting
> central plot. See attached screenshot. Is there any way to stop this?
> >
> > Emilie
> >
> >
> > <Panel_plot_add_map_tickmarks.png>
> >
> >
> > _______________________________________________
> > ncl-talk mailing list
> > 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/20101007/aaaa56ea/attachment.html
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: add_map_tickmarks.ncl
> Type: application/octet-stream
> Size: 8361 bytes
> Desc: not available
> Url :
> http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20101007/aaaa56ea/attachment.obj
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20101007/aaaa56ea/attachment-0001.html
>
> ------------------------------
>
> Message: 8
> Date: Thu, 7 Oct 2010 10:45:03 -0500
> From: ziying li <ziying-li@hdfgroup.org>
> Subject: which plot type I could use?
> To: ncl-talk@ucar.edu
> Message-ID:
> <AANLkTimSt+_PAB6JRdDXgyj-R0yCrb=MA42x20zDm9F0@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi all,
>
> I currently meet a new case when I want to plot a two-dimensional
> cross-section (pressure/time) of dataset (which is 2D dataset). In normal
> case, both dimension (pressure&time) are 1D data. But in my case, Pressure
> is 2D dataset and second dimension of Time is 1D.
>
> Specifically, First dimension of Pressure field is the number of
> observations in one run and second dimension is pressure level actually
> observed during that specific observation.
>
> Would you please suggest me which plot type I should choose if I'd like to
> generate a plot like the one showed in the top of this page:
> http://www.ncl.ucar.edu/Applications/height_time.shtml ? I may want to
> represent all pressure info in one graphic.
>
> Thanks
>
> Ziying
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20101007/68d6f297/attachment.html
>
> ------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk@ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
> End of ncl-talk Digest, Vol 83, Issue 8
> ***************************************
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Oct 7 13:41:31 2010

This archive was generated by hypermail 2.1.8 : Tue Oct 12 2010 - 15:27:00 MDT