RE: [pyngl-talk] plotting across 180 and across 0

From: Ertl, John C CIV 63134 <john.ertl_at_nyahnyahspammersnyahnyah>
Date: Mon, 6 Aug 2007 11:47:40 -0700

Classification: UNCLASSIFIED
Caveat (s): FOUO
 
Erdem,
 
Great. I will take a look. I figured I was not the only person to have come across this...I am glad someone has figured it out.
 
Thanks,
 
 
Classification: UNCLASSIFIED
Caveat (s): FOUO
 
John Ertl
Meteorologist
 
FNMOC
7 Grace Hopper Ave.
Monterey, CA 93943
(831) 656-5704
john.ertl_at_navy.mil

________________________________

From: pyngl-talk-bounces_at_ucar.edu on behalf of uneye_at_be.itu.edu.tr
Sent: Mon 8/6/2007 11:45 AM
To: pyngl-talk_at_ucar.edu
Subject: Re: plotting across 180 and across 0

Hi John and all,

I recently had the same problem. First check that your lat/lon variables
are 1D because it can be 2D with x_cross and y_cross values are defined.
Anyway my real advice would be using NCO tools. Ufuk lead me to use the
tools and seems it has solved my problem.

I haven't really looked into your code but the problem seems to be with
the wrapped coordinates. Because the lon is from 0 to 360, to window an
area from -20 to 20, you have to get the part from 340 to 360 first and 0
to 20 later. The solution is to window it with NCO tools, which you can
download from nco.sourceforge.net. They have a detailed user guide you can
look into. Look for Wrapped Coordinates. You can easily use the command
line to correct the problem.

Hope this helps,
Erdem

_______________________________________________
pyngl-talk mailing list
pyngl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk

_______________________________________________
pyngl-talk mailing list
pyngl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Mon Aug 06 2007 - 12:47:40 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 08 2007 - 13:15:09 MDT