Both of them should work. I just did a test and it behaves correctly. Can you show more details of this problem? Are you calling the method Get2DVectorParameterWithUnits()?
It seems that you added FieldNamesToUpper() inside Get2DVectorFieldValueWithUnits(), which makes the units field name unrecognizable. The fix could be that we make the concept “parameter” also case insensitive.
I think we could try Get2DVectorParameterWithUnits() as an upgrade of the old method Get2DVectorFieldValueWithUnits(). In V2.2 concept, “parameter” is more generic than “field value”, and coule be more user friendly.
I see. For the moment I introduced a quick fix at commit 565cbee7.
Please, try to integrate clang-format in your IDE so that we minimise the format changes on each commit allowing us to identify real changes to the code quickly.
I was thinking on it. Do you mean the parameter name to be case insensitive?