Opened 15 years ago

Closed 15 years ago

#179 closed enhancement (fixed)

Add the number of points read by domain.set_quantity(elevation) to the output stats

Reported by: nick Owned by: nick
Priority: normal Milestone:
Component: Functionality and features Version:
Severity: minor Keywords:
Cc:

Description (last modified by nick)

I think this would be helpful and if it is written at the end of that function it will get recorded in the model output file

THANKS OLE

Change History (3)

comment:1 Changed 15 years ago by ole

  • Owner changed from ole to nick

comment:2 Changed 15 years ago by ole

I added some code towards this in changeset:4576 - it will work for NetCDF (pts) files but not yet for cvs or txt as the number of points aren't being read in with the header. It should be possible to abstract the file format away - perhaps one could count the number of points in txt files rapidly without reading it into Python's memory using e.g. 'wc -l filename.csv'.

I also think the it would be better to report the progress 10 times irrespective of the number of blocks (just as we do when building meshes and many other places).

comment:3 Changed 15 years ago by nick

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