Changeset 2713
- Timestamp:
- Apr 12, 2006, 11:03:54 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/requirements/plotting_module_requirements.txt
r2692 r2713 9 9 1.1 The prescribed quantities must be a name of an existing quantity or an expression involving existing quantities. 10 10 1.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.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. ['stage', 'depth', 'xmomentum', 'ymomentum', 'momentum', 'velocity', 'bearing']. 12 1.1.3 Absolute momentum ('momentum') will be calculated as sqrt(xmomentum^2 + ymomentum^2). 13 1.1.4 Velocity should be calculated as absolute momentum divided (pointwise) by depth. 14 1.1.5 Bearing should return the angle of the momentum vector (xmomentum, ymomentum) from the North direction. 15 15 16 1.2 The gauge locations should be defined in a separate file. 16 1.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. 17 19 1.2.1 The gauges file should contain the gauge name and location defined in eastings and northings. 18 20 1.2.2 The gauge file should be a comma separated file. 19 21 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.22 1.3 The module should be contained in data_manager.py (I think it should be a new module (Ole)) 23 1.3.1 The output should be available both as data and graphics. 22 24 1.3.2 The default output shall be graphics. 23 1.3.3 The output should be availablefor a prescribed time range.25 1.3.3 The output should optionally be computed for a prescribed time range. 24 26 1.3.4 The default time range is the complete time series. 25 27 1.3.5 The output should be stored in the same directory as the SWW file. … … 31 33 32 34 def sww2timeseries(swwfile, 33 gauge_filename, 35 gauge_filename, (or a structure that contains that info, e.g. based on Geospatial_data) 34 36 gauge_data_outname, 35 37 quantity = None,
Note: See TracChangeset
for help on using the changeset viewer.