Skip to content

Inverted color scale #240

Open
Open
@CommonClimate

Description

@CommonClimate

This is my first issue here and I first want to congratulate xeofs' contributors for a tremendously useful and usable package.

Describe the bug
The color scale in
this xeof tutorial is opposite the general expectation.

Expected behavior
It is well-known to physicists that blue stars burn hotter than red stars; more generally, red light has a lower energy than blue light. Nevertheless, most people on this Earth expect cold water to come out of the blue tap, and warm water to come out of the red tap. Accordingly, the color scale in the example cited above behaves contrary to expectations, with blue = warm, and red = cold. It is easy enough to invert the color scale by passing kwargs = {"cmap": "RdBu_r", "transform": PlateCarree()}, but that is not very intuitive.

Can anyone explain why the code behaves in this counter-intuitive way?

Desktop (please complete the following information):

  • MacOS Sonoma 14.6.1 (23G93)
  • xeofs version [e.g. 3.0.4]

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions