get_lan_record

Source: io/get_lan_record.pro

 GET_LAN_RECORD
        Read the next record from a HISCALE data file, opening a new
        file if needed.

 Usage:
        iget = get_lan_record(hds, dds, iy, id, icontinue[, $
                 only=only])

 Return Value:
        iget    int     > 0, record code. 0 soft end, -ve hard end

 Arguments:
        hds     output  Structure       The ULA record header from the record
        dds     output  structure       The main body of the record.
        tlimits input   double          The jd of the data start & end.
        arch_spec input structure       The specification of the
                                        ARCHIVE type.
        icontinue in/out  byte          Set if a read has started.
                                        N.B. This argument must be
                                        present in the call else a new
                                        read will start each time.

 Keywords:
        only    input   string  Only return records of the given type.

 History:
        Original (extracted from ACQUIRE_DATA etc): 13/8/93; SJT
        Remove toggling of monitor mode: 28/8/94; SJT
        Make search from previous day if start is in first hour:
        21/10/94; SJT
        Modify end of data criteria: 24/10/94; SJT
        Fix possible infinite loop: 7/11/94; SJT
        Fix for dates beyond 2000: 1/12/95; SJT



James Tappin 2005-02-04