Changeset 2863


Ignore:
Timestamp:
May 15, 2006, 12:23:45 PM (17 years ago)
Author:
nick
Message:

onslow updates

Location:
production/onslow_2006
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • production/onslow_2006/project.py

    r2815 r2863  
    3737    home = environ['INUNDATIONHOME']     #Sandpit's parent dir
    3838else:   
    39     home = expanduser('~')
     39    home = environ['INUNDATIONHOME']     #Sandpit's parent dir
     40#    home = expanduser('~')
    4041
    4142#Derive subdirectories and filenames
     
    5556#gauge_filename = gaugedir + 'onslow_gauges.xya'
    5657#for MOST
    57 gauge_filename = gaugedir + 'onslow_gauges.xya'
     58gauge_filename = gaugedir + 'onslow_gauges1.xya'
    5859
    5960
  • production/onslow_2006/run_onslow.py

    r2773 r2863  
    8888#    print' most file', project.MOST_dir + project.boundary_basename
    8989
    90 '''
     90
    9191# fine data (clipping the points file to smaller area)
    9292# creates DEM from asc data
     
    113113print'export G'
    114114G.export_points_file(project.combined_dem_name + '.pts')
    115 '''
     115
    116116
    117117#-------------------------------------------------------------------------------                                 
     
    189189#-------------------------------------------------------------------------------
    190190
    191 tide = 0.
     191tide = 0.0
    192192
    193193domain.set_quantity('stage', tide)
     
    266266t0 = time.time()
    267267
    268 for t in domain.evolve(yieldstep = 240, finaltime = 7201):
    269     domain.write_time()
    270     domain.write_boundary_statistics(tags = 'top')     
    271 
    272 for t in domain.evolve(yieldstep = 120, finaltime = 12601
    273                        ,skip_initial_step = True):
    274     domain.write_time()
    275     domain.write_boundary_statistics(tags = 'top')     
    276 
    277 for t in domain.evolve(yieldstep = 60, finaltime = 19801
     268for t in domain.evolve(yieldstep = 240, finaltime = 7200):
     269    domain.write_time()
     270    domain.write_boundary_statistics(tags = 'top')     
     271
     272for t in domain.evolve(yieldstep = 120, finaltime = 12600
     273                       ,skip_initial_step = True):
     274    domain.write_time()
     275    domain.write_boundary_statistics(tags = 'top')     
     276
     277for t in domain.evolve(yieldstep = 60, finaltime = 19800
    278278                       ,skip_initial_step = True):
    279279    domain.write_time()
    280280    domain.write_boundary_statistics(tags = 'top')     
    281281   
    282 for t in domain.evolve(yieldstep = 120, finaltime = 25201
    283                        ,skip_initial_step = True):
    284     domain.write_time()
    285     domain.write_boundary_statistics(tags = 'top')     
    286 
    287 for t in domain.evolve(yieldstep = 240, finaltime = 36001
     282for t in domain.evolve(yieldstep = 120, finaltime = 25200
     283                       ,skip_initial_step = True):
     284    domain.write_time()
     285    domain.write_boundary_statistics(tags = 'top')     
     286
     287for t in domain.evolve(yieldstep = 240, finaltime = 36000
    288288                       ,skip_initial_step = True):
    289289    domain.write_time()
Note: See TracChangeset for help on using the changeset viewer.