Changeset 2815


Ignore:
Timestamp:
May 8, 2006, 1:30:47 PM (19 years ago)
Author:
sexton
Message:

moving files within production directory; scripts for report making and timeseries

Location:
production/onslow_2006
Files:
11 added
4 edited

Legend:

Unmodified
Added
Removed
  • production/onslow_2006/project.py

    r2773 r2815  
    5555#gauge_filename = gaugedir + 'onslow_gauges.xya'
    5656#for MOST
    57 gauge_filename = gaugedir + 'onslow_gauges1.xya'
     57gauge_filename = gaugedir + 'onslow_gauges.xya'
    5858
    5959
  • production/onslow_2006/run_timeseries.py

    r2798 r2815  
    1 """ Script for generating figures, sww sww2timeseries for documentation"""
     1""" Script for generating figures, see sww2timeseries for documentation"""
    22
    33from pyvolution.util import sww2timeseries
     
    1414
    1515# False to generate latex output, True otherwise
    16 title_on = False
     16title_on = True
    1717
    1818# generate figures - see sww2timeseries for documentation
     
    2929print 'finished plotting time series'
    3030
    31 # if generating latex output, copy latex file to scenario report directory
    32 # and linked to appropriate milestone
    33 report_dir = '..'+sep+'scenario_reports'+sep+'report_end_FY06'
    34 if title_on == False: copy (texname, report_dir + sep + texname)
    3531
    3632
    3733
     34
  • production/onslow_2006/tides.py

    r2721 r2815  
    55
    66import project
     7from pylab import*
    78
    89def get_data(filename):
     
    1819        if height <> NODATA: tideheights.append(height)
    1920       
    20     return max(tideheights), min(tideheights)
     21    return tideheights, max(tideheights), min(tideheights)
    2122
    2223print project.tidal_filename
    2324
    24 max_tide, min_tide = get_data(project.tidal_filename)
     25heights, max_tide, min_tide = get_data(project.tidal_filename)
    2526
    2627fid = open(project.tidal_outname,'w')
    2728s = 'Tide Heights for Onslow: maximum %.6f minimum %.6f ' %(max_tide, min_tide)
    2829fid.write(s)
     30
     31#ion()
     32#plot(range(len(heights)),heights)
Note: See TracChangeset for help on using the changeset viewer.