Hi
I have another proposal to update FDSN StationXML and wanted to toss it
out.
1) Change NumeratorCoefficient in FIRType to use attribute "number" instead
of "i" and add attribute "number" to Numerator and Demoninator in
CoefficientsType.
Currently
PoleZero in PolesZerosType are numbered with "number",
NumeratorCoeffiecient is numbered in FIRType with "i",
Numerator and Demoninator are not numbered in CoefficientsType,
Coefficient is numbered with "number" in PolynomialType
It would be nice if these were all uniform. Probably all coefficients
should be numbered or none, and would be nice if the names were the same,
using "number" instead of "i". Mathematically, the poles and zeros don't
really need to be numbered as they are just multiplication and commute, but
order matters for coefficients. Could consider removing "number" from
PoleZeroType.
2) Change NumeratorCoefficient in FIRType and Numerator and Demoninator
in CoefficientsType to FloatNoUnitType.
Currently
PoleZeroType is FloatNoUnitType
FIRType NumeratorCoefficient is xs:double,
CoefficientsType Numerator and Demoninator are FloatType,
PolynomialType Coefficient is FloatNoUnitType
and it would be good if all of these were treated the same.
The attribute change (1) would cause a change in code, but in many cases I
think the FloatNoUnitType (2) would probably not require any code changes
on existing clients or servers.
A github pull request is here:
https://github.com/FDSN/StationXML/pull/1
thanks,
Philip