Changeset 2815
- Timestamp:
- May 8, 2006, 1:30:47 PM (19 years ago)
- Location:
- production/onslow_2006
- Files:
-
- 11 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
production/onslow_2006/project.py
r2773 r2815 55 55 #gauge_filename = gaugedir + 'onslow_gauges.xya' 56 56 #for MOST 57 gauge_filename = gaugedir + 'onslow_gauges 1.xya'57 gauge_filename = gaugedir + 'onslow_gauges.xya' 58 58 59 59 -
production/onslow_2006/run_timeseries.py
r2798 r2815 1 """ Script for generating figures, s wwsww2timeseries for documentation"""1 """ Script for generating figures, see sww2timeseries for documentation""" 2 2 3 3 from pyvolution.util import sww2timeseries … … 14 14 15 15 # False to generate latex output, True otherwise 16 title_on = False16 title_on = True 17 17 18 18 # generate figures - see sww2timeseries for documentation … … 29 29 print 'finished plotting time series' 30 30 31 # if generating latex output, copy latex file to scenario report directory32 # and linked to appropriate milestone33 report_dir = '..'+sep+'scenario_reports'+sep+'report_end_FY06'34 if title_on == False: copy (texname, report_dir + sep + texname)35 31 36 32 37 33 34 -
production/onslow_2006/tides.py
r2721 r2815 5 5 6 6 import project 7 from pylab import* 7 8 8 9 def get_data(filename): … … 18 19 if height <> NODATA: tideheights.append(height) 19 20 20 return max(tideheights), min(tideheights)21 return tideheights, max(tideheights), min(tideheights) 21 22 22 23 print project.tidal_filename 23 24 24 max_tide, min_tide = get_data(project.tidal_filename)25 heights, max_tide, min_tide = get_data(project.tidal_filename) 25 26 26 27 fid = open(project.tidal_outname,'w') 27 28 s = 'Tide Heights for Onslow: maximum %.6f minimum %.6f ' %(max_tide, min_tide) 28 29 fid.write(s) 30 31 #ion() 32 #plot(range(len(heights)),heights)
Note: See TracChangeset
for help on using the changeset viewer.