Changeset 4298 for anuga_core/source
- Timestamp:
- Mar 12, 2007, 12:08:02 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/data_manager.py
r4295 r4298 4590 4590 mean_stage=0, 4591 4591 origin = None, 4592 zscale=1, 4593 fail_on_NaN=True): 4594 """ 4595 parameters not used! 4596 #mint=None, maxt=None, 4592 zscale=1): 4593 """ 4594 Convert URS C binary format for wave propagation to 4595 sww format native to abstract_2d_finite_volumes. 4596 4597 Specify only basename_in and read files of the form 4598 basefilename-z-mux, basefilename-e-mux and basefilename-n-mux containing 4599 relative height, x-velocity and y-velocity, respectively. 4600 4601 Also convert latitude and longitude to UTM. All coordinates are 4602 assumed to be given in the GDA94 datum. The latitude and longitude 4603 information is assumed ungridded grid. 4604 4605 min's and max's: If omitted - full extend is used. 4606 To include a value min ans max may equal it. 4607 Lat and lon are assumed to be in decimal degrees. 4608 4609 origin is a 3-tuple with geo referenced 4610 UTM coordinates (zone, easting, northing) 4611 It will be the origin of the sww file. This shouldn't be used, 4612 since all of anuga should be able to handle an arbitary origin. 4613 4614 4615 URS C binary format has data orgainised as TIME, LONGITUDE, LATITUDE 4616 which means that latitude is the fastest 4617 varying dimension (row major order, so to speak) 4618 4619 In URS C binary the latitudes and longitudes are in assending order. 4597 4620 """ 4598 4621 from anuga.pmesh.mesh import Mesh … … 4608 4631 mux[quantity] = Urs_points(file) 4609 4632 4610 # FIXME:check that the depth is the same. (hashing)4633 # Could check that the depth is the same. (hashing) 4611 4634 4612 4635 # handle to a mux file to do depth stuff
Note: See TracChangeset
for help on using the changeset viewer.