Re: Map distorted

From: Rick Brownrigg <brownrig_at_nyahnyahspammersnyahnyah>
Date: Mon Jun 02 2014 - 11:11:28 MDT

Hi Ahmed,

After experimenting with your script a bit, it looks like two things are going on:

i) If you want to use the resource

  "res@tfDoNDCOverlay = True",

then you definitely need to set

  res@mpCenterLonF = 180

or else the data are out of phase 180-degrees with the basemap.

ii) It looks like ncview is using many more contour levels than the default in NCL; I got something much more interesting by setting:

    res@cnLevelSelectionMode = "EqualSpacedLevels"
    res@cnMaxLevelCount = 50
    res@cnLinesOn = False

I also experimented with different colormaps.

I hope that helps…
Rick

On Jun 2, 2014, at 10:24 AM, Ahmed Lasheen <ahmed4kernel@gmail.com> wrote:

> Hi,
> I plot the file using ncview, and it looks different from the NCL, Values are different and output in NCL looks more noisy. I have attached the image from ncview. Tanks
>
> ---------------
> Ahmed L. Shaaban | Graduate Student
> Department of Atmospheric and Environmental science (DEAS).
> State University of New York (SUNY), University At Albany
> 1400 Washington Avenue, Albany, NY 12222 | Office ES334
> ----------------
>
>
>
> On Mon, Jun 2, 2014 at 11:40 AM, Rick Brownrigg <brownrig@ucar.edu> wrote:
> Hi Ahmed,
>
> What is distorted about the plot? When I ran the script, I get about what I might expect for a global cylindrical-equidistant map.
>
> Rick
>
> On Jun 1, 2014, at 6:29 PM, Ahmed Lasheen <ahmed4kernel@gmail.com> wrote:
>
>> Hello all
>> I am trying to plot correlation map from netcdf file(I have attached it), but the output is very distorted. I have attached the script also. I think that there is no missing value or Fill value in the file. I plot the file with ncview and it is different from what I got from the NCL. Any suggestions.
>> Thanks in advance
>> ---------------
>> Ahmed L. Shaaban | Graduate Student
>> Department of Atmospheric and Environmental science (DEAS).
>> State University of New York (SUNY), University At Albany
>> 1400 Washington Avenue, Albany, NY 12222 | Office ES334
>> ----------------
>>
>> <correlation_tem1000_cmap><draw_correlation.ncl>_______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
> <ncview.corr_map.ps>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jun 2 11:11:39 2014

This archive was generated by hypermail 2.1.8 : Tue Jun 03 2014 - 11:40:09 MDT