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

add per indicator thrsholding and new dump #1073

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

CarsonDavis
Copy link
Collaborator

@CarsonDavis CarsonDavis commented Oct 17, 2024

@@ -69,7 +69,7 @@ def categorize_processing_level(level):
# remove existing data
EnvironmentalJusticeRow.objects.filter(destination_server=EnvironmentalJusticeRow.DestinationServerChoices.DEV).delete()

ej_dump = json.load(open("backups/ej_dump_20240815_112916.json"))
ej_dump = json.load(open("backups/ej_dump_20241017_133151.json.json"))

Choose a reason for hiding this comment

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

double extension?

Comment on lines +89 to +99
thresholds = {
"Not EJ": 0.80,
"Climate Change": 0.95,
"Disasters": 0.80,
"Extreme Heat": 0.50,
"Food Availability": 0.80,
"Health & Air Quality": 0.90,
"Human Dimensions": 0.80,
"Urban Flooding": 0.50,
"Water Availability": 0.80,
}

Choose a reason for hiding this comment

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

move to config or somewhere more visible / elegant / configurable

Copy link

@muthukumaranR muthukumaranR left a comment

Choose a reason for hiding this comment

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

minor comments. else lgtm

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