Launch the IDV GUI, and capture views as you navigate through it

You can load any bundle, on local disk or URL.

For a local file, just put its name in loadBundle('/path/mybundle.xidv'). For a Mapes IDV collection bundle, find it at http://bit.ly/Mapes_IDV. Copy the URL into the loadBundle('My_bundle_URL') command, and change "show" to "get" in the URL as seen below:


In [1]:
loadBundle('http://weather.rsmas.miami.edu/repository/entry/get?entryid=8bc7c055-ca2c-4533-93cf-604db757b128')


exec(u"loadBundle('http://weather.rsmas.miami.edu/repository/entry/get?entryid=8bc7c055-ca2c-4533-93cf-604db757b128')")
<bundle  file="http://weather.rsmas.miami.edu/repository/entry/get?entryid=8bc7c055-ca2c-4533-93cf-604db757b128" ></bundle>

Now bundles can also be loaded with some parameters in bundle changed (ex: time, bounding box etc) through isl scripting

https://www.unidata.ucar.edu/software/idv/release/test/docs/userguide/isl/index.html

For automating over a range of settings and bundles one can use

for bundleFile in BundleFileList: isltag="""<bundle file='%s' clear='false'/>"""%bundleFile runIsl(isltag)


In [ ]:
%%isl 
<bundle file='http://weather.rsmas.miami.edu/repository/entry/get?entryid=8bc7c055-ca2c-4533-93cf-604db757b128' clear='false'/>

some additional experimental features to loadBundles, such features can be extended

loadBundleBB("file",north,south,east,west)


In [ ]:
loadBundleBB('http://weather.rsmas.miami.edu/repository/entry/get?entryid=8bc7c055-ca2c-4533-93cf-604db757b128',80,10,60,120)

Ready for action!

Work the GUI, and capture the view any time with showImg()


In [2]:
showImg()


To capture the view with legends or full window


In [3]:
showImgWithLegend()



In [4]:
showImgWithFullWindow()


How about an animation?


In [1]:
%showMovie

One could write and read images/Animations


In [3]:
writeMovie("MyMovie.gif")



Then any Image into the notebook:


In [4]:
%Image MyMovie.gif


Experimental More interaction to IDV is possible with HTML


In [2]:
%%HTML
<div style="background-color:white; border:white; width:300px; padding:20px;">
                                Variable Name: <input type="text" id="var_name" value="foo"><br>
                                Variable Value: <input type="text" id="var_value" value="bar"><br>
                                <button onclick="set_value()">Set Value</button></div>


Variable Name:
Variable Value:

In [3]:
%%Latex
\overline{End}


$$\overline{End}$$