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

(chore) update stored procedures indicator data #968

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ $$
material_h3_column_name varchar;
h3_resolution integer;
deforestation_h3_table_name varchar := 'h3_grid_deforestation_global'; --update with new deforestation table
deforestation_h3_column_name varchar := 'hansenLoss2020HaBuffered';
deforestation_h3_column_name varchar := 'hansenLossBuffered2021';
sum float;

BEGIN
Expand Down Expand Up @@ -86,7 +86,7 @@ $$
material_h3_column_name varchar;
h3_resolution integer;
carbon_h3_table_name varchar := 'h3_grid_ghg_global';
carbon_h3_column_name varchar := 'forestGhg2020Buffered';
carbon_h3_column_name varchar := 'forestGhgBuffered2021';
sum float;

BEGIN
Expand Down
4 changes: 2 additions & 2 deletions api/test/utils/indicator-records-preconditions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ export const createWorldToCalculateIndicatorRecords = async (
h3tableName: 'h3_grid_spam2010v2r0_global_ha',
});
const weightedCarbonH3Data = await createH3Data({
h3columnName: 'forestGhg2020Buffered',
h3columnName: 'forestGhgBuffered2021',
h3tableName: 'h3_grid_ghg_global',
});
const weightedDeforestationH3Data = await createH3Data({
h3columnName: 'hansenLoss2020HaBuffered',
h3columnName: 'hansenLossBuffered2021',
h3tableName: 'h3_grid_deforestation_global',
});
const waterStressH3Data = await createH3Data({
Expand Down
4 changes: 2 additions & 2 deletions api/test/utils/scenario-interventions-preconditions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ export async function createInterventionPreconditions(
h3tableName: 'h3_grid_spam2010v2r0_global_ha',
});
const weightedCarbonH3Data = await createH3Data({
h3columnName: 'forestGhg2020Buffered',
h3columnName: 'forestGhgBuffered2021',
h3tableName: 'h3_grid_ghg_global',
});
const weightedDeforestationH3Data = await createH3Data({
h3columnName: 'hansenLoss2020HaBuffered',
h3columnName: 'hansenLossBuffered2021',
h3tableName: 'h3_grid_deforestation_global',
});
const waterStressH3Data = await createH3Data({
Expand Down