request for help importing raster data w/ negative values.

Joe Vaughan jkv at dust.atmo.arizona.edu
Fri Apr 10 17:12:01 EDT 1992


Hello,
I am trying to use raster files from the Global Ecosystems Database, said files
being in IDRISI type format.  When I import them I use command dd with conv=swab
to swap the bytes, and I can verify that the positive values for the cells are
reasonable, but I am either losing or not seeing the negative values.  I have
tried r.reclass to reclass negative values and positive values alike to a new
scheme of categories.. but still only see zero category and the same new
reclassed positive ( its obvious because I'm looking at elevation and bathymetry data )
cells.  I have also tried to use mapcalc to bias the values to be all greater
than zero, but still don't seem to pick up those categories  which should be
reinterpreted from the negative values.  UNIX od command shows that I do have
negative values in my initial file imported with dd and conv=swab.

Help, suggestions, ideas would be greatly appreciated!

Joe Vaughan

               Joseph K. Vaughan
               University of Arizona
               Institute of Atmospheric Physics
               PAS Bldg, Rm 470
               Tucson, AZ    85721

I can also be reached by return mail on the internet or as
jkv at air.atmo.arizona.edu and by phone at 602/621-9663.




More information about the grass-user mailing list