<div dir="ltr">Folks:<div><br></div><div>USGS, in their infinite wisdom, decided to embed what is effectively a 1-bit, 16-band byte-interleaved-by-pixel image<span class="inbox-inbox-Apple-converted-space"> </span>into a 16-bit, single-band geotiff for the Landsat quality mask.  I could write some crazy translation program that "reverse engineers" the data, but I was wondering if there is some way to "hack" or translate the file by simply redefining the "header" (change the number type to 1-bit, number of layers to 16, interleave to BIP).  Any suggestions for how to do this?  </div><div><br></div><div>I dropped an example file here:</div><div><br></div><div><a href="https://nevada.box.com/s/1xcqrnyyaym4fbzz3r9pjiv79qh5wblj">https://nevada.box.com/s/1xcqrnyyaym4fbzz3r9pjiv79qh5wblj</a><br></div><div><br></div><div>To be clear, the "displayed" number has no real meaning, the information is embedded into the set of individual bits in each of the 16 positions.</div><div><br></div><div>--j</div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><span>-- </span><br><span>Jonathan A. Greenberg, PhD</span><br>Randall Endowed Professor and Associate Professor of Remote Sensing<br><span>Global Environmental Analysis and Remote Sensing (GEARS) Laboratory</span><br><div>Natural Resources & Environmental Science</div><div><span style="font-family:"helvetica neue",helvetica,arial,sans-serif">University of Nevada, Reno</span></div><div>1664 N Virginia St MS/0186</div><div>Reno, NV 89557</div><span>Phone: <span id="inbox-gc-number-57" class="inbox-gc-cs-link" title="Call with Google Voice">415-763-5476</span></span><br><a href="http://www.unr.edu/nres">http://www.unr.edu/nres</a><br><span>AIM: jgrn307, MSN: <a href="mailto:jgrn307@hotmail.com">jgrn307@hotmail.com</a>, Gchat: jgrn307, Skype: jgrn3007</span><br></div></div>