Implement more intuitive output filename labelling#1955
Implement more intuitive output filename labelling#1955ukmo-huw-lewis wants to merge 6 commits intomainfrom
Conversation
|
Marking as ready for review. Updated tests illustrative of filename convention change introduced by proposed changes. Note no updates to histogram or timeseries filename titles (see related Issue) introduced here yet. Can aim to implement as part of same Issue/PR, but flagging initial implementation for review at this stage. |
daflack
left a comment
There was a problem hiding this comment.
Initial review: happy with these changes and agree makes the file naming convection much more human readable. I'd suggest adding in the histogram and timeseries changes into this issue and PR as all related to filename changes to make more interpretable.
plot functions, applicable to all plot types
|
Example workflow output with updated plot titles and filenames: https://wwwspice/~huw.lewis/CSET_Singapore_training/ Note Q-Q and scatter plots are currently unchanged. |
|
Note for aggregation plots, filenames and plot titles remain a function of aggregation 'sequence' (e.g. hour of day) only. For timeseries aggregated by hour of day, a '[0 hours]' now appears in the plot title (was it there previously?), which should be removed. |
|
@daflack - PR ready for fresh review. May need further changes to address aggregation options. |
There was a problem hiding this comment.
Overall looking very good, and really useful. A couple of comments one in relation to your question around Q-Q plots and one in relation to testing.
- It would be nice if we could have a countertest to the if statement on L501 of
plot.pycurrently it is always true in the tests. Do we expect this to be the case if so we can remove that line, otherwise it would be helpful to have a test when this isn't true. - In relation to the Q-Q plots, if possible it would make sense to match it to the histogram (all) - so we show the timeframe of the entire forecast. If this is not possible due to the way the code is written for the Q-Q plots please write an issue so that we know we need to alter the coding of the Q-Q plots to allow this to happen. It might be the case that we need to make it similar to the histogram plots coding if that is the case. I believe there is an issue already for aggregation of Q-Q plots (#1714 ) so you could always add it into that issue.
Also I don't remember the [0 hours] being there before and I'm not sure I have any other ideas on the naming convention for the aggregation files than what we currently have.




associated tests
Contribution checklist
Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.
rose-suite.conf.examplehas been updated if new diagnostic added.