- changed status to resolved
Scaling with unit_scale does not work for the vertical plots in all cases
Issue #68
resolved
A follow-up to Issue #67
As a solution to Issue #67 the scaling factor unit_scale was introduced also in the vertical plots.
However, in the case of some datasets, here e.g. "mole_fraction_of_sulfur_dioxide_in_air" in the CAMS data set, the color bar number range determined by
cmin, cmax = Targets.get_range(self.dataname)
in mpl_vsec_styles is not defined, cmin, cmax = None
Therefore, if such plots are requested, the server returns an internal server error.
It has to be checked, whether the variables cmin or cmax are None. The scaling would then be determined by curtain_cc.min(), curtain_cc.max().
The scaling should be tested for all parameters and colour bar settings, (also for species e.g. H2O, that are present in different data files)
Comments (1)
-
- Log in to comment
include check whether variables cmin, cmax are None fixes
#68→ <<cset d0758c659aea>>