Changeset 7bc034f in ammosreader


Ignore:
Timestamp:
08/14/23 13:59:36 (22 months ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
guix
Children:
6da9b03
Parents:
0b489f2
Message:

fix typo

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ammosreader/PDW.py

    r0b489f2 r7bc034f  
    3333
    3434        nanoseconds = (parts[0])
     35        print(nanoseconds)
    3536        unix_time = np.datetime64('now', 'ns').astype(int)
     37        print(unix_time)
    3638        if nanoseconds >= unix_time:
    3739            raise OverflowError("Timestamp invalid")
     
    254256                'ELEVATION': self.elevation,
    255257                'AZIMUTH': self.azimuth,
    256                 'CHANNEL': self.channel
     258                'CHANNEL': self.channel,
    257259                'UUID': uuid.uuid4()
    258260                }       
  • scripts/pdw_reader.py

    r0b489f2 r7bc034f  
    2424            current_pdw = PDW.from_bytes(current_bytes)
    2525            print(current_pdw)
     26
     27if __name__ == '__main__':
     28        main()
Note: See TracChangeset for help on using the changeset viewer.