Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapping - Field order #5

Open
stufraser1 opened this issue Aug 13, 2020 · 4 comments
Open

Mapping - Field order #5

stufraser1 opened this issue Aug 13, 2020 · 4 comments
Labels
question Further information is requested

Comments

@stufraser1
Copy link
Collaborator

Does the order of fields in a mapping file matter?
With an eye on being able to provide 'industry default' mapping files, ideally we would easily draw attention to fields and values which differ from the 'default' developed collaboratively and agreed by e.g. the Exposure Transformation techincal working group. Could we put the adjusted fields at the top of the file, for example?

@stufraser1
Copy link
Collaborator Author

In transform: Order of fields transformed does not matter - BUT the order of fields in output csv file will reflect the order of fields in mapping file - so the mapping file order should be dictated by any required ordering of fields in model input.

In types: Order of input fields does not matter.

reverse/forward: These can be placed in any order, as long as the full block is present (including types: and transform:)

input_format/output_format: These can be placed in any order and before or after other blocks, as long as they are outside the forward/reverse blocks.

@stufraser1
Copy link
Collaborator Author

stufraser1 commented Jan 12, 2022

add this to the mapping files section in docs

@stufraser1 stufraser1 reopened this Jan 12, 2022
@stufraser1 stufraser1 changed the title Order of fields in mapping files Mapping - Field order Apr 5, 2022
@stufraser1
Copy link
Collaborator Author

Workshop 30 March 22: Participant feedback supports standard ordering of fields:

"order of fields does matter in Touchstone files - not critical but would help in manual validation to see fields in order. >> Default mapping files should have correct order of fields."

@stufraser1 stufraser1 added the question Further information is requested label Apr 7, 2022
@stufraser1
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant