[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