Re: Odd plots of contours and shading

From: Yang Yang <yang123yang_at_nyahnyahspammersnyahnyah>
Date: Tue Aug 02 2011 - 22:34:50 MDT

Hi Mary:

Thank you very much for your help!

The version of the NCL I used is:
 Copyright (C) 1995-2010 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 5.2.0
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.

To avoid using the EcoConnectUtils.ncl and other unillity ncl scripts created by us here, I modified the script so as to use only the resources and functions provided by NCL. However, the same problem occurred. I attached the diagram and the script here. I have also used ftp to send the data file on the directed ftp site. The file name is: nzlam-12-orography.nc

If you cannot find the data file, please let me know.

Thank you again!

Ed

--- On Tue, 8/2/11, Mary Haley <haley@ucar.edu> wrote:

> From: Mary Haley <haley@ucar.edu>
> Subject: Re: Odd plots of contours and shading
> To: "Yang Yang" <yang123yang@yahoo.com>
> Cc: ncl-talk@ucar.edu
> Date: Tuesday, August 2, 2011, 9:43 PM
> Hi,
>
> What version of NCL are you using? I'm not sure I've ever
> seen this problem before, but it's puzzling.
>
> I don't see any problems with your script but it looks like
> you have a procedure that may be setting some more resources
> that I can't see.
>
> Can you provide me with the data files for one of the
> examples, and the EcoConnectUtils.ncl file so I can run it
> here?
>
> See the ftp information at:
>
> http://www.ncl.ucar.edu/report_bug.shtml
>
> --Mary
>
> On Jul 31, 2011, at 5:44 PM, Yang Yang wrote:
>
> > Hello:
> >
> > I used the same terrain data to plot the terrain
> height with both contours and shading. Basically I used two
> methods:
> >
> > 1. For this one, I used
> gsn_csm_contour_map(wks,ter,res2)to show both contours and
> color shading. The color of area from 100 - 200 m is the
> same as area from 200 - 300 m. However, on the label color
> table, they are different. The color for area from 200 - 300
> m was not shown. The diagram Plot1.eps and the ncl script
> plot_1 are attached.
> >
> > 2. For this one, I used
> gsn_csm_contour_map_overlay(wks,ter,ter,res1,res2) to show
> both contours and color shading. The color of area from 0.1
> - 100 m is the same as area from 100 - 200 m. However, on
> the label color table, they are different. The color for
> area from 100 - 200 m was not shown on the diagram.
> > The diagram Plot2.eps and the ncl script plot_2 are
> attached.
> >
> > I cannot figure out the reasons. I attached the plots
> and ncl scripts here to seek help from you. Any help is much
> appreciated.
> >
> > Cheers!
> >
> Ed<Plot1.eps><plot_1.ncl><Plot2.eps><plot_2.ncl>_______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

Received on Tue Aug 2 22:34:53 2011

This archive was generated by hypermail 2.1.8 : Fri Aug 05 2011 - 14:53:55 MDT