This routine is obsolete and has been replaced with ENVIRasterMetadata.
Use this function to get a string or integer value of a particular sensor type. Inputting a string sensor type returns the corresponding integer value. The predefined sensor types are shown below, and you can also add sensor types to the file sensor.txt in the menu directory of the release tree.
Syntax
Result = ENVI_SENSOR_TYPE(Sensor_type)
Arguments
Sensor_type
Sensor_type can be either an integer or a string. If Sensor_type is an integer, the function returns the string-format description of the sensor type specified. If Sensor_type is a string, the function returns the integer code describing the sensor type specified.
Integer codes change each time a new sensor type is added to ENVI Classic, so the codes are not listed here.
The string descriptors are case-sensitive and may contain spaces. Following is a list of valid string descriptors for Sensor_type:
AATSR, ADAR, ADEOS, ADRG, Air Photo, AIRSAR, AISA, ALOS, ASAR, ASTER, AVHRR, AVIRIS, CARTOSAT-1, CASI, COSMO-SkyMed, DMSP, EROS, ERS, GeoEye-1, GER63, GEOSCAN, HYDICE, HyMap, Hyperion, IKONOS, IRS LISSIII, IRS Pan, IRS WIFS, KOMPSAT-2, JERS-1, Landsat ETM, Landsat MSS, Landsat TM, MAS, MASTER, MERIS, MIVIS, MODIS, MOMS-02, OrbView-3, QuickBird, RADARSAT, RADARSAT-2, RapidEye, Scanned Image, SEAWIFS, SEBASS, SIR-C, SPIN-2, SPOT, TIMS, TMS, TRWIS III, USGS DEM, WorldView, X-SAR