+ All Categories
Home > Documents > Brian Mapes, University of Miami [email protected].

Brian Mapes, University of Miami [email protected].

Date post: 21-Jan-2016
Category:
Upload: brendan-stafford
View: 234 times
Download: 0 times
Share this document with a friend
33
Learning to use the IDV using rich examples and templates Brian Mapes, University of Miami [email protected]
Transcript
Page 1: Brian Mapes, University of Miami mapes@miami.edu.

Learning to use the IDV using rich examples

and templates

Brian Mapes, University of [email protected]

Page 2: Brian Mapes, University of Miami mapes@miami.edu.

What is The IDV?

• The Integrated Data Viewer

• Free, supported software (Java, any platform)– product of decades of development

• Roots in meteorology– skew-T displays, our derived quantities, etc.

• Complicated, by necessity... since it does a lot

Page 3: Brian Mapes, University of Miami mapes@miami.edu.

Orientation to The IDV:Take a breath. Read. Take time to think. Think like a maker.

It is like this

(with a few parts more like this...)

Not this

Page 4: Brian Mapes, University of Miami mapes@miami.edu.

Getting used to an advanced workshop

• Get a mouse! • While trackpad gestures can be used, many features are

easiest on a 3-button mouse.» right-click has useful menus» scroll wheel to zoom in and out » right-button drag to rotate 3D display (drag its front)» ctrl- right-button drag to move (pan) display (drag whole cube)

• There are pitfalls! • Think before you click!• “Measure twice, cut once”• Save your work, if you add value

– There is no auto-save or back button

Page 5: Brian Mapes, University of Miami mapes@miami.edu.

Menus within menus• Tools are often available in more than one place– Right-click often pulls up menus with more options

• Everything was created and named thoughtfully– decades of team development & committee decisions• Be patient, read, think • Every word in every menu is logical, and necessary

Page 6: Brian Mapes, University of Miami mapes@miami.edu.

You could start from raw data...but that can be frustrating and slow.

The IDV tutorials and multi-day trainings from the software supplier (Unidata)

walk you through the process of finding, loading and displaying data on a blank

map. That’s like trying to build a birdhouse from raw lumber.

Page 7: Brian Mapes, University of Miami mapes@miami.edu.

First, just learn to adjust and improve

Instead, our approach here is to give you complete, advanced projects

(called bundles).

Your task is to first explore these, then learn to adjust them, and then, with

time, you can learn enough to add another feature or two.

Page 8: Brian Mapes, University of Miami mapes@miami.edu.

What is a Bundle?

– myfile.xidv is a bundle consisting of xml code only• just instructions -- including pointers to data servers• not very human readable: just open it in The IDV

– myfile.zidv is a bundle with data zipped into it• data will unzip into a temporary folder on your computer• this gives faster responses, and will work offline

Page 9: Brian Mapes, University of Miami mapes@miami.edu.

Saving a bundle while you work

• FileSave a .xidv bundle of your IDV session’s state any time. – FileOpen that file to get right back to this point• same data, displays, views, etc. etc.

• If you add value to the initial bundle, save it!• There is no autosave, no Back button!

• A common error: there no stop button if you accidentally click to load the whole internet, blowingmemory limits!

Page 10: Brian Mapes, University of Miami mapes@miami.edu.

Key computer resource: RAM

• MEMORY (RAM):– 2GB is a minimum for reasonable IDV performance

» 4GB or 8GB are much better

– IDV reserves about 75% of system RAM on launch• CLOSE OTHER LARGE APPLICATIONS for best results

– Exceeding memory limits can cause "STRANGE, UNPREDICTABLE" errors! • (just freezing up, most commonly)

Page 11: Brian Mapes, University of Miami mapes@miami.edu.

Performance (speed)• Data reading and rendering can take time– Be patient. It will finish, if memory is sufficient.• sub-processes are not possible to monitor in detail

• Stretch, breathe, do something else.

• IDV’s Java language is multi-threaded.– "STOP" button is another process: doesn’t work• You must kill and restart IDV if you see "loading data

time 1/1000...2/1000...”• That’s when you wish you saved your work

– Think before you click!

Page 12: Brian Mapes, University of Miami mapes@miami.edu.

Install the IDV• Any platform, just a few clicks to install• Search “unidata idv” will find their page

• Latest official release: – http://www.unidata.ucar.edu/downloads/idv/latest/index.jsp

