You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While checking #130, I noticed that there hasn't been a Slack notification regarding the global cases counts TSV for a ~while. I then realized that the global case counts at s3://nextstrain-data/files/workflows/forecasts-ncov/cases/global.tsv.gz has not been updated since 2024-08-17! The upstream OWID COVID-19 data has been moved and we need to update fetch-ncov-global-case-count.
Updating fetch-ncov-global-case-count should be pretty straight-forward:
diff --git i/ingest/bin/fetch-ncov-global-case-counts w/ingest/bin/fetch-ncov-global-case-counts
index ef68fc9..35be204 100755
--- i/ingest/bin/fetch-ncov-global-case-counts+++ w/ingest/bin/fetch-ncov-global-case-counts@@ -2,13 +2,13 @@
set -euo pipefail
# Fetch CSV from Our World in Data
-curl https://covid.ourworldindata.org/data/owid-covid-data.csv \+curl https://catalog.ourworldindata.org/garden/covid/latest/compact/compact.csv \
--fail --silent --show-error --location \
--header 'User-Agent: https://github.com/nextstrain/counts ([email protected])' |
- # Only keep the date, location, and new_cases columns- csvtk cut -f location,date,new_cases |- # Rename new_cases to cases- csvtk rename -f new_cases -n cases |+ # Only keep the date, country, and new_cases columns+ csvtk cut -f country,date,new_cases |+ # Rename new_cases to cases and country to location+ csvtk rename -f new_cases,country -n cases,location |
# Only keep rows that have more than 0 cases
csvtk filter -f "cases>0" |
# Remove decimals from case counts
While checking #130, I noticed that there hasn't been a Slack notification regarding the global cases counts TSV for a ~while. I then realized that the global case counts at
s3://nextstrain-data/files/workflows/forecasts-ncov/cases/global.tsv.gz
has not been updated since 2024-08-17! The upstream OWID COVID-19 data has been moved and we need to update fetch-ncov-global-case-count.However, the bigger question is do we still need the case counts? From what I can see, the case counts are only used by the renewal model and we are no longer running the renewal model.
Possible solutions
fetch-ncov-global-case-count
The text was updated successfully, but these errors were encountered: