Can McIDAS-V autosave images or upload them?

How do I...?
Post Reply
User avatar
tim_v
Posts: 22
Joined: Thu Mar 19, 2009 6:26 pm

Can McIDAS-V autosave images or upload them?

Post by tim_v »

Is it possible for McIDAS-V to automatically save the current view to a local or remote file? I can't find any way of exporting images except manually with View > Capture > Image.

Tim
User avatar
barryr
Posts: 213
Joined: Thu Jan 08, 2009 5:42 pm
Contact:

Re: Can McIDAS-V autosave images or upload them?

Post by barryr »

Hi Tim,
As you noted, you can manually save the current view with View > Capture > Image (or Print or Movie).

You can automate it to some extent by doing this:
1. Save a bundle that displays the data you want.
2. Create a Python script that loads the bundle in the background then saves the image that the bundle just displayed.

See http://www.ssec.wisc.edu/mcidas/doc/mcv ... onISL.html for the basic procedure. The "example Python script" link takes you to a short script that is very similar to the one you would write.

One note: I was told that the scripting in 1.0beta1 has some limitations that will be addressed in later versions. One of them is that the bundles used in Python scripts should be IDV bundles (*.xidv) rather than McIDAS-V bundles (*.mcv). So for now, when you do #1 above, you should use File > Save As and chose "IDV Bundles (*.xidv)" in the "Files of Type" pulldown.

barryr
Post Reply