From f19f76a9cc7e58f9a094d98715d40812cd045938 Mon Sep 17 00:00:00 2001 From: Kevin Dougherty Date: Tue, 26 Oct 2021 14:40:41 +0000 Subject: [PATCH 1/2] updates to plot_features.py --- LAMDA/plot_features.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/LAMDA/plot_features.py b/LAMDA/plot_features.py index 799a8a5..65b0377 100644 --- a/LAMDA/plot_features.py +++ b/LAMDA/plot_features.py @@ -16,7 +16,6 @@ def qc_flag_colors(qcflag): """ Dictionary of colors to use for specific QC flag numbers. - Args: qcflag : (int) qc flag number Returns: @@ -55,7 +54,6 @@ def qc_flag_colors(qcflag): def get_obs_type(obs_id): """ Grabs the full name of a specific observation. - Args: obs_id: (list of ints) ID number(s) for conventional diagnostic @@ -143,7 +141,6 @@ def get_obs_type(obs_id): def get_bins(eval_type, stats): """ Calculates bins to use for histogram plot. - Args: eval_type : (str) determines how to create bins whether 'diff' or 'magnitude' @@ -172,7 +169,6 @@ def calculate_stats(data): Calculates n, mean, min, max, standard deviation, and RMSE. Returns dictionary with stats. - Args: data : (array-like) array of data to calculate stats @@ -204,7 +200,6 @@ def get_labels(metadata): """ Creates a dictionary of title, date title, and the save file name using information from the metadata. - Args: metadata : (dict) metadata dictionary created by diags.py Returns: @@ -265,7 +260,6 @@ def get_labels(metadata): def varspecs_name(variable): """ Grabs the specific variable name to utlitize emcpy's VariableSpecs. - Args: variable : (str) variable name Returns: From 30698ee4d6b09411f25160d8509f2f9c7a917354 Mon Sep 17 00:00:00 2001 From: Kevin Dougherty Date: Fri, 12 Nov 2021 21:15:01 +0000 Subject: [PATCH 2/2] quick typo in workflow --- LAMDA/scripts/LAMDA_stats_workflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LAMDA/scripts/LAMDA_stats_workflow.py b/LAMDA/scripts/LAMDA_stats_workflow.py index 4852106..427926b 100644 --- a/LAMDA/scripts/LAMDA_stats_workflow.py +++ b/LAMDA/scripts/LAMDA_stats_workflow.py @@ -120,7 +120,7 @@ def create_minimization_plots(data_dict, outdir): cycles.append(cycle) # Concatenate all files into one dataframe - fits2_df = concatenate_dfs(fits_data, 'cost', cycles, + fits2_df = concatenate_dfs(fits2_data, 'cost', cycles, data_type='cost') # Create plot by calling plotting script