We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am still trying to find what is wrong, by the way, with the POSIXct in the following function should be POSIXctOrChr.
TimeSliceFileName <- function(POSIXctOrChr, sliceResolution) { if(class(POSIXctOrChr)[1] == 'POSIXct') { paste0(format(POSIXct,'%Y-%m-%d_%H:%M:%S'), '.', formatC(sliceResolution, width=2, flag='0'),'min', '.usgsTimeSlice.ncdf') } else paste0(POSIXctOrChr, '.', formatC(sliceResolution, width=2, flag='0'),'min', '.usgsTimeSlice.ncdf') }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am still trying to find what is wrong, by the way, with the POSIXct in the following function should be POSIXctOrChr.
TimeSliceFileName <-
function(POSIXctOrChr, sliceResolution) { if(class(POSIXctOrChr)[1] == 'POSIXct') { paste0(format(POSIXct,'%Y-%m-%d_%H:%M:%S'), '.', formatC(sliceResolution, width=2, flag='0'),'min', '.usgsTimeSlice.ncdf') } else paste0(POSIXctOrChr, '.', formatC(sliceResolution, width=2, flag='0'),'min', '.usgsTimeSlice.ncdf') }
The text was updated successfully, but these errors were encountered: