Beispiel #1
0
#####################################################################################
# Loop through each Site (Index from zero)
#####################################################################################
cRID = 0  # Index of current Run_IDs
cSite = 0  # Index of current Site
while (cSite < NSites):

    # Define Site Info
    c_Site_ID = Site_ID_all[cSite]
    print c_Site_ID

    # If more than one NPruns, then get value to vary
    if NPruns > 1:
        # Get Vaules of param_2_vary from LocalParamInfo
        Pvals = Create_new.GetParamVals(param_2_vary, NPruns, settings_dir,
                                        c_Site_ID)
        print Pvals
        # Find Index specifed parameters (new_param_all)
        Iparam = new_param_all.index(param_2_vary)

    #####################################################################################
    # Loop through each Parameter set run (Index from zero)
    #####################################################################################
    cPR = 0
    while (cPR < NPruns):
        #print cPR
        # Define current Run ID
        cRID_char = "R_" + str(Run_IDs[cRID])
        print cRID_char

        # If more than one NPruns, Update