Ignore:
Timestamp:
Aug 7, 2007, 2:20:57 PM (18 years ago)
Author:
duncan
Message:

getting rid of xya more. Cleaning up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/geospatial_data/geospatial_data.py

    r4661 r4663  
    130130        self.geo_reference=None #create the attribute
    131131        self.file_name = file_name
    132         self.max_read_lines = max_read_lines
     132       
     133        if max_read_lines is None:
     134            self.max_read_lines = MAX_READ_LINES
     135        else:
     136            self.max_read_lines = max_read_lines
    133137
    134138        if file_name is None:
     
    545549       
    546550        """
    547         write a points file, file_name, as a text (.xya) or binary (.pts) file
     551        write a points file, file_name, as a text (.csv) or binary (.pts) file
    548552        file_name is the file name, including the extension
    549553        The point_dict is defined at the top of this file.
     
    715719
    716720        # FIXME (Ole): Shouldn't this go into the constructor?
     721        # This method acts like the constructor when blcoking.
    717722        # ... and shouldn't it be called block_size?
     723        #
    718724        if self.max_read_lines is None:
    719725            self.max_read_lines = MAX_READ_LINES
Note: See TracChangeset for help on using the changeset viewer.