Opened 18 years ago

Closed 12 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:


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



    Lower left corner: [555000.000000, 5793000.000000]

    Start time:   0.000000

Traceback (most recent call last):

  File "I:\production\gippsland_2005\", line 50, in ?

    use_cache = True)

  File "I:\inundation\pyvolution\", line 225, in file_function

    verbose = verbose)

  File "I:\inundation\caching\", line 349, in cache

    T = apply(func,args,kwargs)

  File "I:\inundation\pyvolution\", line 285, in _file_function

    verbose = verbose)

  File "I:\inundation\pyvolution\", 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


Traceback (most recent call last):

  File "", line 18, in ?

    point_file_out, display_errors = True)

  File "I:\inundation\pyvolution\", line 35, in interpolate_sw


    interp = Interpolate_sww(sww_file, quantity_name)

  File "I:\inundation\pyvolution\", line 62, in __init__

    x, y, volumes, time, quantity = self.read_sww(file_name, quantity_name)

  File "I:\inundation\pyvolution\", line 164, in read_sww

    quantity = stage - z  # 2D, using broadcasting

MemoryError: can't allocate memory for array

Change History (3)

comment:1 Changed 18 years ago by duncan

  • Owner changed from ole to duncan

comment:2 Changed 18 years ago by duncan

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

comment:3 Changed 12 years ago by habili

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.