params.fbf_districts_df reads a pandas DataFrame with a category column. For MOZ these categories are written in Portuguese.
run_aa_probabilities returns category names based on the the names from params.intensity_threshold, which in turn reads from the country config file. For MOZ, these are in English.
merge_un_biased_probsattempts to align these datasets along category name. As they were in different languages for MOZ, no alignment was found.
This PR adds a patch fix to translate params.fbf_districts_df on the fly in merge_un_biased_probs
params.fbf_districts_df
reads a pandas DataFrame with a category column. For MOZ these categories are written in Portuguese.run_aa_probabilities
returns category names based on the the names fromparams.intensity_threshold
, which in turn reads from the country config file. For MOZ, these are in English.merge_un_biased_probs
attempts to align these datasets along category name. As they were in different languages for MOZ, no alignment was found.This PR adds a patch fix to translate
params.fbf_districts_df
on the fly inmerge_un_biased_probs