Changeset 3869


Ignore:
Timestamp:
Oct 25, 2006, 6:51:04 PM (16 years ago)
Author:
sexton
Message:

data update for sydney demo

Location:
anuga_core/documentation/user_manual/examples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/documentation/user_manual/examples/project.py

    r3762 r3869  
    2020scenario_dir_name = 'sydney_tsunami_example_2006'
    2121# revised 100m data
    22 coarsename = 'bathyland100'
     22#coarsename = 'bathyland100'
    2323# revised 25m data
    24 finename = 'bathy_dem25'
     24#finename = 'bathy_dem25'
     25# revised 25m data
     26dem_name = 'sydney_MGA56'
    2527
    2628home += sep + 'data' + sep + 'new_south_wales'
     
    3335
    3436meshname = meshdir + basename
    35 coarsedemname = datadir + coarsename
    36 finedemname = datadir + finename
     37#coarsedemname = datadir + coarsename
     38#finedemname = datadir + finename
     39demname = datadir + dem_name
    3740combineddemname = datadir + 'sydneytopo'
    3841
  • anuga_core/documentation/user_manual/examples/runsydney.py

    r3563 r3869  
    3636
    3737# filenames
    38 coarsedemname = project.coarsedemname + '.pts'
    39 finedemname = project.finedemname + '.pts'
    40 combineddemname = project.combineddemname + '.pts'
     38#coarsedemname = project.coarsedemname + '.pts'
     39#finedemname = project.finedemname + '.pts'
     40demname = project.demname
    4141meshname = project.meshname+'.msh'
    4242
     43convert_dem_from_ascii2netcdf(demname, use_cache=True, verbose=True)
     44
     45# creates pts file
     46dem2pts(demname, use_cache=True, verbose=True)
    4347
    4448# combining the coarse and fine data
    45 combine_rectangular_points_files(finedemname,
    46                                  coarsedemname,
    47                                  combineddemname)
     49#combine_rectangular_points_files(finedemname,
     50#                                 coarsedemname,
     51#                                 combineddemname)
    4852
    4953
     
    115119domain.set_quantity('friction', 0.0)
    116120domain.set_quantity('elevation',
    117                     filename = combineddemname,
     121                    filename = demname + '.pts',
    118122                    use_cache = True,
    119123                    verbose = True)
Note: See TracChangeset for help on using the changeset viewer.