Not 100% sure this is right, but I think it should filter for the target_date, not the actual date.
Otherwise there is no way to run this for past target_dates, as the data that is left in is determined by the most recent available date, not the target_date.
This PR therefore changes 'date' to 'target_date' when filtering observations
Not 100% sure this is right, but I think it should filter for the target_date, not the actual date. Otherwise there is no way to run this for past target_dates, as the data that is left in is determined by the most recent available date, not the target_date.
This PR therefore changes 'date' to 'target_date' when filtering observations