Changeset 5696
- Timestamp:
- Aug 27, 2008, 10:31:10 AM (16 years ago)
- Location:
- anuga_validation/Hinwood_2008
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/Hinwood_2008/calc_rmsd.py
r5695 r5696 119 119 Load a csv file, where the first row is the column header and 120 120 the first colum explains the rows. 121 122 returns the data as two vectors and an array. 123 121 124 """ 122 125 … … 145 148 146 149 return times, locations, sensors 147 148 149 150 151 # Return a bunch of lists 152 # The err files, for all scenarios 150 151 153 152 def err_files(scenarios, outputdir_tag, quantity='stage'): 154 153 """ … … 205 204 #------------------------------------------------------------- 206 205 if __name__ == "__main__": 207 """ 208 """ 206 209 207 from scenarios import scenarios 210 208 -
anuga_validation/Hinwood_2008/prepare_time_boundary.py
r5691 r5696 1 1 """ 2 Script for running a breaking wave simulation of Jon Hinwoods wave tank. 3 Note: this is based on the frinction_ua_flume_2006 structure. 4 2 A file conversion. 5 3 6 4 Duncan Gray, GA - 2007 … … 21 19 22 20 def csv2tms(filename, offshore_bed_elevation): 23 """Convert benchmark 2 time series to NetCDF tms file. 21 """ 22 Convert Hinwood boundary file to NetCDF tms file. 24 23 the filename is the name of the output tms file, eg 'hi.tsm'. 25 24 There must be an equivalent .csv file, eg 'hi.csv'. -
anuga_validation/Hinwood_2008/run_dam.py
r5695 r5696 37 37 use_limits=True, 38 38 end_tag = ''): 39 """ 40 Run a simulation. 41 """ 39 42 40 43 id = metadata_dic['scenario_id'] … … 103 106 #------------------------------------------------------------------------- 104 107 105 domain.set_quantity('stage', 0.) #the origin is the still water level108 domain.set_quantity('stage', 0.) #the z origin is the still water level 106 109 domain.set_quantity('friction', friction) 107 110 elevation_function = Elevation_function(metadata_dic) … … 152 155 outputdir_name=None): 153 156 """ 154 157 Given run parameters return a string that can be used to name files. 155 158 """ 156 159 if outputdir_name is None:
Note: See TracChangeset
for help on using the changeset viewer.