uace-azmet / azmet-forecast-qa

Developing QA/QC routines for AZMet
0 stars 1 forks source link

Models are being re-fit with scheduled GH actions runs #43

Closed Aariq closed 1 year ago

Aariq commented 1 year ago

I thought I had this figured out, but looks like models are still getting re-fit every day there's new data. https://github.com/cct-datascience/azmet-qaqc/actions/runs/3979551506/jobs/6822051186#step:14:30

Need to figure out a more robust way to do this I guess.

Aariq commented 1 year ago

Easiest fix is to make the fit_model_daily target also query the API for data separately from the daily target. That way they are independent and daily becoming outdated doesn't trigger the models to re-run also. Fix coming in #48

Aariq commented 1 year ago

Nevermind, I can set depend = FALSE in tar_cue_age() to prevent it from re-running when daily is invalidated