<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted2">
>From a Google search: <br>
<div>
<div tabindex="0" class="dnXCYb" data-hveid="CBYQAQ"><span class="aj35ze" style="transform:rotateZ(-180deg)"></span>
<div class="L3Ezfd" data-ved="2ahUKEwiS4ZqXrJ3_AhW5D1kFHfFMC2EQuk56BAgWEAI" style="visibility:hidden">
</div>
</div>
</div>
<div class="bCOlv" data-ved="2ahUKEwiS4ZqXrJ3_AhW5D1kFHfFMC2EQ7NUEegQIFhAE" style="display:block">
<div class="IZE3Td">
<div class="t0bRye r2fjmd" data-hveid="CBYQBQ" data-ved="2ahUKEwiS4ZqXrJ3_AhW5D1kFHfFMC2EQu04oAHoECBYQBQ">
<div>
<div class="wDYxhc" data-md="61" style="clear:none"><span class="LGOjhe" data-attrid="wa:/description" data-hveid="CBMQAA"><span class="ILfuVd" lang="en"><span class="hgKElc ContentPasted0">A CCSDS packet is
<b class="ContentPasted0">made of three parts: a primary header, a secondary header, and a data section</b>. In most cases (but not all), the information contained in the data section of the PicSat packets can be read bytewise.</span></span></span></div>
</div>
</div>
</div>
</div>
<br>
I don't know anything about CCSDS, but it sounds as if you could use the FILEHEADER option in a GrADS descriptor file to bypass the headers and just read the data section. If you are doing any file templating, then the sizes of those headers would have to be
 consistent for every file. <br>
--Jennifer<br>
<br>
>From the doc page:<br>
<br>
<table class="plaintext" id="tableSelected0" width="600">
<tbody class="ContentPasted1">
<tr class="ContentPasted1">
<td>
<p class="ContentPasted1"><a class="ContentPasted1"><b>FILEHEADER</b> <i>length</i></a>
</p>
</td>
<td width="74" valign="top" align="right"><a href="http://cola.gmu.edu/grads/gadoc/descriptorfile.html#TOP" class="item9 ContentPasted1" data-loopstyle="link">back to top</a></td>
</tr>
<tr class="ContentPasted1">
<td colspan="2" class="ContentPasted1">This optional entry tells GrADS that your data file has a header record of
<em class="ContentPasted1">length</em> bytes that precedes the data. GrADS will skip past this header, then treat the remainder of the file as though it were a normal GrADS binary file after that point. This optional descriptor file entry is only valid for
 GrADS gridded data sets. </td>
</tr>
</tbody>
</table>
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> gradsusr <gradsusr-bounces@gradsusr.org> on behalf of Chona S Guiang <Chona.S.Guiang@ibm.com><br>
<b>Sent:</b> Tuesday, May 30, 2023 11:15 AM<br>
<b>To:</b> gradsusr@gradsusr.org <gradsusr@gradsusr.org><br>
<b>Cc:</b> Joseph Koval <jkoval@us.ibm.com><br>
<b>Subject:</b> [gradsusr] How to build support for CCSDS packing</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Apologies if this has been asked before, but I didn't see the answer to my question in the 2022-2023 archives.</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Is there a way to get grads to read CCSDS-packed data? Thanks in advance.</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
-Chona </div>
</div>
</body>
</html>