• Latest-latest: – http://www.unidata.ucar.edu/downloads/idv/nightly/index.jsp– usually just bug fixes – occasionally experimental features!

Page 13: Brian Mapes, University of Miami mapes@miami.edu.

Launch the IDV

• Find the launcher, double click

Page 14: Brian Mapes, University of Miami mapes@miami.edu.

About error messages....• You will get error messages sometimes.– for example if data servers are down, or ??– They are hard to interpret

• Usually: Just click OK. Move on.– Don't bother with Support Form every time...

» only if you have isolated a repeatable error (bug)

• The error might not matter– Java is multi-threaded; the other things will go ahead

Page 15: Brian Mapes, University of Miami mapes@miami.edu.

The IDV's windows• Two main windows: – Dashboard window

– Display window• (may be more than one)

Page 16: Brian Mapes, University of Miami mapes@miami.edu.

Display window's parts

HIDDEN!

Toggle for

Memory Monitor

Page 17: Brian Mapes, University of Miami mapes@miami.edu.

Recovering the Dashboard• If you close the dashboard, click here in the

display window to get it back

Page 18: Brian Mapes, University of Miami mapes@miami.edu.

A very important corner:

Open Dashboard

Save bundle (state)

Restore normal top view after

too much rotation

and zooming

view from eastview from south

CAPTURE IMAGE OR MOVIE

Open a bundle

Page 19: Brian Mapes, University of Miami mapes@miami.edu.

Terminology: Learn these words!

• Window• Pane or viewport• View• Projection• Display

• If these are not clearly distinguished, you will have trouble asking for help clearly.

Page 20: Brian Mapes, University of Miami mapes@miami.edu.

This window has two view panes

Page 21: Brian Mapes, University of Miami mapes@miami.edu.

This is a view

Page 22: Brian Mapes, University of Miami mapes@miami.edu.

This view has several displays

As described in this area, called a legend

Page 23: Brian Mapes, University of Miami mapes@miami.edu.

Same view and displays, different (polar) projection

Page 24: Brian Mapes, University of Miami mapes@miami.edu.

Unidata: home of The IDVwww.unidata.ucar.edu/software/idv

• Part of Unidata's larger suite of free software– netCDF, THREDDS, RAMADDA, LDM, ...

Page 25: Brian Mapes, University of Miami mapes@miami.edu.

Unidata(current and

former)

Page 26: Brian Mapes, University of Miami mapes@miami.edu.

Three kinds of Help:• Reference manual:– http://www.unidata.ucar.edu/software/idv/docs/

userguide/toc.html• (this is also under the IDV's Help menu)

• From the IDV training workshop:– http://www.unidata.ucar.edu/software/idv/docs/

workshop/• Tutorial screencasts on YouTube:– https://www.youtube.com/user/unidatanews/

Page 27: Brian Mapes, University of Miami mapes@miami.edu.

Installing plugins• A useful tool for customizing

your IDV is a plugin.

– Plug in some color tables– Plug in the RAMADDA Publisher

– Plug in MapesIDVcollection manually

Page 28: Brian Mapes, University of Miami mapes@miami.edu.

A self-updating plugin:

Page 29: Brian Mapes, University of Miami mapes@miami.edu.

The Mapes IDV collection• These two files causes The IDV to self-install a

plugin from a Web source whenever you launch The IDV while connected to the Internet

• You get the latest version, every launch.• I keep improving it – suggestions welcome!• [email protected]

Page 30: Brian Mapes, University of Miami mapes@miami.edu.

What is The Mapes IDV Collection?• 1. A curated collection of "bundles"– In the toolbar of The IDV– In the Catalog view of IDV (with thumbnail images)– Also at http://bit.ly/MapesIDVcollection

• 2. Other resources: – Custom color tables– Display Settings suggestions for various fields

Page 31: Brian Mapes, University of Miami mapes@miami.edu.

What is The Mapes IDV Collection?• 2. Other resources: – Custom color tables– Formulas Grids Mapes

Page 32: Brian Mapes, University of Miami mapes@miami.edu.

What is The Mapes IDV Collection?• 3. Catalogs:

Unidata’s standard IDV default catalog is right here

Page 33: Brian Mapes, University of Miami mapes@miami.edu.

Good luck and keep in touch!

Lackmann, Mapes, & Tyle


Recommended