Changeset 2713


Ignore:
Timestamp:
Apr 12, 2006, 11:03:54 PM (19 years ago)
Author:
ole
Message:

Comments regarding plotting module requirements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/requirements/plotting_module_requirements.txt

    r2692 r2713  
    991.1     The prescribed quantities must be a name of an existing quantity or an expression involving existing quantities.
    10101.1.1   The default quantity will be 'depth'.
    11 1.1.2   The user can define a list of quantities. The possibilities are the conserved quantitues of the shallow water wave equation and other quantities which can be derived from those, i.e.['depth', 'xmomentum', 'ymomentum', 'momentum', 'velocity', 'bearing'].
    12 1.1.3   Velocity should be calculated as absolute momentum divided by depth.
    13 1.1.4   Absolute momentum should be calculated as sqrt(xmomentum^2 + ymomentum^2).
    14 1.1.5   Bearing should return the angle of the velocity vector from North.
     111.1.2   The user can define a list of quantities. The possibilities are the conserved quantitues of the shallow water wave equation and other quantities which can be derived from those, i.e. ['stage', 'depth', 'xmomentum', 'ymomentum', 'momentum', 'velocity', 'bearing'].
     121.1.3   Absolute momentum ('momentum') will be calculated as sqrt(xmomentum^2 + ymomentum^2).
     131.1.4   Velocity should be calculated as absolute momentum divided (pointwise) by depth.
     141.1.5   Bearing should return the angle of the momentum vector (xmomentum, ymomentum) from the North direction.
    1515
    16 1.2     The gauge locations should be defined in a separate file.
     161.2     The gauge locations should either be defined in a separate file in which case the plotting function is
     17        invoked with the name of the file, or they should be provided as an argument in the form of a Numeric array
     18        or a structure that can be converted to a Numeric array.
    17191.2.1   The gauges file should contain the gauge name and location defined in eastings and northings.
    18201.2.2   The gauge file should be a comma separated file.
    1921
    20 1.3     The module should be contained in data_manager.py
    21 1.3.1   The output should be available as data and graphics.
     221.3     The module should be contained in data_manager.py (I think it should be a new module (Ole))
     231.3.1   The output should be available both as data and graphics.
    22241.3.2   The default output shall be graphics.
    23 1.3.3   The output should be available for a prescribed time range.
     251.3.3   The output should optionally be computed for a prescribed time range.
    24261.3.4   The default time range is the complete time series.
    25271.3.5   The output should be stored in the same directory as the SWW file.
     
    3133
    3234def sww2timeseries(swwfile,
    33                    gauge_filename,
     35                   gauge_filename,   (or a structure that contains that info, e.g. based on Geospatial_data)
    3436                   gauge_data_outname,
    3537                   quantity = None,
Note: See TracChangeset for help on using the changeset viewer.