Skip to content
Snippets Groups Projects
Commit bb1c5cb3 authored by ivar's avatar ivar
Browse files

removed '-1' factor to calculate BC. BC parameter is already relative to 0.0

parent 029def4e
Branches
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ procs= as.integer(args[1])
#inputs and outputs
stiltfile = paste("stilt_",procs,".rc", sep="")
curdir="/Storage/CO2/wei/ctdas-stilt-parallel-bc-f-newcov-bugfix-updatedfoot/exec/da/stilt/"
curdir="/Storage/ivar/ctdas-stilt-moresites-aircraft-final/exec/da/stilt/"
fn=paste(curdir, stiltfile,sep="")
conf=as.matrix(read.table(fn,header=FALSE))
......@@ -694,12 +694,12 @@ for(mm in 1:length(pfbfns))
{
if(xxleft<b2) #flux with scaling factors
{
fbouarr[i] = fbou + (scalefacarr_bc1[i]-1.)
fbouarr[i] = fbou + (scalefacarr_bc1[i])
}
else
{
fbouarr[i] = fbou + (scalefacarr_bc2[i]-1.)
fbouarr[i] = fbou + (scalefacarr_bc2[i])
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment