oggm_edu.GlacierCollection.fill

Sur cette page

oggm_edu.GlacierCollection.fill#

GlacierCollection.fill(glacier, n, attributes_to_change=None, ids=None)#

Fill the collection with a desired number of glaciers.

Parameters:
glacierGlacier

Initial glacier, to base the rest of the collection on.

nint

Specify number of glaciers in the collection.

attributes_to_changedict

Dictionary where key value pairs correspond to the attribute and values to be assigned each glacier. See GlacierCollection.change_attributes for more.

idslist

List of ids for the new glaciers.