Skip to content

Date does not hold hour, minute and second info

Date does not hold hour, minute and second info.
Example in itsa/lib/read_cat.py:

def read_antenna(stadb_path, code):
[...]
                date = np.array(s_line[2].split('-'), dtype=int)
                t.append(cal2decyear(date[2], date[1], date[0]))

The hour, minute and second data is in the s_line[3] field in this case and is just simply ignored in the code.
It is required in PBO offset files.
Is it sensible to discard it this way?

Edited by Oliver Henriot