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.

Re: [idvusers] Running IDV headlessly (Mac OS X)

Hi David, i think i have you want im using isl script but with shell script
programs (scripts) to run via crontab to generate satellite imagery see
what i say in: http://bit.ly/1Kx2Jck but all "magic" to generate that is a
combination of linux scripts and McIDAS-V, brother software  of IDV.

For more information about that: http://bit.ly/1W8EG7D (In spanish, sorry)

2015-09-18 17:13 GMT+00:00 David P Dempsey <dempsey@xxxxxxxx>:

> IDV Users,
>
> If anyone is running the IDV “headlessly” to generate images (for a Web
> server, for example), I’d like to pick your brain!
>
> I’m trying to run IDV v5.2 under Mac OS X v.10.8 (Snow Leopard) to
> generate GIF images for a Web server. In particular, I’m trying to use my
> server’s LDM to run the IDV automatically when the LDM receives certain
> weather data via the IDD. As I understand it, this process occurs
> “headlessly”--that is, without requiring or using a local interface
> (keyboard, monitor, or mouse, though my server has all three).
>
> My IDV bundle, which is executed through an ISL (IDV scripting language)
> script via the IDV installation’s runIDV script, works fine when I execute
> it on my server manually  (that is, using the server’s keyboard and a
> Terminal window directly).
>
> However, when the the LDM triggers the same command when it receives
> certain weather data via the IDD, the job fails with a
> java.awt.HeadlessException message. The same thing happens when I log onto
> the server remotely using ssh and try to run the same job (below).
>
> My server had been running Java v.7 but I upgraded to Java v.8—the results
> are the same; it runs X11 (XQuartz v.2.7.7) continuously; and it is
> continuously logged onto the account that runs the LDM and IDV. I have X11
> Forwarding enabled.
>
> Some messages from the IDV when I try to execute my GIF-generating bundle
> (RadarSummary.xidv) and ISL script when logged onto my server remotely
> using ssh:
>
> Fri Sep 18 09:54:41 PDT 2015: Loading bundle: RadarSummary.xidv
> 3D [dev] 1.6.0-pre9-daily-experimental daily
>
> ERROR: Error loading bundle: RadarSummary.xidv
> java.awt.HeadlessException
> java.awt.HeadlessException
> at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:269)
> at javax.media.j3d.Canvas3D.<clinit>(Canvas3D.java:3806)
> at visad.java3d.DisplayImplJ3D.initialize(DisplayImplJ3D.java:405)
> at visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:289)
> at visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:276)
>  etc.
>
> Am I going to have to install and run a virtual frame bugger like Xvfb?
>
> Any insight or suggestions that I can get will be welcome—I’ve come up
> empty in my attempts to forage among online forums, and the last reference
> to running the IDV headlessly was in 2010, for Linux systems.
>
> — Dave
>
> ***************************************************************
> * Dr. Dave Dempsey, Chair           |       ^    ___    \|/   *
> * Dept. of Earth & Climate Sciences |  )   ^   /||_||\ —-0—-  *
> * San Francisco State University    | )  )    / ||_|| \ /|\   *
> * 1600 Holloway Ave.                |  )  )  /  ||_||  \      *
> * San Francisco, CA   94132         |  )  ) /   ||_||   \  ^  *
> *                                   | )  )  )   ||_||    \    *
> * Phone:  (415) 338-7716            |  )  )  )~~||~||~~~~~\~~ *
> * FAX:      (415) 338-7705          | )  )  )  ) ~  ~ ~ ~ ~ ~ *
> * Email:   dempsey@xxxxxxxx<mailto:dempsey@xxxxxxxx>         |  )  )   )
> ) ) ~ ~  ~ ~ *
> ***************************************************************
>
>
>
>
>
> _______________________________________________
> idvusers mailing list
> idvusers@xxxxxxxxxxxxxxxx
> For list information, to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/




-- 
*- - - - - - - - - - - - - - - - - - - - - - - - - -  - -*

* - - - - - - - - - - - - - - - -  - - - - - - - - - - **Juan José Amides
Figueroa Urbano*

*Técnico Meteorólogo*
*Servicio Meteorológico Nacional*


*Ministerio de Medio Ambiente y Recursos Naturales de El Salvador.*
*jn 3:16*


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