Opened 18 years ago
Closed 18 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 )
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 18 years ago by
Owner: | changed from ole to nick |
---|
comment:2 Changed 18 years ago by
comment:3 Changed 18 years ago by
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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).