Skip to content

Commit

Permalink
Ran treecoverloss package for flux model v1.4.0. Haven't changed it t…
Browse files Browse the repository at this point in the history
…o output emissions by each gas yet.
  • Loading branch information
dagibbs22 committed Dec 24, 2024
1 parent c34cc8b commit 9078424
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ sparkS3JarFolder := "s3://wri-users/dgibbs/geotrellis/jars"
sparkS3LogUri := Some("s3://wri-users/dgibbs/geotrellis/logs")
sparkSubnetId := Some("subnet-8c2b5ea1")
sparkSecurityGroupIds := Seq("sg-00ca15563a40c5687", "sg-6c6a5911")
sparkInstanceCount := 201 // 201 for carbonflux and carbon_sensitivity
//sparkInstanceCount := 10 // for running test areas in EMR
//sparkInstanceCount := 201 // 201 for carbonflux and carbon_sensitivity
sparkInstanceCount := 10 // for running test areas in EMR
sparkMasterType := "r4.2xlarge"
sparkCoreType := "r4.2xlarge"
sparkMasterEbsSize := Some(10)
Expand All @@ -200,24 +200,24 @@ sparkJobFlowInstancesConfig := sparkJobFlowInstancesConfig.value.withEc2KeyName(
"dgibbs_wri"
)

// For carbonflux runs
sparkEmrBootstrap := List(
BootstrapAction(
"Install GDAL 3.1.2 dependencies",
"s3://gfw-pipelines/geotrellis/bootstrap/gdal.sh",
"3.1.2"
)
)

//// For other runs
//// For carbonflux runs
//sparkEmrBootstrap := List(
// BootstrapAction(
// "Install GDAL 3.8.3 dependencies",
// "s3://gfw-pipelines/geotrellis/bootstrap/gdal-3.8.3.sh",
// "3.8.3"
// "Install GDAL 3.1.2 dependencies",
// "s3://gfw-pipelines/geotrellis/bootstrap/gdal.sh",
// "3.1.2"
// )
//)

// For other runs
sparkEmrBootstrap := List(
BootstrapAction(
"Install GDAL 3.8.3 dependencies",
"s3://gfw-pipelines/geotrellis/bootstrap/gdal-3.8.3.sh",
"3.8.3"
)
)

sparkRunJobFlowRequest := sparkRunJobFlowRequest.value
.withTags(new Tag("Project", "Global Forest Watch"))
.withTags(new Tag("Job", "Carbon Flux Analysis Geotrellis"))
Expand Down

0 comments on commit 9078424

Please sign in to comment.