This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> Hi > > I have used pause in my py script and I have also called > getIdv().waitUntilDisplaysAreDone() > and add a Misc.sleep(sleepTime) after that. > > But sometimes, if the sleepTime is not long enough, IDV will output > transparent PNGS and seems the station model is not ready to display > > Eric > I think you can try to use pause in the script, and no need to set the sleep time. Yuan > On Tue, Mar 13, 2012 at 11:18 PM, Unidata IDV Support > <address@hidden> wrote: > >> Hi > >> > >> I have followed this > >> http://www.unidata.ucar.edu/mailing_lists/archives/idvusers/2010/msg00002.html > >> to build a server side tiles generation program. > >> > >> I found that when I use IDV to generate station model from point data > >> and capture the screen to output png. > >> Sometimes, the station model may not be drawn before my capture. > >> Finally, I apply a wait before the capture but it is very hard to make > >> sure everything is drawn before capture. > >> > >> Anyway or function call to make sure the station model is done ? > > > > Eric, > > If you are working on ISL script, the pause command is what you wanted > > before generating an image. > > > > <!-- Wait until everything is loaded --> > > <pause/> > > > > > > Yuan > >> > >> Thanks > >> -- > >> Best Regards, > >> Eric Fong > >> > >> > > > > > > Ticket Details > > =================== > > Ticket ID: SZO-728134 > > Department: Support IDV > > Priority: Normal > > Status: Closed > > > > > > -- > Best Regards, > Eric Fong > > Ticket Details =================== Ticket ID: SZO-728134 Department: Support IDV Priority: Normal Status: Closed