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.
Hi Steve, > I'm running a model thru a browser and want to view "the results" > thru a browser also. Since it is MM5 there is a utility to convert to > vis5d format files. This is probably pie in the sky but are there any > utilities in VisAD or elsewhere which could take the vis5d format data, > extract say the 10m winds or whatever level and then create a .jpg which > could be viewed in HTML? Just wondering if anyone has played with > something like this. You can use the open() method of visad.data.vis5d.Vis5DForm to read a Vis5D file into a VisAD data object. Or you can simply do 'data = load("filename.v5d")' in VisAD Python. Then create an appropriate display and use the static method visad.util.Util.captureDisplay(DisplayImpl disp, String filename) to save it to a JPEG file. Or do 'saveplot(display, filename)' in VisAD Python. There'll be some fiddling to create an appropriate display. See Ugo'd VisAD tutorial or Tom's VisAD Python tutorial for help on that. Good luck, Bill
visad
archives: