Re: wmbarb not working with Lambert Conformal projection

From: <antti.pessi_at_nyahnyahspammersnyahnyah>
Date: Wed Apr 06 2011 - 17:55:59 MDT

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
Subject: Re: 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 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
Received on Wed Apr 6 17:56:35 2011

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