Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
flohump committed Aug 13, 2023
1 parent af93872 commit 5fd2ccc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/output/extra/disaggregation_LUH2.R
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ a[crop_hr<crop_threshold] <- NA
#divide by croparea -> tN/ha; convert from tN/ha to kgN/ha: tN/ha*1000kg/t = 1000 kgN/ha

a <- (a/crop_hr)*1000
x <- NULL

if(!file.exists(paste0(out_dir,"/LUH2_Nitrogen_fertilizer.nc"))){
x <- convertLUH2(clean_magpie(collapseNames(a[,,"fertilizer"],collapsedim = 3.1)))
Expand Down

0 comments on commit 5fd2ccc

Please sign in to comment.