Having trouble running the line
if (file.exists(netrc) == FALSE || grepl("urs.earthdata.nasa.gov", readLines(netrc)) == FALSE) {
which worked fine last week. The error is:
Error in file.exists(netrc) == FALSE || grepl("urs.earthdata.nasa.gov", :
'length = 3' in coercion to 'logical(1)'
Taken ...
Search found 1 match
- Mon Oct 28, 2024 1:58 pm America/New_York
- Forum: Home
- Question: R Script for downloading MODIS data
- Replies: 3