Commit 2942626d7e2a5cd9f7fc2122d3cc435b9856ca34
1 parent
ec483087
Exists in
rhitier-dev
Tweak log messages
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
web/run.py
@@ -891,10 +891,10 @@ def generate_csv_contents_spz(target_slug, input_slug, started_at, stopped_at): | @@ -891,10 +891,10 @@ def generate_csv_contents_spz(target_slug, input_slug, started_at, stopped_at): | ||
891 | orbit_dict = target_config['orbit']['models'][0]['parameters'] | 891 | orbit_dict = target_config['orbit']['models'][0]['parameters'] |
892 | parameters_dict = {**plasma_dict, **orbit_dict} | 892 | parameters_dict = {**plasma_dict, **orbit_dict} |
893 | 893 | ||
894 | - log.info(f"Aggregating dataframes speazy parameters for {input_slug} to {target_slug}" ) | 894 | + log.info(f"Aggregating dataframes speazy parameters for '{input_slug}' to '{target_slug}'" ) |
895 | list_df = [] | 895 | list_df = [] |
896 | for _name, _id in parameters_dict.items(): | 896 | for _name, _id in parameters_dict.items(): |
897 | - log.debug(f"Parameter {_name}: {_id}") | 897 | + log.debug(f"Getting parameter id '{_id}' for '{_name}'") |
898 | _df = amda.get_data(_id, started_at, stopped_at).to_dataframe() | 898 | _df = amda.get_data(_id, started_at, stopped_at).to_dataframe() |
899 | if _name == 'xy_v': | 899 | if _name == 'xy_v': |
900 | _df = _df.rename(columns={_df.columns[0]: 'vrad', _df.columns[1]: 'vtan'}) | 900 | _df = _df.rename(columns={_df.columns[0]: 'vrad', _df.columns[1]: 'vtan'}) |