Skip to content
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

Xchourio/oromia bad years #414

Merged
merged 17 commits into from
Apr 1, 2024
Merged

Xchourio/oromia bad years #414

merged 17 commits into from
Apr 1, 2024

Conversation

xchourio
Copy link
Contributor

Task: Update southern Oromia OND bad years
Project: AA(FbF)

To achieve this, we need to produce zarr files from a shared CSV file. I've used the script from Madagascar (bad-years-v3.py) as a basis, which uses a file with similar data values (ranks). I've generalized it in such a way that we can use it for any region/country that provides us with a CSV file. The CSV (see bad_years.csv example) file should have a descriptive first line, followed by a column with the year and a column with the values (ranks) for each station (the column name should be the station). I've added validations considering that in the future, this will be handed over to the local parthners who will be executing it.

Does it make sense to ask the FbF group to take care of updating the bad_year file following this format, or is it better to do it ourselves?

zarr file is available in: /data/aaron/fbf-candidate/oromia/bad-years-v3-ond.zarr

Copy link
Collaborator

@aaron-kaplan aaron-kaplan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good so far. Please add this dataset to fbfmaproom-sample.yaml and test it in the application.

fbfmaproom/fbfmaproom-sample.yaml Outdated Show resolved Hide resolved
fbfmaproom/fbfmaproom-sample.yaml Outdated Show resolved Hide resolved
fbfmaproom/data-conversion-scripts/oromia/bad_years.csv Outdated Show resolved Hide resolved
fbfmaproom/fbfmaproom-sample.yaml Outdated Show resolved Hide resolved
fbfmaproom/data-conversion-scripts/oromia/bad_years.csv Outdated Show resolved Hide resolved
fbfmaproom/fbfmaproom.py Outdated Show resolved Hide resolved
fbfmaproom/fbfmaproom.py Outdated Show resolved Hide resolved
@aaron-kaplan
Copy link
Collaborator

@xchourio one last change please: rename bad-years-v3-3season.py to southern-oromia-bad-years-v3-3season.py.

@xchourio
Copy link
Contributor Author

xchourio commented Apr 1, 2024

@xchourio one last change please: rename bad-years-v3-3season.py to southern-oromia-bad-years-v3-3season.py.

Done!

@xchourio
Copy link
Contributor Author

xchourio commented Apr 1, 2024 via email

@aaron-kaplan
Copy link
Collaborator

Please do.

@xchourio xchourio merged commit 2349c9e into master Apr 1, 2024
1 check passed
@xchourio xchourio deleted the xchourio/oromia-bad-years branch April 1, 2024 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants