Ignore:
Timestamp:
Dec 7, 2007, 11:01:45 AM (17 years ago)
Author:
nick
Message:

updated doc string of csv2timeseries_graphs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/abstract_2d_finite_volumes/util.py

    r4876 r4878  
    15041504                            verbose=False):
    15051505                               
    1506     """
    1507     WARNING!! NO UNIT TESTS... could make some as to test filename..but have
     1506    """    WARNING!! NO UNIT TESTS... could make some as to test filename..but have
    15081507    spend ages on this already...
     1508   
    15091509   
    15101510    Read in csv files that have the right header information and
     
    15561556        OUTPUTS: None, it saves the plots to
    15571557              <output_dir><base_name><plot_number><extra_plot_name>.png
     1558
     1559    Usage:  csv2timeseries_graphs({'J:'+sep+'anuga_validation'+sep:['new',20,-.1],
     1560                                   'J:'+sep+'conical_island'+sep:['test',0,0]},
     1561                                   output_dir='',
     1562                                   plot_numbers=['1','3'],
     1563                                   quantities=['stage','depth','bearing'],
     1564                                   base_name='gauge_b',
     1565                                   assess_all_csv_files=True,
     1566                                  verbose=True)   
     1567            This will produce one plot for each quantity (therefore 3) in the current directory,
     1568            each plot will have 2 lines on them. The first plot named 'new' will have the time
     1569            offseted by 20secs and the stage height adjusted by -0.1m
     1570
    15581571   
    15591572    """
    1560     import pylab# import plot, xlabel, ylabel, savefig, \
    1561                 #ion, hold, axis, close, figure, legend
     1573    import pylab#
    15621574    from os import sep
    15631575    from anuga.shallow_water.data_manager import \
     
    22822294        They will all have a header
    22832295   
     2296    Usage: gauges_sww2csv(sww_file='test1.sww',
     2297               quantities = ['stage', 'elevation','depth','bearing'],
     2298               gauge_file='gauge.txt')   
     2299   
    22842300    Interpolate the quantities at a given set of locations, given
    22852301    an sww file.
     
    22932309
    22942310    This is really returning speed, not velocity.
     2311   
     2312   
    22952313    """
    22962314    from csv import reader,writer
Note: See TracChangeset for help on using the changeset viewer.