Changeset 6553 for branches/numpy/anuga/shallow_water/data_manager.py
- Timestamp:
- Mar 19, 2009, 1:43:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/numpy/anuga/shallow_water/data_manager.py
r6533 r6553 3236 3236 volumes.append([v4,v3,v2]) #Lower element 3237 3237 3238 volumes = num.array(volumes )3238 volumes = num.array(volumes, num.int) #array default# 3239 3239 3240 3240 if origin is None: … … 4152 4152 volumes.append([v4,v2,v3]) #Lower element 4153 4153 4154 volumes = num.array(volumes )4154 volumes = num.array(volumes, num.int) #array default# 4155 4155 4156 4156 geo_ref = Geo_reference(refzone, min(x), min(y)) … … 5571 5571 for i in range(len(quantities)): 5572 5572 for file_in in files_in[i]: 5573 if (os.access(file_in, os. F_OK) == 0):5573 if (os.access(file_in, os.R_OK) == 0): 5574 5574 msg = 'File %s does not exist or is not accessible' % file_in 5575 5575 raise IOError, msg
Note: See TracChangeset
for help on using the changeset viewer.