Dear Peg Thanxs for the info but I still could not accomplish the task.
The original header file is given below:
ENVI
description = {
File Resize Result, x resize factor: 1.000000, y resize factor: 1.000000.
[Tue Oct 22 14:11:03 2002] EURASIA LAND COVER IGBP Ver2.0}
samples = 4482
lines = 3843
bands = 1
header offset = 0
file type = ENVI Classification
data type = 1
interleave = bsq
sensor type = Unknown
classes = 18
class lookup = {
0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 255, 255, 0,
0, 255, 255, 255, 0, 255, 176, 48, 96, 46, 139, 87, 160, 32, 240,
255, 127, 80, 127, 255, 212, 218, 112, 214, 160, 82, 45, 127, 255, 0,
216, 191, 216, 238, 0, 0, 205, 0, 0}
class names = {
Unclassified, Evergreen NeedleLeaf Forest, Evergreen Broadleaf Forest,
Deciduous Needleleaf Forest, Deciduous Broadleaf Forest, Mixed Forest,
Closed Shrublands, Open Shrublands, Woody Savannas, Savannas, Grasslands,
Permanent Wetlands, Croplands, Urban and Built-Up,
Cropland/Natural Vegetation Mosaic, Snow and Ice,
Barren or Sparsely Vegetated, Water Bodies}
byte order = 0
map info = {Sample Interrupted Goode, 1.0000, 1.0000, 6223500.0000, 4442500.0000, 1000.00000000, 1000.00000000, WGS-84, units=Meters}
projection info = {24, 6370997.0, WGS-84, Sample Interrupted Goode, units=Meters}
band names = {
Resize (Band 1:eaigbp2_0g.img)}
I added the ESRI Projection manually from file EnviPEProjcsStrings.txt and now it looks like:
ENVI
description = {
File Resize Result, x resize factor: 1.000000, y resize factor: 1.000000.
[Tue Oct 22 14:11:03 2002] EURASIA LAND COVER IGBP Ver2.0}
samples = 4482
lines = 3843
bands = 1
header offset = 0
file type = ENVI Classification
data type = 1
interleave = bsq
sensor type = Unknown
classes = 18
class lookup = {
0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 255, 255, 0,
0, 255, 255, 255, 0, 255, 176, 48, 96, 46, 139, 87, 160, 32, 240,
255, 127, 80, 127, 255, 212, 218, 112, 214, 160, 82, 45, 127, 255, 0,
216, 191, 216, 238, 0, 0, 205, 0, 0}
class names = {
Unclassified, Evergreen NeedleLeaf Forest, Evergreen Broadleaf Forest,
Deciduous Needleleaf Forest, Deciduous Broadleaf Forest, Mixed Forest,
Closed Shrublands, Open Shrublands, Woody Savannas, Savannas, Grasslands,
Permanent Wetlands, Croplands, Urban and Built-Up,
Cropland/Natural Vegetation Mosaic, Snow and Ice,
Barren or Sparsely Vegetated, Water Bodies}
byte order = 0
band names = {
Resize (Band 1:eaigbp2_0g.img)}
map info = {World_Goode_Homolosine_Land, 1.0000, 1.0000, 6223500.0000, 4442500.0000, 1000.00000000, 1000.00000000, WGS-84, units=Meters}
coordinate system string =
coordinate system string =
{PROJCS["World_Goode_Homolosine_Land",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],
UNIT["Degree",0.0174532925199433]],PROJECTION["Goode_Homolosine"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",0.0],
PARAMETER["Option",1.0],UNIT["Meter",1.0]]}
******************
When I open it in ENVI I get following two errors:
1. Problem: No carriage returns found. Unable to read this file as an ASCII file.
2. Problem: An unknown projection has been referenced in the map projection. Unable to use.
Can you help in finding the fault in this header?
Vinay Sehgal
|