Module Expr Str Import alias ImportFrom alias alias FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareEq Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr orelse TryExcept body If BoolOpAnd Call NameLoad NameLoad UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index Num NameLoad body Raise NameLoad handlers ExceptHandler type NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Raise NameLoad Str NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body ImportFrom alias If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore NameLoad orelse Assign NameStore NameLoad Return TupleLoad NameLoad NameLoad decorator_list Assign NameStore ListLoad For TupleStore NameStore NameStore NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad orelse If Call NameLoad NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad orelse TryExcept body Expr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad orelse For NameStore NameLoad body Expr Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list
N/A N/A 
Utility functions using the pyesgf package.

 N/A sys urllib quote_plus _is_unicode get_manifest N/A N/A drs_id version connection N/A N/A N/A 
    Retrieve the filenames, sizes and checksums of a dataset.

    This function will raise ValueError if more than one dataset is found
    matching the given drs_id and version on a search without replicas.
    The connection should be either distrib=True or be connected to a suitable
    ESGF search interface.

    :param drs_id: a string containing the DRS identifier without version
    :param version: The version as a string or int

     N/A N/A N/A type version int N/A N/A version N/A str version N/A context N/A N/A connection new_context drs_id drs_id version version N/A results N/A N/A context search N/A N/A N/A len results 1 N/A N/A N/A ValueError N/A Search for dataset %s.v%s returns multiple hits N/A drs_id version N/A file_context N/A N/A N/A results N/A 0 file_context N/A manifest N/A N/A file N/A N/A file_context search N/A N/A N/A manifest N/A N/A file filename N/A checksum_type checksum size N/A file checksum_type N/A file checksum N/A file size N/A manifest N/A urlencode N/A N/A query N/A N/A N/A Encode a sequence of two-element tuples or dictionary into a URL query string.

    This version is adapted from the standard library to understand operators in the
    pyesgf.search.constraints module.

    If the query arg is a sequence of two-element tuples, the order of the
    parameters in the output will match the order of parameters in the
    input.
     N/A N/A hasattr query items N/A N/A query N/A N/A query items N/A N/A N/A N/A N/A N/A len query N/A N/A isinstance N/A query N/A 0 tuple N/A N/A TypeError N/A N/A N/A TypeError N/A N/A N/A ty va tb N/A N/A sys exc_info N/A TypeError not a valid non-string sequence or mapping object tb append N/A N/A k v tag l N/A N/A search.consts OPERATOR_NEQ N/A N/A tag OPERATOR_NEQ N/A N/A N/A N/A l append N/A %s!=%s N/A k v N/A N/A N/A tag None N/A N/A N/A N/A l append N/A %s=%s N/A k v N/A N/A N/A ValueError N/A Unknown operator tag %s tag N/A strip_tag N/A N/A v N/A N/A N/A N/A N/A type v tuple N/A N/A N/A tag v v N/A N/A tag None N/A N/A tag v N/A N/A l N/A N/A N/A k v query N/A N/A N/A tag v N/A strip_tag v N/A k N/A quote_plus N/A str k N/A N/A isinstance v str N/A N/A v N/A quote_plus v N/A N/A append k v tag l N/A N/A N/A _is_unicode v N/A N/A v N/A quote_plus N/A N/A v encode ASCII replace N/A N/A append k v tag l N/A N/A N/A N/A N/A len v N/A N/A N/A TypeError N/A N/A v N/A quote_plus N/A str v N/A N/A append k v tag l N/A N/A elt v N/A N/A N/A append k N/A quote_plus N/A str elt tag l N/A N/A N/A & join l N/A