kirenbahm / ENP_TOOLS

Scripts used to pre- and post-process data
0 stars 2 forks source link

Yearly boxplot axis incorrect #51

Closed kirenbahm closed 3 years ago

kirenbahm commented 3 years ago

In the preprocessing scripts, the series plotted do not match up with the axes. See example plot for Las_Palmas station G4. I think the script is currently programmed to calculate the total number of years in the timeseries, and then divide up the axes and plot the data equally across the x-axis. This has worked for model datasets with continuous timeseries, but does not work with measured datasets that have gaps in the data. I think the boxplot function is also used in the postprocessing scripts, so the execution there needs to be checked too. Also check the monthly boxplot function for the same logic error. Please fix this. Yearly_boxplot_issue