Saving and Restoring ENVI Sessions
I've been using the latest release of ENVI for a while now, and have gotten used to the new bells and whistles. My favorite though, is the ability to save your work! Now, if I can't finish a project in one sitting, I can save the current session, and restore it later.
A couple things to remember when using this save mechanism:
- ENVI only restores files and any properties like stretch, and bands. If you make changes to a shapefile or ROI, it is best to save those files as well as ENVI's state in order to get back the expected layers and files. In other words, Save Everything!
- This method makes it so that your save files arevery small, since it is only text. Because of this, ENVI will have to restore all of the file connections and reload them to the display. It's a trade off - smaller save file means a longer restore time.
- Not just raster layers are saved - even display tools like annotations and portals can be restored from the JSON save file.
Here's an example of an ENVI session that will be fully restored by saving, quitting the application, then resorting the session:
So what gets restored for this particular example?
- The two raster files in the display with the same band combination and properties.
- The Region of Interest over the building.
- The text annotation "SAVE ALL".
- The portal, and portal location.
- The positioning - ie. the zoom level, center of the screen, and rotation.
This is a simpler example of what this tool can do, as I set this view up in just a few minutes. If you've been working for an hour though, and want to save your work for after lunch, or even till Monday, this is a safe way to do it without taking up much disk space.