Ignore:
Timestamp:
Feb 4, 2005, 1:58:09 PM (20 years ago)
Author:
ole
Message:

Fixed up dem conversions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/least_squares.py

    r832 r834  
    148148   
    149149def xya2rectangular(xya_name, M, N, alpha = DEFAULT_ALPHA,
    150                     verbose = False, reduction = 1):
     150                    verbose = False, reduction = 1, format = 'netcdf'):
    151151    """Fits attributes from xya file to MxN rectangular mesh
    152152   
     
    161161
    162162    if verbose: print 'Read xya'
    163     points, attributes, _ = util.read_xya(xya_name)
     163    points, attributes, _ = util.read_xya(xya_name, format)
    164164
    165165    #Reduce number of points a bit
Note: See TracChangeset for help on using the changeset viewer.