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

ncdf4 complaining about the format of dateTimeRound when using WriteNcTimeSlice #38

Open
arezoorn opened this issue Oct 9, 2015 · 0 comments

Comments

@arezoorn
Copy link
Contributor

arezoorn commented Oct 9, 2015

If leave the class of dfByPosix$dateTimeRound as POSIXct, ncdf4 complains. Solution would be to format the dateTimeRound before feeding dfByPosix into WriteNcTimeSlice function as follows:

dfByPosix$dateTimeRound <- format(dfByPosix$dateTimeRound,'%Y-%m-%d_%H:%M:%S')

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