NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[idvusers] IDV - recentering an image after loading a bundle

When running the background & loading a bundle, I found that in
Jython, I could emulate the ISL <center> tag logic by doing this:

lalo = Util.makeEarthLocation(43, -90)
islInterpreter.getIdv().getVMManager().center(lalo)

before I do a writeImage()

The only odd thing I noticed, though, is that it sometimes takes 3 or
4 calls to "center(lalo") to get the display actually centered
at the specific lat-lon.

Is there a "better" way to do this (from Jython)?

Thanks....

tom

-- 
Tom Whittaker
University of Wisconsin-Madison
Space Science & Engineering Center (SSEC)
Cooperative Institute for Meteorological Satellite Studies (CIMSS)
1225 W. Dayton Street
Madison, WI  53706  USA
ph: +1 608 262 2759



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the idvusers archives: