<div dir="ltr"><span style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">Hi,</span><br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px"><br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">
<span style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">I would like to accomplish the following with CFITSIO:</span><br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px"><br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">
<span style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">- get the byte offset from the start of the file to HDU x</span><br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px"><span style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">- get the byte offset for the start of data (image or table) for HDU x</span><br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">
<span style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">- if an HDU is a table, get the length in bytes for each row such that I can compute the byte offset from the start of the HDU (or table, or file) to each row in the table (is this possible given variable length rows?)</span><br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">
<br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px"><span style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">Is this possible now, and if not, how can it be done?</span><br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">
<br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px"><span style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">Cheers,</span><br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px"><span style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">Demitri</span><br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">
<br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px"><span style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">_________________________________________</span><br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">
<span style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">Demitri Muna</span><br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px"><br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px"><span style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">Department of Astronomy</span><br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">
<span style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">Ohio State University</span><br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px"><br style="color:rgb(0,0,0);font-family:GillSans;font-size:13px">
<a href="http://scicoder.org/" style="font-family:GillSans;font-size:13px">http://scicoder.org/</a><br></div>