Skip to content

How to change colorbars ? #2

@rousseletL

Description

@rousseletL

Even though we tried to include as much colorblind-friendly colorbars as we could some users might need/want to customize the colorbars for each satellite product. The colorbar option for each product are set in the Fields.py file. In the following, please find the guidelines to change colorbars:

  • Open src/Fields.py
  • Find the product class: class *Product_name*():
  • Modify self.cmap = with the chosen colorbar code.

Example for Copernicus PHY product:
Image

Several modules for colormaps are already included in SPASSO such as Matplotlib.cm, cmocean or blind. If users wants to use customized module colormaps, one needs to import the new module in Fields.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions