[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #SZO-728134]: Running the IDV in background on a headless server



> 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


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.