-
Notifications
You must be signed in to change notification settings - Fork 6
Add zambia config #536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add zambia config #536
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3771,3 +3771,55 @@ countries: | |
| length: 3.0 | ||
| issue_months: [5, 6, 7, 8] | ||
| start_year: 1983 | ||
| zambia: | ||
| logo: Zambia_IRI_120x48.png | ||
| resolution: [0.05, 0.05] | ||
| center: [27, -15] | ||
| zoom: 6 | ||
| rotation: 0 | ||
| marker: [25, -17] | ||
| shapes: | ||
| - name: National | ||
| sql: select adm0_code as key, adm0_name as label, ST_AsBinary(the_geom) as the_geom | ||
| from iridb.g2015_2012_0 where adm0_name = 'Zambia' | ||
| vuln_sql: select adm0_code as key, year, sum(vulnerability) as vuln | ||
| from public.fbf_vulnerability where adm0_name = 'Zambia' group by 1, 2 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This presumably doesn't work, because there are no rows for Zambia in the fbf_vulnerability table. That will cease to be a problem once the vulnerability layer is removed, but it would be good to merge this sooner than that. See
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The vulnerability layer has been removed, so now all we need to do is remove |
||
|
|
||
| datasets: | ||
| defaults: | ||
| predictors: | ||
| - prcp | ||
| predictand: bad-years-v3 | ||
| observations: | ||
| bad-years-v3: | ||
| label: Reported bad years v3 | ||
| path: zambia/bad_years-national.zarr | ||
| var_names: | ||
| value: rank | ||
| time: T | ||
| colormap: precip | ||
| lower_is_worse: yes | ||
| format: number0 | ||
| forecasts: | ||
| prcp: | ||
| label: JAS fcst | ||
| description: NextGen seasonal rainfall forecast probability of non-exceedance of the selected percentile for the July-September season | ||
| path: zambia/prcp-ndj-v1.zarr | ||
| var_names: | ||
| value: pne | ||
| lat: Y | ||
| lon: X | ||
| issue: S | ||
| pct: quantile | ||
| colormap: pne_25 | ||
| is_poe: no | ||
| vuln: | ||
| colormap: vulnerability | ||
| range: [0.0, 5.0] | ||
| seasons: | ||
| season1: | ||
| label: JAS | ||
| target_month: 7.5 | ||
| length: 3.0 | ||
| issue_months: [0, 1, 2, 3, 4, 5] | ||
| start_year: 1991 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nitinmagima do we have a logo file? If not, we'll use the generic IRI one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To use the IRI one, put
IRI_128x128.png