Closed SpacemanPaul closed 3 years ago
InSAR uses "mpl_ramp": "RdBu_r",
, this seems to be working.
InSAR uses
"mpl_ramp": "RdBu_r",
, this seems to be working.
Really? That is very odd.
ows_1 | [2020-11-19 22:48:46,340] datacube_ows.ows_configuration [None] [ERROR] Could not parse layer: Invalid Matplotlib name: gist_earth_r
ows_1 | [2020-11-19 22:48:46,692] datacube_ows.ows_configuration [None] [ERROR] Could not parse layer: Invalid Matplotlib name: gist_earth_r
False alarm! The problem was a config typo - trailing whitespace.
The matplotlib API generally supports a "_r" suffix for colour ramp names to access the reversed ramps. This does not currently work with the way we extract colour ramps from the API.