Changeset 3132


Ignore:
Timestamp:
Jun 9, 2006, 4:07:03 PM (19 years ago)
Author:
sexton
Message:

stripped down version of timeseries generation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • production/onslow_2006/run_timeseries.py

    r2898 r3132  
    66
    77# define directory location of sww and gauge data
    8 timestampdir = '20060426_004129'
    9 file_loc = project.outputdir + timestampdir + sep #project.outputtimedir
    10 swwfile = file_loc + project.basename + '.sww'
    11 label_id = timestampdir
     8production_dirs = {'20060426_004129': '1.5 AHD',
     9                   '20060426_004237': '-1.5 AHD',
     10                   '20060515_001733': '0 AHD'}
    1211
     12for label_id in production_dirs.keys():
     13   
     14    file_loc = project.outputdir + label_id + sep
     15    swwfile = file_loc + project.basename + '.sww'
     16    swwfiles[swwfile] = label_id
     17   
    1318# generate figures - see sww2timeseries for documentation
    14 texname = sww2timeseries(swwfile,
    15                          project.gauge_filename,
    16                          label_id,
    17                          report = False,
    18                          plot_quantity = ['stage', 'velocity', 'bearing'],
    19                          time_min = None,
    20                          time_max = None,
    21                          title_on = True,   
    22                          verbose = True)
     19sww2timeseries(swwfiles,
     20               project.gauge_filename,
     21               production_dirs,
     22               report = False,
     23               plot_quantity = ['stage', 'speed'],
     24               time_min = None,
     25               time_max = None,
     26               title_on = False,
     27               verbose = True)
    2328
    2429print 'finished plotting time series'
Note: See TracChangeset for help on using the changeset viewer.