Skip to content

Add exportZidv jython function.#107

Open
jon4than wants to merge 1 commit intoUnidata:masterfrom
jon4than:jython_export_func
Open

Add exportZidv jython function.#107
jon4than wants to merge 1 commit intoUnidata:masterfrom
jon4than:jython_export_func

Conversation

@jon4than
Copy link
Copy Markdown
Contributor

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
Copy link
Copy Markdown
Member

yuanho commented Oct 14, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants