Re: wmbarb not working with Lambert Conformal projection

From: <antti.pessi_at_nyahnyahspammersnyahnyah>
Date: Thu Apr 07 2011 - 17:52:57 MDT

I tried to remove res1@tfDoNDCOverlay = True, but it didn't work either.
The map just looked messed up and it still didn't print any wmbarb
observations.

I just want to point out that everything else, for example gridded wind
barbs, contoured fields etc., work just fine with that configuration.
Just not the observations plotted with wmbarb.

Thanks,
Antti

-----Original Message-----
From: Dennis Shea [mailto:shea@ucar.edu]
Sent: Thursday, April 07, 2011 9:00 AM
To: Rick Brownrigg
Cc: Pessi Antti ANPE; ncl-talk@ucar.edu
Subject: Re: wmbarb not working with Lambert Conformal
projection

Try removing the
     res1@tfDoNDCOverlay = True

On 4/7/11 8:57 AM, Rick Brownrigg wrote:
> Hmmm...I don't know what to suggest then. You've printed all the
> following values, and they look as what you expect?
>
>> res1@mpProjection = "LambertConformal"
>> res1@mpLambertParallel1F = lat2d@Latin1
>> res1@mpLambertParallel2F = lat2d@Latin2
>> res1@mpLambertMeridianF = lat2d@Lov
>> res1@mpLimitMode = "Corners"
>> res1@mpLeftCornerLatF = lat2d@corners(0)
>> res1@mpLeftCornerLonF = lon2d@corners(0)
>> res1@mpRightCornerLatF = lat2d@corners(2)
>> res1@mpRightCornerLonF = lon2d@corners(2)
>
>
> On Apr 6, 2011, at 5:55 PM, antti.pessi@vaisala.com
> <mailto:antti.pessi@vaisala.com> wrote:
>
>> Rick,
>> Good catch, but I checked the "Lov" values and they are the same in
>> both variables lat2d and lon2d. So the problem is still there...
>> Antti
>>
------------------------------------------------------------------------
>> *From:*Rick Brownrigg [mailto:brownrig@ucar.edu]
>> *Sent:*Tuesday, April 05, 2011 1:47 PM
>> *To:*Pessi Antti ANPE
>> *Cc:*ncl-talk@ucar.edu <mailto:ncl-talk@ucar.edu>
>> *Subject:*Re: [ncl-talk] wmbarb not working with Lambert Conformal
>> projection
>> Hi,
>> A central meridian in the Lambert projection is a line of constant
>> *longitude*. The assignment below suggests its being set to a value
of
>> latitude -- is this perhaps the issue?
>> Rick
>> On Apr 5, 2011, at 11:51 AM,antti.pessi@vaisala.com
>> <mailto:antti.pessi@vaisala.com>wrote:
>>
>>
>> Hello,
>> I'm trying to plot observed wind barbs using wmbarb on a gridded
model
>> map. My map resources are following:
>> res1@mpProjection = "LambertConformal"
>> res1@mpLambertParallel1F = lat2d@Latin1
>> res1@mpLambertParallel2F = lat2d@Latin2
>> res1@mpLambertMeridianF = lat2d@Lov
>> res1@mpLimitMode = "Corners"
>> res1@mpLeftCornerLatF = lat2d@corners(0)
>> res1@mpLeftCornerLonF = lon2d@corners(0)
>> res1@mpRightCornerLatF = lat2d@corners(2)
>> res1@mpRightCornerLonF = lon2d@corners(2)
>> res1@tfDoNDCOverlay = True
>> If I comment out the first four lines, the wmbarb works just fine and
>> plots the barbs correctly. However, that way I get a distorted map
>> with straight latitude and longitude lines. If I run the code as
>> above, wmbarb doesn't plot anything. I tried wmbarbmap as well but
>> that didn't work either.
>> Are there some settings that would make the wmbarb to work with
>> Lambert projection?
>> Thanks,
>> Antti Pessi
>> _______________________________________________
>> 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
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Apr 7 17:53:11 2011

This archive was generated by hypermail 2.1.8 : Fri Apr 08 2011 - 09:34:26 MDT