Changeset 1658


Ignore:
Timestamp:
Jul 29, 2005, 3:36:05 PM (19 years ago)
Author:
ole
Message:

Comments

File:
1 edited

Legend:

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

    r1654 r1658  
    154154    #Choose format
    155155    #FIXME: Maybe these can be merged later on
     156    #FIXME: We shoulp probably not waste enrgy on ASCII files -
     157    #the different formats are a pain. E.g. the time field.
     158    #
    156159    if line[:3] == 'CDF':
    157         return File_function_NetCDF(filename, domain, quantities, interpolation_points, verbose = verbose)
     160        return File_function_NetCDF(filename, domain, quantities,
     161                                    interpolation_points, verbose = verbose)
    158162    else:
    159         return File_function_ASCII(filename, domain, quantities, interpolation_points)
     163        return File_function_ASCII(filename, domain, quantities,
     164                                   interpolation_points)
    160165
    161166
     
    167172    x, y may be either scalars or vectors
    168173
    169     #FIXME: More about format, interpolation  and order of quantities
     174    #FIXME: More about format, interpolation and order of quantities
    170175
    171176    The quantities returned by the callable objects are specified by
     
    196201        #(both in UTM coordinates)
    197202        #If not - modify those from file to match domain
     203        #Take this code from e.g. dem2pts in data_manager.py
     204       
    198205
    199206        import time, calendar
     
    514521        assert mode in [2,4], msg
    515522
     523        #time.strptime(fields[0], time_format)
    516524        try:
    517525            starttime = calendar.timegm(time.strptime(fields[0], time_format))
Note: See TracChangeset for help on using the changeset viewer.