Opened 17 years ago

Closed 17 years ago

#224 closed defect (fixed)

SWW aren't using single precision anymore?

Reported by: ole Owned by: duncan
Priority: low Milestone:
Component: Functionality and features Version:
Severity: normal Keywords:
Cc:

Description

Joaquim Luis pointed this out on Sourceforge on 14th November 2007.

We used to create all variables in SWW as single precision by setting self.precision = Float32. However, it seems that the new method store_header() is using a variable named 'precision' which isn't defined in the method and as such must come from the context.

We need to check and test that sww files are using single precision.

Change History (3)

comment:1 Changed 17 years ago by duncan

  • Priority changed from normal to low
  • Status changed from new to assigned

Yes, thanks Joaquim Luis for pointing this out and Ole for doing the initial investigation. I've fixed this for sww files produced during evolve. sww's converted from boundaries are still Float, not Float32.

comment:2 Changed 17 years ago by ole

This was done in changeset:4862 Jane will test that the Cairns example outputs an sww file of the right size.

comment:3 Changed 17 years ago by jane.sexton@…

  • Resolution set to fixed
  • Status changed from assigned to closed

Checked Cairns demo - sww files are now more sensible size (around 400 Mb)

Note: See TracTickets for help on using tickets.