MetaDict

class sunpy.util.MetaDict(*args)[source] [edit on github]

Bases: collections.OrderedDict

A class to hold metadata associated with a sunpy.map.Map derivative.

This class handles everything in lower case. This allows case insensitive indexing.

Creates a new MapHeader instance.

Methods Summary

get(key[, default])

Override .get() indexing.

has_key(key)

Override .has_key() to perform case-insensitively.

pop(key[, default])

Override .pop() to perform case-insensitively.

setdefault(key[, default])

Override .setdefault() to perform case-insensitively.

update(d2)

Override .update() to perform case-insensitively.

Methods Documentation

get(key, default=None)[source] [edit on github]

Override .get() indexing.

has_key(key)[source] [edit on github]

Override .has_key() to perform case-insensitively.

pop(key, default=None)[source] [edit on github]

Override .pop() to perform case-insensitively.

setdefault(key, default=None)[source] [edit on github]

Override .setdefault() to perform case-insensitively.

update(d2)[source] [edit on github]

Override .update() to perform case-insensitively.