earthkit.data.utils.summary

Classes

BUFRHtmlTree

BUFRTree

Restructures the result of the bufr_dump ecCodes command.

DataDescriber

NamespaceDump

dict() -> new empty dictionary

Functions

drop_unwanted_series(df[, key, axis])

format_describe(attributes, *args, **kwargs)

format_list(v[, full])

format_ls(attributes[, column_names])

format_metadata(v)

format_namespace_dump(data[, selected, details])

ls(metadata_proc[, n, keys, extra_keys, collections])

make_bufr_html_tree(data, title, subset, compressed, ...)

make_data_repr_html([title, path, types])

make_data_repr_str([title, path, types])

make_unique(x[, full])

ncdump(path)

Module Contents

class earthkit.data.utils.summary.BUFRHtmlTree
make_html(data)

Generates a html/css tree view from the input representing the result of bufr_dump.

Parameters:

data (dict)

Return type:

str

class earthkit.data.utils.summary.BUFRTree(data, subset, compressed, uncompressed)

Restructures the result of the bufr_dump ecCodes command.

compressed
data
make_tree()

Restructures the the result of json bufr_dump into a format better suited for generating a tree view out of it.

Return type:

dict

subset
uncompressed
class earthkit.data.utils.summary.DataDescriber(title=None, path=None, types=None, **kwargs)
path = None
title = None
types = None
class earthkit.data.utils.summary.NamespaceDump(data, **kwargs)

Bases: dict

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s

(key, value) pairs

dict(iterable) -> new dictionary initialized as if via:

d = {} for k, v in iterable:

d[k] = v

dict(**kwargs) -> new dictionary initialized with the name=value pairs

in the keyword argument list. For example: dict(one=1, two=2)

data
earthkit.data.utils.summary.drop_unwanted_series(df, key=None, axis=1)
earthkit.data.utils.summary.format_describe(attributes, *args, **kwargs)
earthkit.data.utils.summary.format_list(v, full=False)
earthkit.data.utils.summary.format_ls(attributes, column_names=None)
earthkit.data.utils.summary.format_metadata(v)
earthkit.data.utils.summary.format_namespace_dump(data, selected=None, details=None, **kwargs)
earthkit.data.utils.summary.ls(metadata_proc, n=None, keys=None, extra_keys=None, collections=None, **kwargs)
earthkit.data.utils.summary.make_bufr_html_tree(data, title, subset, compressed, uncompressed)
earthkit.data.utils.summary.make_data_repr_html(title=None, path=None, types=None)
earthkit.data.utils.summary.make_data_repr_str(title=None, path=None, types=None)
earthkit.data.utils.summary.make_unique(x, full=False)
earthkit.data.utils.summary.ncdump(path)