u_leapR reads the date of a suncorrected image, checks it against the
folder name and if incorrect, renames the folder. This corrects for leap year
folder naming errors propagated by batch processing.
u_leapR(path)
| path | Character string filepath to the path/row of imagery to check. |
|---|
If incorrectly named folders are identified they are renamed a day earlier, otherwise a message "No leap date folder errors" is printed to screen.
# NOT RUN { u_leapR("W:/usgs/115078") # }