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

Singular results of biascorrection() #27

Open
Fisico2k opened this issue Mar 15, 2022 · 1 comment
Open

Singular results of biascorrection() #27

Fisico2k opened this issue Mar 15, 2022 · 1 comment

Comments

@Fisico2k
Copy link

I am trying to use biascorrection() with isimip3 algorithm. Here the code:

pr.proj.BC <- biasCorrection(pr.arcis.ORIG.hist, pr.hist, pr.proj, precipitation=TRUE, wet.threshold=1,method="isimip3")

Now:
pr.arcis.ORIG.hist is a grid 2x2km for period 1971-2005. It is an interpolation of station data. Variable: daily cumulative precipitation
pr.hist is a grid 12x12km for period 1971-2005. It is the output of a CORDEX model in historical period. Variable: daily cumulative precipitation
pr.proj is a grid 12x12km for period 2006-2015. It is the output of a CORDEX model in forecast period. Variable: daily cumulative precipitation.

The issue I realize is that in some grid points the resulting grid pr.proj.BC have negative values for pr variable. How is it possible? Is there an error in the R script. Is the mistake mine?

@Alireza-Amani
Copy link

@Fisico2k , Hey there,

I think it would be very helpful if you could provide a minimal re-producible code that also includes small part of your data. Im not sure what is the proper way to include data in a github issue, maybe you can upload it somewhere?

Note that im just a user of this nice library, not a developer. But It d be great if I can be of any use for your problem.

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