<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head></head>
<body>
<div>I’m not sure now if this image (‘N1467346388_2_CALIB.IMG’) is actually a VICAR image.</div>
<div>The unix `file` command recognizes it as a VICAR image:</div>
<div><br></div>
<div>
<div>❯ file N1467346388_2_CALIB.IMG [3:12:31 PM]</div>
<div>N1467346388_2_CALIB.IMG: VICAR image data</div>
</div>
<div><br></div>
<div>but NASAView’s full label view shows me this:</div>
<div><br></div>
<div>
<div>OBJECT = IMAGE_HEADER<CR><LF></div>
<div> INTERCHANGE_FORMAT = ASCII<CR><LF></div>
<div> HEADER_TYPE = VICAR2<CR><LF></div>
<div> BYTES = 4096<CR><LF></div>
<div> RECORDS = 1<CR><LF></div>
<div> DESCRIPTION = "Original VICAR2 header, updated by CISSCAL.”<CR><LF></div>
</div>
<div><br></div>
<div>So this sounds like maybe a previous VICAR image has been converted to a more standard PDS format?</div>
<div>Maybe Trent knows more about this.</div>
<div><br></div>
<div>Michael</div>
<div><br></div>
<div class="unibox-signature">
— <div>Michael Aye</div>
<div>Cassini UVIS and MAVEN IUVS team</div>
<div>LASP, Boulder CO</div>
</div>
<div><br></div>
<blockquote type="cite" class="unibox-hidden">
<div>On Dec 4, 2014, at 2:47 PM, K.-Michael Aye <kmichael.aye@gmail.com> wrote:</div>
<div><br></div>
<div style="orphans: auto; text-align: start; widows: auto;">Apparently, the PDS reader works in this case, not sure if it would work on all VICAR images?</div>
<div style="orphans: auto; text-align: start; widows: auto;"><br></div>
<div style="orphans: auto; text-align: start; widows: auto;">Currently I’m trying to read Cassini ISS images and before I made the mistake to provide the .IMG file instead of the .LBL file to the reader.</div>
<div style="orphans: auto; text-align: start; widows: auto;">Opening the .LBL label file (that links to the .IMG file) is successful and I get the image out of it. I have confirmed via ds.GetDriver().GetDescription() that the PDS GDAL driver opened the file.</div>
<div style="orphans: auto; text-align: start; widows: auto;"><br></div>
<div style="orphans: auto; text-align: start; widows: auto;">Michael</div>
<div class="unibox-signature" style="orphans: auto; text-align: start; widows: auto;">— <div>Michael Aye</div>
<div>Cassini UVIS and MAVEN IUVS team</div>
<div>LASP, Boulder CO</div>
</div>
<div style="orphans: auto; text-align: start; widows: auto;"><br></div>
<blockquote type="cite" class="" style="orphans: auto; text-align: start; widows: auto;">
<div>On Dec 4, 2014, at 12:23 PM, Hare, Trent <thare@usgs.gov> wrote:</div>
<div><br></div>
<div dir="ltr" style="orphans: auto; text-align: start; widows: auto;">Michael,<div> Yes - Sebastian Walters created one. I'm not clear if the driver will be pushed into the public version of GDAL? I know it is being used by the HRSC Team to convert to their VICAR products to GeoTiff (DEMs) and Jpeg2000.(images). If it does get pushed into GDAL then I would recommend the gdal/frmts/pds/ directory alongside other like formats.<div>
<div><br></div>
<div>see page: 185</div>
<div>
<a href="http://pubs.usgs.gov/of/2014/1056/pdf/ofr2014-1056.pdf">http://pubs.usgs.gov/of/2014/1056/pdf/ofr2014-1056.pdf</a><br>
</div>
<div>from: <a href="http://pubs.er.usgs.gov/publication/ofr20141056">http://pubs.er.usgs.gov/publication/ofr20141056</a>
</div>
<div><br></div>
<div>Probably worth asking Sebastian his intentions.</div>
<div><br></div>
<div>Regards,</div>
<div>Trent</div>
</div>
</div>
</div>
<div class="gmail_extra" style="orphans: auto; text-align: start; widows: auto;">
<br><div class="gmail_quote">On Thu, Dec 4, 2014 at 12:21 PM, Frank Warmerdam<span dir="ltr"><<a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a>></span>wrote:<br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;">
<div dir="ltr">Michael,<div><br></div>
<div>I thought it existed, but digging around in the formats directory it appears not to. It would be nice to add.</div>
<div><br></div>
<div>Best regards,</div>
<div>Frank</div>
<div><br></div>
<div><br></div>
</div>
<div class="gmail_extra">
<br><div class="gmail_quote">
<div><div class="h5">On Thu, Dec 4, 2014 at 11:12 AM, K.-Michael Aye<span dir="ltr"><<a href="mailto:kmichael.aye@gmail.com" target="_blank">kmichael.aye@gmail.com</a>></span>wrote:<br>
</div></div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;">
<div><div class="h5">
<u></u><div>
<div>Hello all,</div>
<div><br></div>
<div>Has anybody worked on implementing a VICAR reader yet? </div>
<div><br></div>
<div><a href="http://www-mipl.jpl.nasa.gov/external/vicar.html" target="_blank">http://www-mipl.jpl.nasa.gov/external/vicar.html</a></div>
<div><br></div>
<div>It’s pretty important for a bit older NASA data.</div>
<div><br></div>
<div>Regards,</div>
<div>Michael</div>
<div><br></div>
<div>— <div>Michael Aye</div>
<div>Cassini UVIS and MAVEN IUVS team</div>
<div>LASP, Boulder CO</div>
</div>
</div>
<br>
</div></div>_______________________________________________<br>gdal-dev mailing list<br><a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><span class="HOEnZb"><font color="#888888"><br></font></span>
</blockquote>
</div>
<span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>--<br><div>---------------------------------------+--------------------------------------<br>I set the clouds in motion - turn up | Frank Warmerdam,<a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>light and sound - activate the windows |<a href="http://pobox.com/~warmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush | Geospatial Software Developer<br>
</div></font></span>
</div>
<br>_______________________________________________<br>gdal-dev mailing list<br><a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote>
</div>
</div>
</blockquote>
<br class="Apple-interchange-newline">
</blockquote>
</body>
</html>