Skip to content

Commit

Permalink
Generate subsampling config
Browse files Browse the repository at this point in the history
There are a few changes that don't impact functionality.
  • Loading branch information
victorlin committed Mar 27, 2024
1 parent ae69c16 commit 0fd6861
Show file tree
Hide file tree
Showing 10 changed files with 501 additions and 24 deletions.
477 changes: 477 additions & 0 deletions generate-subsampling-config.py

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions subsampling/africa_6m.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ samples:
max_date: --max-date 6M
exclude: --exclude-where 'region=Africa'
focal_recent:
group_by: country year month
group_by: country month
max_sequences: 2560
min_date: --min-date 6M
exclude: --exclude-where 'region!=Africa'
context_recent:
group_by: country year month
group_by: country month
max_sequences: 640
min_date: --min-date 6M
exclude: --exclude-where 'region=Africa'
4 changes: 2 additions & 2 deletions subsampling/asia_1m.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ samples:
china_recent:
group_by: division year month
max_sequences: 800
max_date: --min-date 1M
min_date: --min-date 1M
exclude: --exclude-where 'country!=China'
india_recent:
group_by: division year month
max_sequences: 800
max_date: --min-date 1M
min_date: --min-date 1M
exclude: --exclude-where 'country!=India'
context_recent:
group_by: country year month
Expand Down
4 changes: 2 additions & 2 deletions subsampling/asia_2m.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ samples:
china_recent:
group_by: division year month
max_sequences: 800
max_date: --min-date 2M
min_date: --min-date 2M
exclude: --exclude-where 'country!=China'
india_recent:
group_by: division year month
max_sequences: 800
max_date: --min-date 2M
min_date: --min-date 2M
exclude: --exclude-where 'country!=India'
context_recent:
group_by: country year month
Expand Down
4 changes: 2 additions & 2 deletions subsampling/asia_6m.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ samples:
china_recent:
group_by: division year month
max_sequences: 800
max_date: --min-date 6M
min_date: --min-date 6M
exclude: --exclude-where 'country!=China'
india_recent:
group_by: division year month
max_sequences: 800
max_date: --min-date 6M
min_date: --min-date 6M
exclude: --exclude-where 'country!=India'
context_recent:
group_by: country year month
Expand Down
4 changes: 2 additions & 2 deletions subsampling/europe_6m.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ samples:
max_date: --max-date 6M
exclude: --exclude-where 'region=Europe'
focal_recent:
group_by: country year month
group_by: country month
max_sequences: 2560
min_date: --min-date 6M
exclude: --exclude-where 'region!=Europe'
context_recent:
group_by: country year month
group_by: country month
max_sequences: 640
min_date: --min-date 6M
exclude: --exclude-where 'region=Europe'
16 changes: 8 additions & 8 deletions subsampling/global_6m.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,42 +40,42 @@ samples:
max_date: --max-date 6M
exclude: --exclude-where 'region!=Oceania'
africa_recent:
group_by: country year month
group_by: country month
max_sequences: 600
min_date: --min-date 6M
exclude: --exclude-where 'region!=Africa'
asia_recent:
group_by: country year month
group_by: country month
max_sequences: 800
min_date: --min-date 6M
exclude: --exclude-where 'region!=Asia' 'country=China' 'country=India'
china_recent:
group_by: division year month
group_by: division month
max_sequences: 700
min_date: --min-date 6M
exclude: --exclude-where 'country!=China'
europe_recent:
group_by: country year month
group_by: country month
max_sequences: 500
min_date: --min-date 6M
exclude: --exclude-where 'region!=Europe'
india_recent:
group_by: division year month
group_by: division month
max_sequences: 700
min_date: --min-date 6M
exclude: --exclude-where 'country!=India'
north_america_recent:
group_by: division year month
group_by: division month
max_sequences: 400
min_date: --min-date 6M
exclude: --exclude-where 'region!=North America'
south_america_recent:
group_by: country year month
group_by: country month
max_sequences: 360
min_date: --min-date 6M
exclude: --exclude-where 'region!=South America'
oceania_recent:
group_by: division year month
group_by: division month
max_sequences: 60
min_date: --min-date 6M
exclude: --exclude-where 'region!=Oceania'
4 changes: 2 additions & 2 deletions subsampling/north-america_6m.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ samples:
max_date: --max-date 6M
exclude: --exclude-where 'region=North America'
focal_recent:
group_by: division year month
group_by: division month
max_sequences: 2560
min_date: --min-date 6M
exclude: --exclude-where 'region!=North America'
context_recent:
group_by: country year month
group_by: country month
max_sequences: 640
min_date: --min-date 6M
exclude: --exclude-where 'region=North America'
4 changes: 2 additions & 2 deletions subsampling/oceania_6m.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ samples:
max_date: --max-date 6M
exclude: --exclude-where 'region=Oceania'
focal_recent:
group_by: division year month
group_by: division month
max_sequences: 2560
min_date: --min-date 6M
exclude: --exclude-where 'region!=Oceania'
context_recent:
group_by: country year month
group_by: country month
max_sequences: 640
min_date: --min-date 6M
exclude: --exclude-where 'region=Oceania'
4 changes: 2 additions & 2 deletions subsampling/south-america_6m.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ samples:
max_date: --max-date 6M
exclude: --exclude-where 'region=South America'
focal_recent:
group_by: country year month
group_by: country month
max_sequences: 2560
min_date: --min-date 6M
exclude: --exclude-where 'region!=South America'
context_recent:
group_by: country year month
group_by: country month
max_sequences: 640
min_date: --min-date 6M
exclude: --exclude-where 'region=South America'

0 comments on commit 0fd6861

Please sign in to comment.