[C&S][Inputs] Restructure Crop & Soil input files and update metadata #2770
Isgotkowitz
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The Crop & Soil inputs need to be restructured so that the keys of the metadata will be static no matter how many fields, soil profiles, crop rotations, etc. are simulated.
Status
When simulating multiple different fields, an entry is added to the metadata for each field. Likewise with each different soil profile, crop rotation, fertilizer application, etc. This means that the keys in the "files" object in the metadata will vary from simulation to simulation, based on how many different fields, crop rotations, soil profiles, etc. are being simulated. It also means that entries in field input files need to match keys that are entered in the metadata.
Intention
Make the input files reference each other, not the metadata. Also have the keys of the metadata be static no matter how many different C&S inputs there are. Having a static set of keys in the metadata will make it easier to introduce new features into RuFaS.
Request
Re-organize and rewrite the C&S inputs, metadata files, and metadata properties as specified in this design doc: https://docs.google.com/document/d/1JKqkVCeoVgKXPZ80iRmNP4ZGFzgywbLwH2LpChd_xuQ/edit?tab=t.0
Target deadline
Additional Information
This change to the inputs will not be backwards compatible. So it is critically important that everyone on the RuFaS team knows that this change is being made, and that inputs will have to updated accordingly. Consider writing a script that will automate this process.
This issue is a blocker for #2122
All reactions