def add(self, dem_basename):
        base_basename = "".join(dem_basename.split(".")[0:-1])
        format = dem_basename.split(".")[-1]
        if format == "flt":
            dem = GridFloat( base_basename )
        elif format == "bil":
            dem = BIL( base_basename )
        else:
            raise Exception( "Unknown DEM format '%s'"%format )
            
        self.tiles.append( dem )
dataset/ETHPy150Open bmander/graphserver/pygs/graphserver/ext/ned/elevation/elevation.py/ElevationPile.add/original