Unidata / IDV

The Integrated Data Viewer (IDV) from Unidata is a framework for analyzing and displaying geoscience data.
http://www.unidata.ucar.edu/software/idv/
Other
80 stars 37 forks source link

Add exportZidv jython function. #107

Open jon4than opened 8 years ago

jon4than commented 8 years ago

Hi Yuan,

I'll likely clean this up a little more, but I imagine the functionality will stay essentially the same.

Jon

Example usage:

# bring in a bundle
loadBundle('/tmp/test.xidv')

# export using DisplayAreaSubset
exportZidv('/tmp/test.zidv', 'class:ucar.unidata.idv.control.ContourPlanViewControl')

# export without using DisplayAreaSubset
exportZidv('/tmp/test.zidv', 'class:ucar.unidata.idv.control.ContourPlanViewControl', False)
yuanho commented 8 years ago

Jon, you probably want to let user pass null for the display control if there is no need to do the subset. Maybe create an api as exportZidv('/tmp/test.zidv') with only one input parameter.

Yuan