USEPA / AMET

Code base for the U.S. EPA’s Atmospheric Model Evaluation Tool (AMET)
https://www.epa.gov/CMAQ/atmospheric-model-evaluation-tool
21 stars 22 forks source link

Issue with AQ_Stacked_Barplot_AE6.R #77

Closed wkappel closed 5 years ago

wkappel commented 5 years ago

Currently there is an issue with the AQ_Stacked_Barplot_AE6.R script that results in incorrect bars being plotted. This is likely due to an error in the computation of PM_other in the script and the aggregation function being applied. Users should not use this script until the issue is resolved.

Users are advised to use the other stacked bar plotting scripts available, namely the AQ_Stacked_Barplot_AE6_ggplot.R and AQ_Stacked_Barplot_AE6_plotly.R scripts. These scripts appear to be functioning correctly.

This issue will be updated when the problem with the script is fixed.

wkappel commented 5 years ago

After closer examination, it turns out that there is no error in the stacked bar plot script. The differences I was seeing came from an error in the observed data in my AMET database for one of the projects I was using. This error would only affect me. Simply reprocessing the data using fixed the issue. I'm closing this issue as it does appear to be a bug in the plotting script.