Opened 19 years ago
Closed 13 years ago
#54 closed defect (fixed)
if the sww files are large the tools used to interigate them crash.
Reported by: | duncan | Owned by: | duncan |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | Functionality and features | Version: | 1.0 |
Severity: | normal | Keywords: | |
Cc: |
Description
Here's where file_function fails;
Reading O:/2/cit/inundation/Gippsland Lakes/120106/lakes_100_628759.sww Get variables File_function data obtained from: O:/2/cit/inundation/Gippsland Lakes/120106/lak es_100_628759.sww References: Lower left corner: [555000.000000, 5793000.000000] Start time: 0.000000 Traceback (most recent call last): File "I:\production\gippsland_2005\get_timeseries.py", line 50, in ? use_cache = True) File "I:\inundation\pyvolution\util.py", line 225, in file_function verbose = verbose) File "I:\inundation\caching\caching.py", line 349, in cache T = apply(func,args,kwargs) File "I:\inundation\pyvolution\util.py", line 285, in _file_function verbose = verbose) File "I:\inundation\pyvolution\util.py", line 453, in get_netcdf_file_function quantities[name] = fid.variables[name][:] MemoryError: can't allocate memory for array
Here's where interpolate_sww fails
:\production\gippsland_2005>python get_point_info.py Traceback (most recent call last): File "get_point_info.py", line 18, in ? point_file_out, display_errors = True) File "I:\inundation\pyvolution\interpolate_sww.py", line 35, in interpolate_sw w2xya interp = Interpolate_sww(sww_file, quantity_name) File "I:\inundation\pyvolution\interpolate_sww.py", line 62, in __init__ x, y, volumes, time, quantity = self.read_sww(file_name, quantity_name) File "I:\inundation\pyvolution\interpolate_sww.py", line 164, in read_sww quantity = stage - z # 2D, using broadcasting MemoryError: can't allocate memory for array
Change History (3)
comment:1 Changed 19 years ago by duncan
- Owner changed from ole to duncan
comment:2 Changed 19 years ago by duncan
comment:3 Changed 13 years ago by habili
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Re: file_function fails; We can block over time -simple to implement. or we can just load in the quantity for the area of interest. - harder to implement