OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
DictUtils.py File Reference

Go to the source code of this file.

Namespaces

 seadasutils.DictUtils
 

Functions

def promote_value (mydict, keyregex)
 
def promote_dict (mydict, keyregex)
 
def flatten_dict (mydict)
 
def delete_key (mydict, keyregex)
 
def delete_empty (mydict)
 
def reassign_keys_in_dict (mydict, namekey, valuekey)
 
def allkeys (mydict)
 

Variables

int val = 99
 
string cmd = "promote_value(dict1, 'IN.*')"
 
dictionary dict1 = {'OUTER': {'INNER': val}}
 
dictionary dict2 = {'OUTER': val}