content.txt 1.65 KB
!1 User Story 66: Composed parameter with boxcar averaging processing function
http://yahscrum.akka.eu:8080/icescrum/p/AMDAKERNEL-66
!define path {../test/FitNesseRoot/ReleaseS/FirstPart/ReLease2/SprinT3/UserStory66/}
!define executable {amdaXMLRequestorTool}
!2 Description

Construct and output values of composed parameter obtained by application of boxcar averaging function to simple parameters.

!3 Note
Function has additional argument: time window.
No resampling and recasting applied in the function.
outParam = boxcar_averaging(param,time_window); param => array(N) outParam => array(N) N_ave = integer(time_window/sampling); outParam(0) == outParam(1) == ... == outParam(N_ave-1) = = (param(0) + param(1) ... param(N_ave-1))/N_ave 

!2 Tests

!3 ID-122 averaging scalar
'''Input: '''
paramID: density_boxcar
!-StartTime-!:2008000000000000
!-TimeInterval-!:0000000020000000

'''Output:''' ascii file

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 66: id 122|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_66_122.xml|args|
|check|result|0|
|check|diffOutputFile|test_66_122.txt|file1|output-density_boxcar_2008000000000000.txt|file2|0|epsilon|0|


!3 ID-123 averaging 1d table
'''Input:'''
paramID: imf_boxcar
!-StartTime-!:2008000000000000
!-TimeInterval-!:0000000020000000

'''Output:''' ascii file

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 66: id 122|id test|
|set|${path}|path|
|execute|${executable}|command|${path}request_66_123.xml|args|
|check|result|0|
|check|diffOutputFile|test_66_123.txt|file1|output-imf_boxcar_2008000000000000.txt|file2|0|epsilon|0|
!2 Suivit des modifications

-----
!contents -R2 -g -p -f -h