From dbe55db575a47f17fede3c62862311c4e137c59c Mon Sep 17 00:00:00 2001 From: Brad Hards Date: Thu, 30 Sep 2021 20:40:46 +1000 Subject: [PATCH] fix typo for unknown enumeration --- .../Golden File Outputs/64-sensors_tables.csv | 12 ++++++------ NPIF.py | 2 +- Testing/testPrint_All_Tables_Neat1.txt | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Data checks/Golden File Outputs/64-sensors_tables.csv b/Data checks/Golden File Outputs/64-sensors_tables.csv index b8616d2..d220d28 100644 --- a/Data checks/Golden File Outputs/64-sensors_tables.csv +++ b/Data checks/Golden File Outputs/64-sensors_tables.csv @@ -12,8 +12,8 @@ Count,Source,Table,SA,DFA,F1,F2,F3,Size,Segment,Number,Time Tag,Sync Type,Editio --,Target Security Classification:, --,Required Time on Target:, --,Requested Sensor Type:,FRAMING ---,Requested Sensor Response Band:,0, UNKNOWN EMUMERATION ####**** ---,Requested Collection Technique:,0, UNKNOWN EMUMERATION ####**** +--,Requested Sensor Response Band:,0, UNKNOWN ENUMERATION ####**** +--,Requested Collection Technique:,0, UNKNOWN ENUMERATION ####**** --,Number of Locations:,1 --,Requester Address Index:,0 --,Target Name:,Target0 @@ -15391,8 +15391,8 @@ Count,Source,Table,SA,DFA,F1,F2,F3,Size,Segment,Number,Time Tag,Sync Type,Editio --,Target Security Classification:, --,Required Time on Target:, --,Requested Sensor Type:,FRAMING ---,Requested Sensor Response Band:,0, UNKNOWN EMUMERATION ####**** ---,Requested Collection Technique:,0, UNKNOWN EMUMERATION ####**** +--,Requested Sensor Response Band:,0, UNKNOWN ENUMERATION ####**** +--,Requested Collection Technique:,0, UNKNOWN ENUMERATION ####**** --,Number of Locations:,1 --,Requester Address Index:,0 --,Target Name:,Target0 @@ -31354,8 +31354,8 @@ Count,Source,Table,SA,DFA,F1,F2,F3,Size,Segment,Number,Time Tag,Sync Type,Editio --,Target Security Classification:, --,Required Time on Target:, --,Requested Sensor Type:,FRAMING ---,Requested Sensor Response Band:,0, UNKNOWN EMUMERATION ####**** ---,Requested Collection Technique:,0, UNKNOWN EMUMERATION ####**** +--,Requested Sensor Response Band:,0, UNKNOWN ENUMERATION ####**** +--,Requested Collection Technique:,0, UNKNOWN ENUMERATION ####**** --,Number of Locations:,1 --,Requester Address Index:,0 --,Target Name:,Target0 diff --git a/NPIF.py b/NPIF.py index 328691a..168e67e 100644 --- a/NPIF.py +++ b/NPIF.py @@ -365,7 +365,7 @@ class NPIF(): HDR_LEN = 32 # Length of the Header. Does not include synchronisation field SYNC_LEN = 10 # sync filed length SYNC_FIELD = b"\x0D\x79\xAB\x21\x6F\x34\x1A\x72\xB9\x1C" # value of the sync field - TXT_UNKN_ENUM = "UNKNOWN EMUMERATION ####****" # Text for an unknown enumeration value + TXT_UNKN_ENUM = "UNKNOWN ENUMERATION ####****" # Text for an unknown enumeration value TXT_BAD_DTG = "INVALID DTG ####****" # Text for an invalid Date-Time value TXT_BAD_ASCII = "INVALID ASCII PRESENT ####****" # text for a bad ASCII field (generally with non ASCII characters) TXT_NULL = "" # Text for a NULL value diff --git a/Testing/testPrint_All_Tables_Neat1.txt b/Testing/testPrint_All_Tables_Neat1.txt index 1294c1a..8ab8dc5 100644 --- a/Testing/testPrint_All_Tables_Neat1.txt +++ b/Testing/testPrint_All_Tables_Neat1.txt @@ -145,7 +145,7 @@ Count,Source,Table,SA,DFA,F1,F2,F3,Size,Segment,Number,Time Tag,Sync Type,Editio --,Sensor mode:,ON --,Pixel size:,16 --,Elements per pixel:,8 ---,Data ordering:,4, UNKNOWN EMUMERATION ####**** +--,Data ordering:,4, UNKNOWN ENUMERATION ####**** --,vld orientation:,Port; i.e. value of alpha is negative 13,Sensor Parametric,RADAR Collection Plane Image Geometry,85,66304,0,0,0,33,2,238,305419896,INACTIVE,4 --,Sensor ID Number:,21