OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
MetaUtils.py File Reference

Go to the source code of this file.

Namespaces

 seadasutils.MetaUtils
 

Functions

def get_hdf4_content (filename)
 
def get_hdf5_header_plaintext (filename)
 
def get_hdf5_header_xml (filename)
 
def get_mime_data (filename)
 
def is_ascii_file (filename)
 
def is_hdf4 (mime_data)
 
def is_netcdf4 (mime_data)
 
def is_tar_file (file_path)
 
def is_metadata_file (mime_data)
 
def dump_metadata (filename)
 
def readMetadata (filename)
 
def get_attr (text)
 
def get_hdf5_attr (header_text)
 
def get_odl_attr (metatext)
 
def add_xml_group (group, attr)
 
def get_xml_attr (metaxml)
 
def parse_odl (text)
 
def get_value (text, items=None)
 
def set_type (value)
 
def prune_odl (metadict)