From 61d576b6d601ddd0b2279d7724b13d355d572802 Mon Sep 17 00:00:00 2001 From: Eliot McIntire Date: Fri, 9 Nov 2018 17:29:12 -0800 Subject: [PATCH] bugfix biomassMap -- missing url --- Boreal_LBMRDataPrep.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Boreal_LBMRDataPrep.R b/Boreal_LBMRDataPrep.R index df0129b..a1319b0 100644 --- a/Boreal_LBMRDataPrep.R +++ b/Boreal_LBMRDataPrep.R @@ -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,