diff --git a/WVDNewArchitectureUpdate/WVD_Architecture_Update/NetCDFPython/MakeChildFilesV2.py b/WVDNewArchitectureUpdate/WVD_Architecture_Update/NetCDFPython/MakeChildFilesV2.py index aca8b946..5b29941f 100644 --- a/WVDNewArchitectureUpdate/WVD_Architecture_Update/NetCDFPython/MakeChildFilesV2.py +++ b/WVDNewArchitectureUpdate/WVD_Architecture_Update/NetCDFPython/MakeChildFilesV2.py @@ -315,7 +315,7 @@ def processMCSData(FileName,NetCDFOutputPath,Header): VarData ,VariableColumn ,VariableDescription, VariableDimension,VariableName , VariableType , VariableUnit,MPDNum) else: # Some error is reported - print('An error occured when reading the data file.') + print('An error occurred when reading the data file.') #%%################################ MCS Data ################################## def processMCSDataV2(FileName,NetCDFOutputPath,Header): @@ -356,7 +356,7 @@ def processMCSDataV2(FileName,NetCDFOutputPath,Header): VarData ,VariableColumn ,VariableDescription, VariableDimension,VariableName , VariableType , VariableUnit,MPDNum) else: # Some error is reported - print('An error occured when reading the data file.') + print('An error occurred when reading the data file.') #%%################################ MCS Data ################################## def processMCSScanDataV2(FileName,NetCDFOutputPath,Header): @@ -397,7 +397,7 @@ def processMCSScanDataV2(FileName,NetCDFOutputPath,Header): VarData ,VariableColumn ,VariableDescription, VariableDimension,VariableName , VariableType , VariableUnit,MPDNum) else: # Some error is reported - print('An error occured when reading the data file.') + print('An error occurred when reading the data file.') #%%############################### MCS Power ################################## def processMCSPower(FileName,NetCDFOutputPath,Header): @@ -434,7 +434,7 @@ def processMCSPower(FileName,NetCDFOutputPath,Header): VarData ,VariableColumn ,VariableDescription, VariableDimension,VariableName , VariableType , VariableUnit,MPDNum) else: # Some error is reported - print('An error occured when reading the data file.') + print('An error occurred when reading the data file.') #%%############################### MCS Power ################################## def processMCSPowerV2(FileName,NetCDFOutputPath,Header): @@ -471,7 +471,7 @@ def processMCSPowerV2(FileName,NetCDFOutputPath,Header): VarData ,VariableColumn ,VariableDescription, VariableDimension,VariableName , VariableType , VariableUnit,MPDNum) else: # Some error is reported - print('An error occured when reading the data file.') + print('An error occurred when reading the data file.') #%%################################## UPS ##################################### def processUPS(FileName,NetCDFOutputPath,Header): @@ -611,4 +611,4 @@ def makeNetCDF(ThenDate,ThenTime,NowDate,NowTime,LastTime,WarningFile,ErrorFile, writeString = 'WARNING: Failure to process ' + FileType + ' data - ' + \ FileType + ' file = ' + str(File) + ' - ' + str(NowTime) + \ '\n' + str(sys.exc_info()[0]) + '\n\n' - print(writeString) \ No newline at end of file + print(writeString) diff --git a/tempShare/WVDIAL_MCS_testScript.py b/tempShare/WVDIAL_MCS_testScript.py index cfc3653a..18fb9805 100644 --- a/tempShare/WVDIAL_MCS_testScript.py +++ b/tempShare/WVDIAL_MCS_testScript.py @@ -453,7 +453,7 @@ def openSocket(): global sock try: sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) - sock.setsockopt(socket.SOL_SOCKET,socket.SO_RCVBUF,RX_BUFF_LEN) # Set Rx buffer to accomodate pack of 12 histograms (144kB) + sock.setsockopt(socket.SOL_SOCKET,socket.SO_RCVBUF,RX_BUFF_LEN) # Set Rx buffer to accommodate pack of 12 histograms (144kB) sock.settimeout(READBACK_TIMEOUT) # set timeout printAndLog('Socket Rx Buffer: %s Bytes' % str(sock.getsockopt(socket.SOL_SOCKET,socket.SO_RCVBUF))) @@ -1025,4 +1025,4 @@ def main(): return if __name__ == '__main__': - main() \ No newline at end of file + main()