Ignore:
Timestamp:
Aug 6, 2008, 9:36:38 AM (16 years ago)
Author:
duncan
Message:

Current Hinwood scenario

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/Hinwood_2008/calc_norm.py

    r5595 r5616  
    3838    return band_condition
    3939   
    40 def auto_rrms(outputdir_tag, scenarios, quantity):
     40def auto_rrms(outputdir_tag, scenarios, quantity, y_location_tag=':0.0'):
    4141    """
    4242    Given a bunch of scenarios that have CSV guage files, calc the
     
    5656        for gauge_x in run_data['gauge_x']:
    5757            gauge_x = str(gauge_x)
    58             location_sims.append(gauge_x + ':0.0')
     58            location_sims.append(gauge_x + y_location_tag)
    5959            location_exps.append(gauge_x)
    6060       
     
    236236        sim['rmsd'] = sim['err']/sqrt(sim['amount'])
    237237        settings[outputdir_tag] = sim
    238     print "settings", settings
     238    #print "settings", settings
    239239
    240240    aux = [(settings[k]['rmsd'], k) for k in settings.keys()]
     
    273273   
    274274    outputdir_tags = []
     275    #outputdir_tags.append("_nolmts_wdth_0.1_z_0.012_ys_0.01_mta_0.01_H")
     276    outputdir_tags.append("_nolmts_wdth_0.1_z_0.0_ys_0.01_mta_0.01_G")
     277    #outputdir_tag = "_good_tri_area_0.01_D"
     278    outputdir_tags.append("_nolmts_wdth_0.1_z_0.012_ys_0.01_mta_0.01_G")
    275279    outputdir_tags.append("_lmts_wdth_0.1_z_0.012_ys_0.01_mta_0.01_G")
     280    outputdir_tags.append("_nolmts_wdth_0.1_z_0.012_ys_0.05_mta_1e-05_G")
     281    outputdir_tags.append("_nolmts_wdth_0.1_z_0.012_ys_0.01_mta_0.001_G")
     282    outputdir_tags.append("_nolmts_wdth_0.01_z_0.012_ys_0.01_mta_1e-05_G")
     283    outputdir_tags = [] # _no_velocity_nolmts_wdth_0.1_z_0.012_ys_0.01_mta_0.01_G
    276284    outputdir_tags.append("_nolmts_wdth_0.1_z_0.0_ys_0.01_mta_0.01_G")
    277     outputdir_tags.append("_nolmts_wdth_0.1_z_0.012_ys_0.01_mta_0.001_G")
    278     outputdir_tags.append("_nolmts_wdth_0.1_z_0.012_ys_0.01_mta_0.01_G")
    279     outputdir_tags.append("_nolmts_wdth_0.01_z_0.012_ys_0.01_mta_1e-05_G")
    280     outputdir_tags.append("_nolmts_wdth_0.1_z_0.012_ys_0.05_mta_1e-05_G")
    281     outputdir_tags.append("_nolmts_wdth_0.1_z_0.012_ys_0.05_mta_1e-05_G")
    282     outputdir_tags = [] # _no_velocity_nolmts_wdth_0.1_z_0.012_ys_0.01_mta_0.01_G
    283     outputdir_tags.append("_nolmts_wdth_0.1_z_0.012_ys_0.01_mta_0.01_G")
    284     outputdir_tags.append("_no_velocity_nolmts_wdth_0.1_z_0.012_ys_0.01_mta_0.01_G")
    285     outputdir_tag = "_good_lmts_wdth_1.0_z_0.012_ys_0.01_mta_0.001_F"
     285   
     286    #outputdir_tag = "_good_lmts_wdth_1.0_z_0.012_ys_0.01_mta_0.001_H"
    286287    #outputdir_tag = "_test_limiterC"
    287288    #scenarios = [scenarios[0]] # !!!!!!!!!!!!!!!!!!!!!!
    288289    #scenarios = scenarios[4:] # !!!!!!!!!!!!!!!!!!!!!!
    289290    #for outputdir_tag in outputdir_tags:
    290     #    auto_rrms(outputdir_tag, scenarios, "stage")
     291     #   auto_rrms(outputdir_tag, scenarios, "stage", y_location_tag=':0.0')
    291292   
    292293    #scenarios = [scenarios[0]] # !!!!!!!!!!!!!!!!!!!!!!
    293     #auto_plot_rrms_sensor_settings(outputdir_tags, scenarios, "stage")
    294     compare_different_settings(outputdir_tags, scenarios, "stage")
     294    auto_plot_rrms_sensor_settings(outputdir_tags, scenarios, "stage")
     295    #compare_different_settings(outputdir_tags, scenarios, "stage")
Note: See TracChangeset for help on using the changeset viewer.