diff --git a/agasc/supplement/magnitudes/mag_estimate_report.py b/agasc/supplement/magnitudes/mag_estimate_report.py index b337f623..06e2ebc9 100644 --- a/agasc/supplement/magnitudes/mag_estimate_report.py +++ b/agasc/supplement/magnitudes/mag_estimate_report.py @@ -251,6 +251,7 @@ def multi_star_html( { "id": "other_stars", "title": "Other Stars", + "description": "", "stars": self.agasc_stats["agasc_id"][ ~np.in1d(self.agasc_stats["agasc_id"], agasc_ids) ], @@ -1050,4 +1051,16 @@ def email_bad_obs_report(bad_obs, to, sender=SENDER): observation that the Kalman filter is getting any star centroid at all. This includes measurements out to 5 arcsec box halfwidth, so potentially 7 arcsec radial offset.""", + "magobs": + "Estimated magnitude. This will be the magnitude in the supplement after the update", + "magcatalog": "The magnitude in the AGASC catalog.", + "δmag cat": """Difference between observed and catalog magnitudes: + magobs - magcatalog""", + "δmagmag": """ + Difference between observed and catalog magnitudes divided by catalog magnitude error: + δmagmag""", + "δmag": + "Variation in observed magnitude since last version of AGASC supplement", + "δσ": + "Variation in observed magnitude standard deviation since last version of AGASC supplement" } diff --git a/agasc/supplement/magnitudes/templates/run_report.html b/agasc/supplement/magnitudes/templates/run_report.html index c2ca8a9f..8bf53359 100644 --- a/agasc/supplement/magnitudes/templates/run_report.html +++ b/agasc/supplement/magnitudes/templates/run_report.html @@ -56,6 +56,14 @@

{{ info.report_date }} Update Report

{%- for section in sections %}

{{ section.title }}

+ +

+ {{ section.description }} + Rows marked red are stars that have a failed observation in this run. + Rows marked yellow are stars that have a failed observation in their history, but not in this + run. +

+ @@ -137,6 +145,9 @@

{{ section.title }}

{%- if failures %}

Failures

+ +

Processing of these stars raised an exception.

+
diff --git a/agasc/supplement/magnitudes/templates/star_report.html b/agasc/supplement/magnitudes/templates/star_report.html index eda81c1f..71665b6c 100644 --- a/agasc/supplement/magnitudes/templates/star_report.html +++ b/agasc/supplement/magnitudes/templates/star_report.html @@ -68,6 +68,12 @@

Timeline

Observation Info

+ +

+ These are all observations of this star.Rows marked red are observations that failed to + process. +

+
AGASC ID
diff --git a/agasc/supplement/magnitudes/update_mag_supplement.py b/agasc/supplement/magnitudes/update_mag_supplement.py index cae26bd5..6eaa2a05 100755 --- a/agasc/supplement/magnitudes/update_mag_supplement.py +++ b/agasc/supplement/magnitudes/update_mag_supplement.py @@ -733,10 +733,14 @@ def do( updated_stars["mag_aca_err"] != 0 ) sections = [ - {"id": "new_stars", "title": "New Stars", "stars": new_stars}, + {"id": "new_stars", "title": "New Stars", "description": "", "stars": new_stars}, { "id": "updated_stars", "title": "Updated Stars", + "description": """ + Stars with updated magnitudes. Magnitudes are updated only if the absolute + change is larger than 0.01 mag. + """, "stars": ( updated_stars["agasc_id"][updt_mag].tolist() if len(updated_stars[updt_mag]) @@ -746,6 +750,10 @@ def do( { "id": "not_updated_stars", "title": "Magnitude not Updated", + "description": """ + Stars that are not updated. Magnitudes are updated only if the absolute + change is larger than 0.01 mag. + """, "stars": ( updated_stars["agasc_id"][~updt_mag].tolist() if len(updated_stars[~updt_mag]) @@ -755,6 +763,11 @@ def do( { "id": "other_stars", "title": "Other (unexpectedly not updated)", + "description": """ + Stars that were observed in the time range but something + prevented them from being included in the supplement. This normally does + not happen and might indicate a problem that should be investigated. + """, "stars": list( agasc_stats["agasc_id"][ ~np.in1d(agasc_stats["agasc_id"], new_stars)
OBSID