Make a template file just assuming a list of parameter names the values of which should be
    listed in order in a model input file
    Args:
        parnames: list of names from which to make a template file
        tplfilename: filename for TPL file (default: model.input.tpl)

    Returns:
        writes a file <tplfilename> with each parameter name on a line

def simple_tpl_from_pars(parnames, tplfilename='model.input.tpl'):
    """
    Make a template file just assuming a list of parameter names the values of which should be
    listed in order in a model input file
    Args:
        parnames: list of names from which to make a template file
        tplfilename: filename for TPL file (default: model.input.tpl)

    Returns:
        writes a file <tplfilename> with each parameter name on a line

    """
    with open(tplfilename, 'w') as ofp:
        ofp.write('ptf ~\n')
        [ofp.write('~{0:^12}~\n'.format(cname)) for cname in parnames]