-
Notifications
You must be signed in to change notification settings - Fork 174
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
Splitting the Validation Files #9617
Comments
@par456. Power to your arm! This needs doing to tidy up the test set and allow us to extract maximum value from the testing system. It is logical to have .apsimx model config files paired with observed files at an experimental level so experiments can be used to validate multiple models and custodians of experiments can easily find their experiment set ups in the testing system.
|
|
|
Where does the refactoring of the scoping methodology fit in this project? It would be useful if we didn't have two ways of addressing variables (with and without square brackets around the first class) depending on if the address needs to be scoped. |
Not within this project, that's part of the locator system and that's way to big a system to start modifying as part of this project. |
I am trying to build some different approaches to visualizing and testing the wheat validation and a reoccurring frustration is the way we currently handle errors in observed files. A better approach (At least from my opinion) would be to limit columns in observed files to observed values that match an apsim variable and enter replicate values down the column (where replicates exist). The software doing the stats (APSIM gui or custom system) could then apply what ever method is deemed most appropriate to aggregate the replicate values (mean or median etc) and apply a consistent method to quantify errors. This would also leave the list of column headers as a tidy record of what observations are present making the curation of validation sets and scripting of analysis easier. |
Hmm, not a bad idea @HamishBrownPFR. Perhaps create this as a separate GitHub Issue. |
Something else that I encounter that has not caused major problems but does not feel quite right is the use of Phenology.CurrentStageName == 'HarvestRipe' to identify final harvest data in observed files. We arbitrarily apply put 'HarvestRipe' in the Phenology.CurrentStageName column alongside final harvest data regardless of whether the crop was at the harvest ripe stage or not. In reality harvest may be taken earlier that harvest ripe (and samples dried) or later than harvest ripe if the crop got there before samples were taken. The potential problem with this is that we are assume everything that matches an apsim output variable in an observed file is a legitimate observation. There is a chance someone could wrongly assume the 'HarvestRipe' values were observations of the time that harvest ripe occurred on, associate this with the date of harvest and make a comparison of observed and predicted dates. It may be safer and provide a cleaner convention if we found another way to identify which observed data represents a final harvest. Perhaps we should have an event column in the obs file where we put [Wheat].Harvesting (or what ever appropriate event) to tag specific data in the observed file |
Describe the new feature
As part of the ongoing update to the build system, we are redesigning how APSIM validation files are being handled so that we can avoid the following problems:
In order to do this, we need to break up the current validation files for each model, which are currently just a single big apsimx file for each model, along side weather files and excel files for the observed data. A text file input will be used to help break up these big files, so that experiments can still be grouped together when required.
After splitting these up, each experiment or group of experiment, will be placed into a sub directory within the validation/model folder, with an excel sheet that only contains records for the simulations that are connected to that new apsimx file. Weather files will not be split or put into these subfolders as they are often shared between experiments.
Some issues we need to consider:
@HamishBrownPFR @hol353 @hut104
To do list:
The text was updated successfully, but these errors were encountered: