Changes between Version 1 and Version 2 of Ticket #341


Ignore:
Timestamp:
Sep 16, 2009, 2:16:57 PM (16 years ago)
Author:
rwilson
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #341 – Description

    v1 v2  
    22
    33Currently the code to put ASCelevations into ANUGA looks like:[[BR]]
    4 convert_dem_from_ascii2netcdf(project.demname, ...)[[BR]]
     4'''convert_dem_from_ascii2netcdf(project.demname, ...)[[BR]]
    55dem2pts(project.demname, ...)[[BR]]
    66domain = create_domain_...(...)[[BR]]
    7 domain.set_quantity('elevation', project.demname+'.pts', ...)
     7domain.set_quantity('elevation', project.demname+'.pts', ...)'''
    88
    99Hidden away under all that is the assumption that the filename passed to dem2pts() is just a root and '.dem' is *assumed* as the extension.  This leads to confusion as:[[BR]]