planetarypy / planetaryimage

Python PDS and Isis Cube file parser.
BSD 3-Clause "New" or "Revised" License
39 stars 20 forks source link

Special Pixels #55

Open jlaura opened 8 years ago

jlaura commented 8 years ago

Should the these high special pixels be positive?

wtolson commented 8 years ago

I don't believe so. This is the relevant excerpt from SpecialPixel.h in the isis code base:

  // 2-byte signed special pixel values
  const short VALID_MIN2     = ((short)(-32752));
  const short NULL2          = ((short)(-32768));
  const short LOW_REPR_SAT2  = ((short)(-32767));
  const short LOW_INSTR_SAT2 = ((short)(-32766));
  const short HIGH_INSTR_SAT2 = ((short)(-32765));
  const short HIGH_REPR_SAT2  = ((short)(-32764));
  const short VALID_MAX2      = ((short)   32767);
wtolson commented 8 years ago

If you looking in the source, the file is isis/src/base/objs/SpecialPixel/SpecialPixel.h.