MetaDict

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

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.

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]

Override .get() indexing.

has_key(key)[source]

Override .has_key() to perform case-insensitively.

pop(key, default=None)[source]

Override .pop() to perform case-insensitively.

setdefault(key, default=None)[source]

Override .setdefault() to perform case-insensitively.

update(d2)[source]

Override .update() to perform case-insensitively.