You don't have permission to modify request #1410
Details Ticket 1410


Comment | Reply | Open


Serial Number 1410
Subject Wrong numeric format for distributed parameters
Area SciParam
Queue great-er
Requestors frank@intevation.de
Owner jan
Status resolved
Last User Contact Never contacted
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Thu Nov 21 23:37:27 2002 (10 yr ago)
Created Tue Nov 12 17:52:59 2002 (10 yr ago)

Transaction History Ticket 1410


Tue, Nov 12 2002 17:52:59    Request created by frank  
Subject: Wrong numeric format for distributed parameters

As specified numeric values have to be stored in exponential notation:
-> Example: R_SEWER 2.5000000000E-01

In case of a distributed parameter this formatting is ignored:
-> current:   R_TRICKLING_FILTER 0.94;0.98
-> specified: R_TRICKLING_FILTER 9.4000000000E-01;9.8000000000E-01

Thu, Nov 14 2002 10:30:42    Comments added by thomas  
SciParam returns float values, which can be (or have to be) formatted with
standard python functions.

Another option might be to add format strings to SciParam objects, which will
be used with the str() method.
Wed, Nov 20 2002 18:00:18    Taken by jan  
Thu, Nov 21 2002 23:37:27    Status changed to resolved by jan  
Thu, Nov 21 2002 23:37:27    Comments added by jan  
A test for this bug is in test/test_parameter.py.

The bug has been fixed in Modules/parameter.py
and Modules/discharge.py.
Comment | Reply | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request