44 * Implementation of functions to read individual FITS tables and
55 * write to data structures in memory.
66 *
7- * Copyright (C) 2007, 2015 John Young
7+ * Copyright (C) 2007, 2015-2017 John Young
88 *
99 *
1010 * This file is part of OIFITSlib.
@@ -509,8 +509,8 @@ static STATUS read_oi_inspol_chdu(fitsfile *fptr, oi_inspol *pInspol,
509509 fits_read_key (fptr , TSTRING , "MODEL" , pInspol -> model , NULL , pStatus );
510510 /* get dimensions and allocate storage */
511511 fits_get_num_rows (fptr , & nrows , pStatus );
512- /* note format specifies same repeat count for L * columns = nwave */
513- fits_get_colnum (fptr , CASEINSEN , "LXX " , & colnum , pStatus );
512+ /* note format specifies same repeat count for J * columns = nwave */
513+ fits_get_colnum (fptr , CASEINSEN , "JXX " , & colnum , pStatus );
514514 fits_get_coltype (fptr , colnum , NULL , & repeat , NULL , pStatus );
515515 if (* pStatus ) return * pStatus ;
516516 alloc_oi_inspol (pInspol , nrows , repeat );
@@ -528,18 +528,18 @@ static STATUS read_oi_inspol_chdu(fitsfile *fptr, oi_inspol *pInspol,
528528 fits_get_colnum (fptr , CASEINSEN , "MJD_END" , & colnum , pStatus );
529529 fits_read_col (fptr , TDOUBLE , colnum , irow , 1 , 1 , NULL ,
530530 & pInspol -> record [irow - 1 ].mjd_end , & anynull , pStatus );
531- fits_get_colnum (fptr , CASEINSEN , "LXX " , & colnum , pStatus );
531+ fits_get_colnum (fptr , CASEINSEN , "JXX " , & colnum , pStatus );
532532 fits_read_col (fptr , TDOUBLE , colnum , irow , 1 , pInspol -> nwave , NULL ,
533- pInspol -> record [irow - 1 ].lxx , & anynull , pStatus );
534- fits_get_colnum (fptr , CASEINSEN , "LYY " , & colnum , pStatus );
533+ pInspol -> record [irow - 1 ].jxx , & anynull , pStatus );
534+ fits_get_colnum (fptr , CASEINSEN , "JYY " , & colnum , pStatus );
535535 fits_read_col (fptr , TDOUBLE , colnum , irow , 1 , pInspol -> nwave , NULL ,
536- pInspol -> record [irow - 1 ].lyy , & anynull , pStatus );
537- fits_get_colnum (fptr , CASEINSEN , "LXY " , & colnum , pStatus );
536+ pInspol -> record [irow - 1 ].jyy , & anynull , pStatus );
537+ fits_get_colnum (fptr , CASEINSEN , "JXY " , & colnum , pStatus );
538538 fits_read_col (fptr , TDOUBLE , colnum , irow , 1 , pInspol -> nwave ,
539- NULL , pInspol -> record [irow - 1 ].lxy , & anynull , pStatus );
540- fits_get_colnum (fptr , CASEINSEN , "LYX " , & colnum , pStatus );
539+ NULL , pInspol -> record [irow - 1 ].jxy , & anynull , pStatus );
540+ fits_get_colnum (fptr , CASEINSEN , "JYX " , & colnum , pStatus );
541541 fits_read_col (fptr , TDOUBLE , colnum , irow , 1 , pInspol -> nwave , NULL ,
542- pInspol -> record [irow - 1 ].lyx , & anynull , pStatus );
542+ pInspol -> record [irow - 1 ].jyx , & anynull , pStatus );
543543 fits_get_colnum (fptr , CASEINSEN , "STA_INDEX" , & colnum , pStatus );
544544 fits_read_col (fptr , TINT , colnum , irow , 1 , 1 , NULL ,
545545 & pInspol -> record [irow - 1 ].sta_index , & anynull , pStatus );
0 commit comments