diff --git a/api/src/migrations/1664874035162-UpdatedMethodologyStoredFunctions.ts b/api/src/migrations/1664874035162-UpdatedMethodologyStoredFunctions.ts index bcbb991a5..31427f5a9 100644 --- a/api/src/migrations/1664874035162-UpdatedMethodologyStoredFunctions.ts +++ b/api/src/migrations/1664874035162-UpdatedMethodologyStoredFunctions.ts @@ -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 @@ -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 diff --git a/api/test/utils/indicator-records-preconditions.ts b/api/test/utils/indicator-records-preconditions.ts index 04e96aa3b..742976cdd 100644 --- a/api/test/utils/indicator-records-preconditions.ts +++ b/api/test/utils/indicator-records-preconditions.ts @@ -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({ diff --git a/api/test/utils/scenario-interventions-preconditions.ts b/api/test/utils/scenario-interventions-preconditions.ts index 313bb448f..7ae47be35 100644 --- a/api/test/utils/scenario-interventions-preconditions.ts +++ b/api/test/utils/scenario-interventions-preconditions.ts @@ -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({