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

Error in using a function "climdexGrid()" #4

Open
xiaoyujiaxyj opened this issue Sep 26, 2020 · 0 comments
Open

Error in using a function "climdexGrid()" #4

xiaoyujiaxyj opened this issue Sep 26, 2020 · 0 comments

Comments

@xiaoyujiaxyj
Copy link

Hello!
According to the definition of the climate index "Rnnmm", nn is a user defined threshold. When I tried to calculate the "R1mm" by using "climdexGrid()", it told me error in match.arg(index.code...). How can I define the nn threshold?
The code is:

R1mm <- climdexGrid(pr = prdata, index.code = "R1mm")
Error in match.arg(index.code, choices = c("FD", "SU", "ID", "TR", "GSL", :
'arg' should be one of “FD”, “SU”, “ID”, “TR”, “GSL”, “TXx”, “TNx”, “TXn”, “TNn”, “TN10p”, “TX10p”, “TN90p”, “TX90p”, “WSDI”, “CSDI”, “DTR”, “Rx1day”, “Rx5day”, “SDII”, “R10mm”, “R20mm”, “Rnnmm”, “CDD”, “CWD”, “R95pTOT”, “R99pTOT”, “PRCPTOT”

Thank you in advance!

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

1 participant