Trouble downloading MCD12Q1 data through R script

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
Posts: 1
Joined: Wed Aug 17, 2022 10:42 am America/New_York
Answers: 0

Trouble downloading MCD12Q1 data through R script

by matthewhack » Wed Aug 17, 2022 11:01 am America/New_York

I'm having problems downloading MCD12Q1 data using the runGdal function from the MODIS package in R. The script attempts to run for a couple of hours and then I consistently receive the following error:

Hm, I have to search for the file. Next time provide the full path and I'll be very fast!
Error in strsplit(x, ":") : non-character argument

I derived my code directly from the eBird Best Practices guide to downloading MODIS data:

Might this error have anything to do with my access to this data, or any known/ongoing issues with LPDAAC data download? I understand this might have to do with R package issues outside of your purview so I apologize if this is the wrong forum for this, I can delete if necessary. Thank you for your help.


LP DAAC - dgolon
User Services
User Services
Posts: 342
Joined: Mon Sep 30, 2019 10:00 am America/New_York
Answers: 0
Has thanked: 24 times
Been thanked: 4 times

Re: Trouble downloading MCD12Q1 data through R script

by LP DAAC - dgolon » Wed Aug 17, 2022 1:37 pm America/New_York

Hello @matthewhack The LP DAAC did not write this script. The creator of the script has a note for where to report bugs and feature requests. Please report your issue to

Thank you,
Subscribe to the LP DAAC listserv by sending a blank email to

Sign up for the Landsat listserv to receive the most up to date information about Landsat data:

Post Reply