Collection.Index

class pcraster.collection.Index(values)

This class introduces the index type

Parameters:

values

list of array-index names. The names must be CamelCased

Example:

PlantSpecies = Index([ “Species1”, “Species2”, “Species3” ])

This introduces the index type ‘PlantSpecies’. PlantSpecies (the type) has three names of type array-index: Species1, Species2 and Species3.