Adding the LP DAAC Data Pool Application

If it isn’t then select Authorize More Applications. In the dialog box type in LP DAAC Data Pool and click Search For Applications. Select Approve when presented with the lpdaac_datapool. Keep everything checked but you can uncheck the Yes, I would like to be notified box. Select Authorize and the LP DAAC Data Pool should be added to your Approved Applications.

Step 1:

Step 2:

Step 3:

Step 4:

Step 5:

Can not load MODIStsp library or function

After running library(MODIStsp) and/or the function call MODIStsp() you might received a message like the following.

If you get an error message like the following, you may need to install more packages before you can move on, note this is only an example and you might need to download another package besides the one used in this example.

Other common packages that might throw errors are:

cairoDevice
gWidgetsRGtk2
devtools

Example with the R.oo package:

Error: package or namespace load failed for
    
‘MODIStsp’:
    
object ‘throw’ is not exported by 'namespace:R.oo'
    
In addition: Warning message:
    
package ‘MODIStsp’ was built under R version 3.6.3

A potential solution to solving this issue is to install the package the message suggest is missing. In this case R.oo.

install.packages("R.oo")
library("R.oo")

If you get prompt something that resembles the image below, first try with yes if that does not work try with no.

After installing and loading the necessary package, re-install and re-load MODIStsp:

install.packages("MODIStsp")
library("MODIStsp")

MODIStsp()

GDAL Installation

To install GDAL in your computer go here, and follow the step in the website.

If you have installed GDAL and it still does not work, follow steps on the USGS website.

After installing GDAL in your computer you might need to restart your R session. Either by pressing the keys ctr+shift+F10 or by closing and reopening R Studio.