Changeset 1935 in lmdz_wrf


Ignore:
Timestamp:
Jul 16, 2018, 4:46:46 PM (6 years ago)
Author:
lfita
Message:

Adding discrete colors for: MODIFIED_IGBP_MODIS_NOAH land types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r1930 r1935  
    676732: ['High Intensity Residential', 'k', (0.7, 0.7, 0.7, 1.)], \
    686833: ['Industrial or Commercial', 'k', (0.9, 0.9, 0.9, 1.)]}
     69
     70# MODIFIED_IGBP_MODIS_NOAH land types
     71modigbpmodisnoahcolors = {1: ['Evergreen Needleleaf Forest', 'g', (0.8, 0.9, 0.8, 1.)], \
     722: ['Evergreen Broadleaf Forest', 'g', (0.85, 0.8, 0.85, 1.)], \
     733: ['Deciduous Needleleaf Forest', 'g', (0.75, 0.8, 0.75, 1.)], \
     744: ['Deciduous Broadleaf Forest', 'g', (0.77, 0.8, 0.77, 1.)], \
     755: ['Mixed Forests', 'g', (0.7, 0.9, 0.8, 1.)], \
     766: ['Closed Shrublands', 'g', (0.6, 0.75, 0.6, 1.)], \
     777: ['Open Shrublands', 'g', (0.65, 0.75, 0.65, 1.)], \
     788: ['Woody Savannas', 'g', (0.35, 0.7, 0.35, 1.)], \
     799: ['Savannas', 'g', (0.30, 0.7, 0.30, 1.)], \
     8010: ['Grasslands', 'g', (0.85, 0.9, 0.85, 1.)], \
     8111: ['Permanent wetlands', 'g', (0.65, 0.65, 0.8, 1.)], \
     8212: ['Croplands', 'g', (0.80, 0.9, 0.80, 1.)], \
     8313: ['Urban and Built-Up', 'k', (0.09, 0.09, 0.09, 1.)], \
     8414: ['cropland/natural vegetation mosaic', 'g', (0.70, 0.9, 0.70, 1.)], \
     8515: ['Snow and Ice', 'w', (0.90, 0.9, 0.90, 1.)], \
     8616: ['Barren or Sparsely Vegetated', 'w', (0.20, 0.6, 0.20, 1.)], \
     8717: ['Water', 'g', (0.1, 0.1, 0.99, 1.)], \
     8818: ['Wooded Tundra', 'g', (0.7, 0.7, 0.1, 1.)], \
     8919: ['Mixed Tundra', 'g', (0.65, 0.65, 0.1, 1.)], \
     9020: ['Barren Tundra', 'g', (0.45, 0.45, 0.1, 1.)], \
     9121: ['Unassigned', 'w', (0.05, 0.05, 0.05, 1.)], \
     9222: ['Unassigned', 'w', (0.05, 0.05, 0.05, 1.)], \
     9323: ['Unassigned', 'w', (0.05, 0.05, 0.05, 1.)], \
     9424: ['Unassigned', 'w', (0.05, 0.05, 0.05, 1.)], \
     9525: ['Unassigned', 'w', (0.05, 0.05, 0.05, 1.)], \
     9626: ['Unassigned', 'w', (0.05, 0.05, 0.05, 1.)], \
     9727: ['Unassigned', 'w', (0.05, 0.05, 0.05, 1.)], \
     9828: ['Unassigned', 'w', (0.05, 0.05, 0.05, 1.)], \
     9929: ['Unassigned', 'w', (0.05, 0.05, 0.05, 1.)], \
     10030: ['Unassigned', 'w', (0.05, 0.05, 0.05, 1.)], \
     10131: ['Low Intensity Residential', 'k', (0.10, 0.1, 0.1, 1.)], \
     10232: ['High Intensity Residential', 'k', (0.05, 0.05, 0.05, 1.)], \
     10333: ['Industrial or Commercial', 'k', (0.15, 0.15, 0.15, 1.)]}
    69104
    70105ncolorsauto = ['r', 'g', 'b', 'c', 'm', 'y', 'k', 'w', \
Note: See TracChangeset for help on using the changeset viewer.