X

NV5 Geospatial Blog

Each month, NV5 Geospatial posts new blog content across a variety of categories. Browse our latest posts below to learn about important geospatial information or use the search bar to find a specific topic or author. Stay informed of the latest blog posts, events, and technologies by joining our email list!



13975 Rate this article:
4.5

Saving and Restoring ENVI Sessions

Anonym

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.

The mechanics of the save are quite simple; ENVI stores all of the open layers, files, ROIs, vectors, etc... in a text file in Javascript Object Notation Format (or JSON). All of the properties of layers like bands loaded, brightness, and transparency are all saved as well. This way, when you restore a previous session, ENVI knows the steps to take to get back to the state you were in during the save. I like it. Elegant, and simple. To get more info on how to use Save / Restore session head to the page in our documentation center.

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 are very 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?

  1. The two raster files in the display with the same band combination and properties
  2. The Region of Interest over the building
  3. The text annotation "SAVE ALL"
  4. The portal, and portal location
  5. 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.

Please login or register to post comments.
«May 2025»
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567
Digital Number, Radiance, and...

Number of views (168874)

Push Broom and Whisk Broom Sensors

Number of views (149961)

The Many Band Combinations of Landsat 8

Number of views (118078)

What Type of Loop Should I Use?

Number of views (78321)

Mapping Coastal Erosion Using LiDAR

Number of views (58308)