Skip to content

Commit

Permalink
sample projection was a percentage rather than decimal
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanda Eames committed Jan 3, 2025
1 parent fee0274 commit adb0441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion global-api/routes/ghgi_emission_forecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def db_city_emission_forecast(actor_id, forecast_year, spatial_granularity):
TRIM(unnest(STRING_TO_ARRAY(gpc_sector,','))) AS gpc_sector,
2023 as forecast_year,
year as future_year,
value as growth_rate
value/100 as growth_rate
FROM (
SELECT 'III' AS gpc_sector, 2024 AS year, 0.670 AS value UNION ALL
SELECT 'III', 2025, 0.440 UNION ALL
Expand Down

0 comments on commit adb0441

Please sign in to comment.