Changeset 7771
- Timestamp:
- Jun 2, 2010, 6:10:50 PM (15 years ago)
- Location:
- trunk/anuga_core/source/anuga/shallow_water
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/shallow_water/sww_interrogate.py
r7770 r7771 2 2 Operations to extract information from an SWW file. 3 3 ''' 4 5 import os 6 import numpy as num 7 8 from anuga.utilities.file_utils import get_all_swwfiles 9 from anuga.coordinate_transforms.geo_reference import Geo_reference 10 from anuga.abstract_2d_finite_volumes.util import file_function 11 from anuga.config import netcdf_mode_r, netcdf_mode_w, netcdf_mode_a 12 from anuga.geometry.polygon import is_inside_polygon 13 from anuga.file.sww import get_mesh_and_quantities_from_file 14 from anuga.abstract_2d_finite_volumes.neighbour_mesh import segment_midpoints 15 from anuga.config import g 4 16 5 17 ## … … 364 376 for file, swwfile in enumerate (iterate_over): 365 377 # Read sww file 366 filename = join(dir, swwfile+'.sww')378 filename = os.path.join(dir, swwfile+'.sww') 367 379 368 380 if verbose: log.critical('Reading from %s' % filename) -
trunk/anuga_core/source/anuga/shallow_water/test_data_manager.py
r7770 r7771 40 40 # This is needed to run the tests of local functions 41 41 import data_manager 42 from anuga.file_conversion.urs2sts import urs2sts 42 43 from anuga.coordinate_transforms.redfearn import redfearn 43 44 from anuga.coordinate_transforms.geo_reference import Geo_reference, \ -
trunk/anuga_core/source/anuga/shallow_water/test_shallow_water_domain.py
r7770 r7771 40 40 41 41 import numpy as num 42 from anuga.config import g 42 43 43 44 # Get gateway to C implementation of flux function for direct testing … … 5602 5603 from anuga.shallow_water import Domain 5603 5604 from anuga.shallow_water.forcing import Inflow 5604 from anuga.shallow_water.data_manager \5605 import get_flow_through_cross_section5606 5605 5607 5606 #---------------------------------------------------------------------- … … 5692 5691 from anuga.abstract_2d_finite_volumes.mesh_factory import rectangular_cross 5693 5692 from anuga.shallow_water import Domain 5694 from anuga.shallow_water.data_manager import get_flow_through_cross_section5695 5693 5696 5694 #----------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.