-
Notifications
You must be signed in to change notification settings - Fork 30
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
Retrieve & calendar types #262
Comments
Try using the argument 'verbose=TRUE' in the call to retrieve. What do you get? |
I got the error warning as: |
Using the argument 'verdose =TURE' still cannot figure out my question. And I found if there is any problem with the retrieve function cause the error warning always appeared as 'if (median(diff(days)) < 1' or 'median(diff(days)) == 1' |
I think the problem is nested in the function 'check.ncdf4', where two code lines are needed to add this 'na.rm=TRUE'. But here is the question: how can I revise the code and update the esd package? |
Yes, I think you are right. We'll fix it soon - it's better to discuss it within our group first so that we don't do something that may affect other uses of esd. But it looks like it may be fairly straight-forward to sort out. |
Thanks! And if you update the repaired esd package, could you please let me know? Because as far as I know this package can only be installed via the install instructions in https://esdlab.home.blog/. Therefore, timely notification may be effective for me because it cannot be installed by other means, at least in my country. Thank you again for your patience and dedication!
…------------------ 原始邮件 ------------------
发件人: "Rasmus E. ***@***.***>;
发送时间: 2022年5月11日(星期三) 下午4:34
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [metno/esd] Retrieve & calendar types (Issue #262)
Yes, I think you are right. We'll fix it soon - it's better to discuss it within our group first so that we don't do something that may affect other uses of esd. But it looks like it may be fairly straight-forward to sort out.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
We also have a wiki page on Github for more details regarding the package installation and recent updates. Have a look here https://github.com/metno/esd/wiki Bests, |
Thanks ! I will read it carefully ;) |
Your data file contains some bad dates (e.g. some negative days in the month and month 13): It's not necessarily a bug in
|
I have uploaded a new version on GitHub that doesn't stop if the dates are crazy, but returns "dates" as a sequence of 1,2,3,... At least, you can read the data this way, and it's possible to change the dates afterwards ( |
Thanks very much! This newest version really settled my matter! Once again, many thanks!
Best wishes,
Xiaopei
…------------------ 原始邮件 ------------------
发件人: "Rasmus E. ***@***.***>;
发送时间: 2022年5月11日(星期三) 晚上11:29
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [metno/esd] Retrieve & calendar types (Issue #262)
I have uploaded a new version on GitHub that doesn't stop if the dates are crazy, but returns "dates" as a sequence of 1,2,3,... At least, you can read the data this way, and it's possible to change the dates afterwards (index(x) <- ...)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Recently I've trying to use your esd R package to extract the NC file to my target stations. It always works great till I used the '365_day' calendar type NC file with the function 'retrieve'. I wonder if this function only fits the NC file in 'proleptic_gregorian' types?
The text was updated successfully, but these errors were encountered: