(varinfo, data)
return varinfo
Update incomplete varinfo dict from data.
    
    Arguments:
      * varinfo: a potentially incomplete variable information dictionary.
      * data: the associated data, used to complete the information.
      
    Returns:
      * varinfo: the completed information dictionary.
Update incomplete varinfo dict from data.
    
    Arguments:
      * varinfo: a potentially incomplete variable information dictionary.
      * data: the associated data, used to complete the information.
      
    Returns:
      * varinfo: the completed information dictionary.
Update incomplete varinfo dict from data . Arguments : * varinfo : a potentially incomplete variable information dictionary . * data : the associated data used to complete the information . Returns : * varinfo : the completed information dictionary .
def _update_varinfo(varinfo, data):
    """Update incomplete varinfo dict from data.
    
    Arguments:
      * varinfo: a potentially incomplete variable information dictionary.
      * data: the associated data, used to complete the information.
      
    Returns:
      * varinfo: the completed information dictionary.
      
    """
    varinfo_data = _get_varinfo(data)
    if "vartype" not in varinfo:
        varinfo.update(vartype=varinfo_data['vartype'])
    if "ndim" not in varinfo:
        varinfo.update(ndim=varinfo_data['ndim'])
    if "size" not in varinfo:
        varinfo.update(size=varinfo_data['size'])
    return varinfo
def _update_varinfo ( varinfo , data ) : varinfo_data = _get_varinfo ( data ) if "vartype" not in varinfo : varinfo . update ( vartype = varinfo_data [ 'vartype' ] ) if "ndim" not in varinfo : varinfo . update ( ndim = varinfo_data [ 'ndim' ] ) if "size" not in varinfo : varinfo . update ( size = varinfo_data [ 'size' ] ) return varinfo