Changeset 1201 for inundation/ga/storm_surge/pyvolution/data_manager.py
- Timestamp:
- Apr 6, 2005, 4:32:58 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/data_manager.py
r1178 r1201 1892 1892 geo_reference = None 1893 1893 1894 if verbose: print ' interpolating quantities'1894 if verbose: print ' getting quantities' 1895 1895 for quantity in fid.variables.keys(): 1896 1896 dimensions = fid.variables[quantity].dimensions … … 1919 1919 volumes=volumes.tolist() 1920 1920 #FIXME:should this be in mesh?(peter row) 1921 unique,coordinates,volumes,boundary=weed(coordinates,volumes,boundary) 1921 if fid.smoothing == 'Yes': unique = False 1922 else: unique = True 1923 if unique: 1924 coordinates,volumes,boundary=weed(coordinates,volumes,boundary) 1925 1922 1926 1923 1927 domain = Domain(coordinates, volumes, boundary) … … 1937 1941 pass #quantity has no missing_value number 1938 1942 X = fid.variables[quantity][:] 1939 if ver bose:1943 if very_verbose: 1940 1944 print ' ',quantity 1941 1945 print ' NaN =',NaN … … 1962 1966 pass #quantity has no missing_value number 1963 1967 X = interpolated_quantities[quantity] 1964 if ver bose:1968 if very_verbose: 1965 1969 print ' ',quantity 1966 1970 print ' NaN =',NaN … … 2077 2081 boundary = new_boundary 2078 2082 2079 return unique,coordinates,volumes,boundary2083 return coordinates,volumes,boundary 2080 2084 2081 2085
Note: See TracChangeset
for help on using the changeset viewer.