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] API for vertical section plots

Hi Jon,


> I've seen that IDV can produce vertical section plots.  I'm interested in
> re-using this capability in other software (ncWMS) if possible.  I'd like to
> produce a plot as a standalone image (i.e. outside the context of Swing or
> any particular desktop), ideally as a BufferedImage.  Could someone please
> point me to the relevant bit in the libraries please?
>
>
You can use the IDV in server mode, creating an ISL file that generates a
cross section display and capturing it as an image.
You can see some example code in the ramadda svn tree:
https://sourceforge.net/projects/ramadda/
under src/ucar/unidata/repository/idv/IdvOutputHandler
This is basically a web based implementation of the IDV.

Using the regular Cross Section display to do this would be inefficient
because the display would also be adding itself into a 3D view. However, if
you are interested I could work with you to make any necessary changes to
the IDV base.

Of course, you have to help me implement ncwms in RAMADDA (which I just
started doing last weekend. go figure).

 -Jeff


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