Ensure no warnings are emitted when importing the "colour.plotting" sub-package.
@@ -18,6 +18,7 @@ from __future__ import division, unicode_literals
from colour.algebra import LinearInterpolator
from colour.colorimetry import SpectralPowerDistribution
+from colour.utilities import suppress_warnings
__author__ = 'Colour Developers'
__copyright__ = 'Copyright (C) 2013-2018 - Colour Developers'
@@ -6049,6 +6050,7 @@ ASTM_G_173_DIRECT_CIRCUMSOLAR_DATA = {
}
# yapf: enable
+with suppress_warnings():
ASTM_G_173_ETR = SpectralPowerDistribution(
ASTM_G_173_ETR_DATA,
name='ASTM G-173 ETR',
@@ -6069,8 +6071,8 @@ ASTM_G_173_GLOBAL_TILT = SpectralPowerDistribution(
name='ASTM G-173 Global Tilt',
interpolator=LinearInterpolator)
"""
-Spectral radiation from solar disk plus sky diffuse and diffuse reflected from
-ground on south facing surface tilted 37 degrees from horizontal.
+ Spectral radiation from solar disk plus sky diffuse and diffuse reflected
+ from ground on south facing surface tilted 37 degrees from horizontal.
References
----------
@@ -6084,11 +6086,12 @@ ASTM_G_173_DIRECT_CIRCUMSOLAR = SpectralPowerDistribution(
name='ASTM G-173 Direct + Circumsolar',
interpolator=LinearInterpolator)
"""
-Direct Normal Irradiance Nearly parallel (0.5 degrees divergent cone) radiation
-on surface with surface normal tracking (pointing to) the sun, excluding
-scattered sky and reflected ground radiation plus spectral irradiance within
-+/- 2.5 degrees (5 degrees diameter) field of view centered on the 0.5 degrees
-diameter solar disk, but excluding the radiation from the disk.
+ Direct Normal Irradiance Nearly parallel (0.5 degrees divergent cone)
+ radiation on surface with surface normal tracking (pointing to) the sun,
+ excluding scattered sky and reflected ground radiation plus spectral
+ irradiance within +/- 2.5 degrees (5 degrees diameter) field of view
+ centered on the 0.5 degrees diameter solar disk, but excluding the
+ radiation from the disk.
References
----------
