Project

General

Profile

Bug #13401

Support #13811: PyCAMA L2QC Reporting Bugs

Collapsed plots

Added by Klaus-Peter Heue 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
11/07/2018
Due date:
% Done:

100%


Description

In the PYCAMA reports for O3 (NRTI (fig.21) and OFFL) but also for the Cloud and AER-AI (fig.14) products some histograms are collapsed to just one line (y-axes), see attached plot.
In most cases the plots are expected to show histograms of error related data (RMS or precision). The error occured after the last plot update (NRTI O3 dat 14-10-2018).

Screenshot_20181107_095750.png View - Figure 14 Aer-AI 04-11-2018 (167 KB) Klaus-Peter Heue, 11/07/2018 08:59 AM

History

#1 Updated by Maarten Sneep 11 months ago

This is some bug in Matplotlib, and I can't figure out what is going on. I though I had solved an earlier version of this bug, but only for log scales. Turns out it is still there. Setting the bounding box explicitly didn't help, and stack overflow doesn't have clues. May have to switch to a different version of matplotlib.

#2 Updated by Maarten Sneep 11 months ago

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

Found that the issue is with matplotlib.pyplot.tight_layout(). Removing that call solves the issue, this is done in PyCAMA 0.8.2. This will require a new deployment of PyCAMA at KNMI.

#3 Updated by Maarten Sneep 11 months ago

  • Parent task set to #13811

#4 Updated by Maarten Sneep 11 months ago

  • Status changed from Resolved to Closed

New version of PyCAMA has been installed in IDAF system.

Also available in: Atom PDF