Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check flux disturbance calculation #36

Open
ValentineHerr opened this issue Nov 6, 2017 · 4 comments
Open

Check flux disturbance calculation #36

ValentineHerr opened this issue Nov 6, 2017 · 4 comments
Assignees

Comments

@ValentineHerr
Copy link
Contributor

@teixeirak,
Could you check the calculations for the flux disturbance? the line of code is here.
The fix might be as simple as a changing the number of time the "disturb_years" gets repeated. Right now it looks like it is repeated too many times...

@teixeirak
Copy link
Contributor

teixeirak commented Nov 7, 2017

Here is the original code in Matlab (removing an irrelevant part):

for j=1:T_E+1
    FDx(j,g)=min(j,tR)*(FR(g)-Fx(j,g));  %displaced flux of recovering ecosystem
end

@teixeirak
Copy link
Contributor

Here is publication that gives this equation, along with the text excerpt giving this equation.

2011_Anderson-Teixeira & DeLucia_GCB.PDF

image

@teixeirak
Copy link
Contributor

If this doesn't make sense, let's sit down together next time we have a chance.

@ValentineHerr
Copy link
Contributor Author

Ok I think I fixed the problem but will wait for you to check with me before committing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants