Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  ENVI API  >  Save Custom File Readers

ENVI

Save Custom File Readers

Save Custom File Readers

To ensure cross-platform compatibility, name your custom file readers with all lower-case characters.

Save the file to one of the locations below. When ENVI starts, it searches these locations (and their subfolders) to find custom file readers:

Name

Location

Search Order

Access

Description

ENVI_CUSTOM_CODE

User-defined

1

User

An optional user-accessible location defined by an environment variable. This option is useful for installing shared custom file readers in environments where the installation directory is not accessible.

Install directory

Install_Dir/ENVIxx/custom_code

2

Admin

This is the preferred location for deploying custom file readers accessible by all users. However, administrator (admin) privileges are required to deploy here.

Preferences directory

user_home/.idl/envi/custom_codex_x

3

User

A folder underneath the application user directory. Custom file readers placed here are only accessible by the user account under which they were installed.

You can change this directory using the Custom Code Directory entry in the ENVI Preferences dialog.

If multiple definitions of the same file are discovered in different locations, the first one discovered following the search order previously described will be used.

If a routine called by the custom file reader resides in a directory defined by !PATH, that file will be used first before ENVI searches any other location.

Note: Issue the .RESET_SESSION command if you add a custom file reader to one of the previous directories and want it to be available in the current session.



© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us