Skip to content

Commit

Permalink
bugfix biomassMap -- missing url
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotmcintire committed Nov 10, 2018
1 parent d32c5df commit 61d576b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Boreal_LBMRDataPrep.R
Original file line number Diff line number Diff line change
Expand Up @@ -447,13 +447,13 @@ Save <- function(sim) {
" or in a module that gets loaded prior to ", currentModule(sim))
}
}

if (!suppliedElsewhere("biomassMap", sim) || needRTM) {
sim$biomassMap <- Cache(prepInputs,
targetFile = asPath(basename(biomassMapFilename)),
archive = asPath(c("kNN-StructureBiomass.tar",
"NFI_MODIS250m_kNN_Structure_Biomass_TotalLiveAboveGround_v0.zip")),
#url = extractURL("biomassMap"),
url = extractURL("biomassMap"),
destinationPath = dPath,
studyArea = sim$shpStudyArea,
rasterToMatch = sim$rasterToMatch,
Expand Down

0 comments on commit 61d576b

Please sign in to comment.