Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Re: idl 5.3, problem with plots and mapping environments
William Daffer (vapuser@catspaw.jpl.nasa.gov) writes: > I've just run into a strange problem with PLOTS and mapping > environments that seems to be new with IDL 5.3. Uh, better get this one to RSI ASAP so they can get to work on it before IDL 5.4 is released. This just looks like a programmer error to me. :-( Cheers, David -- David Fanning, Ph.D. Fanning Software Consulting Phone: 970-221-0438 E-Mail: davidf@dfanning.com Coyote's Guide to IDL Programming: http://www.dfanning.com/ Toll-Free IDL Book Orders: 1-888-461-0155
William, I agree with David that this looks like a programming error. Now I am going to go and check my over the pole cases to see if I get a similiar error! > But now I have to find a way to determine that a mapping environemt > is in place inside the plotter -- and a cursory, but fairly > thorough examination of the !map environment variable revealed no > obvious way to make this determination, or send in a keyword telling > the plotter that it's in a mapping environment and please check > for boundary cases like plotting over a pole. Which means I have to > chase through all my code changing the calls. You can check to see if the mapping environment is current with the !x.type variable. If !x.type = 3 then map_set has been called. -Ronn -- Ronn Kling Ronn Kling Consulting email: ronn@rlkling.com "Application Development with IDL" programming book updated for IDL5.3! Shareware and Freeware at: http://www.rlkling.com/ Sent via Deja.com http://www.deja.com/ Before you buy.
> > William Daffer (vapuser@catspaw.jpl.nasa.gov) writes: > >> I've just run into a strange problem with PLOTS and mapping >> environments that seems to be new with IDL 5.3. > > Uh, better get this one to RSI ASAP so they can get to work > on it before IDL 5.4 is released. This just looks like a > programmer error to me. :-( > > Really? What error? Why? > Cheers, > > David > > -- > David Fanning, Ph.D. > Fanning Software Consulting > Phone: 970-221-0438 E-Mail: davidf@dfanning.com > Coyote's Guide to IDL Programming: http://www.dfanning.com/ > Toll-Free IDL Book Orders: 1-888-461-0155
In article <8eiamr$a3v$1@nnrp1.deja.com> Ronn Kling <ronn@rlkling.com> writes: From: Ronn Kling <ronn@rlkling.com> Newsgroups: comp.lang.idl-pvwave Date: Sun, 30 Apr 2000 22:05:21 GMT Organization: Deja.com - Before you buy. Lines: 30 References: <88snw5omxi.fsf@catspaw.jpl.nasa.gov> NNTP-Posting-Host: 63.20.81.80 X-Article-Creation-Date: Sun Apr 30 22:05:21 2000 GMT X-Http-User-Agent: Mozilla/4.7 [en] (WinNT; U) X-Http-Proxy: 1.0 x33.deja.com:80 (Squid/1.1.22) for client 63.20.81.80 X-MyDeja-Info: XMYDJUIDrlkling Path: newsfeed.jpl.nasa.gov!news.spies.com!news.sgi.com!news.maxwe ll.syr.edu!newspeer.monmouth.com!nntp2.deja.com!nnrp1.deja.c om!not-for-mail Xref: newsfeed.jpl.nasa.gov comp.lang.idl-pvwave:16254 >William, >I agree with David that this looks like a programming error. Now I am >going to go and check my over the pole cases to see if I get a similiar >error! Didn't you try the example I posted? >>But now I have to find a way to determine that a mapping environemt >> is in place inside the plotter -- and a cursory, but fairly >> thorough examination of the !map environment variable revealed no >> obvious way to make this determination, or send in a keyword telling >> the plotter that it's in a mapping environment and please check >>for boundary cases like plotting over a pole. Which means I have to >> chase through all my code changing the calls. > You can check to see if the mapping environment is current with the > !x.type variable. If !x.type = 3 then map_set has been called. Thanks for this tip, I'll give it a try, but I still don't see why I have to. If RSI can wrap longitudes, they can wrap latitudes as well. > -Ronn