Project

General

Profile

Bug #1227

'KeyError' exception when there is no valid data in a run

Added by Maarten Sneep over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
04/28/2017
Due date:
% Done:

100%


Description

From the VT_07 rerun data:

O3__PR & O3_TPR:
2017-04-28T13:53:35.751004 pc170012.knmi.nl PyCAMA 0.3.3 [0000031693]: [W] Caught an unexpected exception
2017-04-28T13:53:35.751087 pc170012.knmi.nl PyCAMA 0.3.3 [0000031693]: [E] 'noscanline'
2017-04-28T13:53:35.782583 pc170012.knmi.nl PyCAMA 0.3.3 [0000031693]: [I] Processing time: 5.1 seconds
2017-04-28T13:53:35.782683 pc170012.knmi.nl PyCAMA 0.3.3 [0000031693]: [I] Errors: 1, warnings: 306
2017-04-28T13:53:35.782782 pc170012.knmi.nl PyCAMA 0.3.3 [0000031693]: [I] Stopping with exit code: 255
Traceback (most recent call last):
  File "/usr/people/sneep/PyCAMA/pycama/src/pycama/CAMA_call.py", line 179, in main
    processor.dump(jo.output_file)
  File "/usr/people/sneep/PyCAMA/pycama/src/pycama/AlongTrackPlot.py", line 188, in dump
    if self.variables[key]['noscanline']:
KeyError: 'noscanline'

History

#1 Updated by Maarten Sneep over 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Changed check on 'noscanline' key.

#2 Updated by Maarten Sneep over 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF