Closed caseylynnbrown closed 3 years ago
I suspect it could be a problem related to package shinyFiles
.
packageVersion("shinyFiles")
library(shinyFiles)
shinyFilesExample()
and verify that all the three buttons on the left are working.
install.packages("shinyFiles")
and try again with point 2.
Let me know if it helped solving,
Unfortunately, that did not resolve the problem.
packageVersion("shinyFiles") [1] ‘0.9.0
I was able to verify that all three buttons on the left worked. However, when I open the GUI, I am still unable to browse or select files from my drive.
Any other ideas? I really appreciate your help on this.
Casey
Unfortunately it is impossible for me to understand the problem without having the possibility to debug it. Maybe some screenshot could help. Do you have the possibility to run it on a different machine? Otherwise you can try using a virtual machine.
I tried running the noninteractive execution of MODIStsp to see if I could pinpoint problems to possibly debug. There seems to be an error in the path to the Temp folder.
MODIStsp(gui=FALSE, out_folder = "H:/ODFW ArcGIS Files/MODIS/MODIS FILES", selprod = "Vegetation_Indexes_16Days_250m (M*D13Q1)", bandsel = c("EVI", "NDVI"), quality_bandsel ="QA_qual", indexes_bandsel = NULL, user ="Caseylynnbrown", password="Rubysue2006!", download_range="Seasonal", start_date = "2015.03.15",end_date = "2019.11.01",spatmeth="tiles", start_x = 9, end_x=9, start_y=4, end_y=4, ts_format="R RasterStack", out_format="GTiff", )
GDAL version in use: 3.0.4 Error: Path 'C:\Users\brownca1\AppData\Local\Temp\RtmpM9wXi1/MODIStsp/HDFs' does not exist
This Temp folder is where the binary packages were installed...however, my packages along with all my data are stored on a different drive. Is that the problem?
That path is the folder in which original HDF files are downloaded in case the argument out_folder_mod
is not provided.
There was a bug in the code which caused the error when argument out_folder_mod
is not provided: you can try installing the development branch of the package with the command:
remotes::install_github("ropensci/MODIStsp", ref = "devel")
and then relaunchinng your processing.
Alternatively you can specify the argument out_folder_mod
as done for out_folder
(in this case, the bug does not have effect).
Moreover, note that the product name is not "Vegetation_Indexes_16Days_250m (M*D13Q1)"
but "Vegetation Indexes_16Days_250m (M*D13Q1)"
.
Let me know,
Closing due to missing feedback (assuming solved); reopen if necessary.
Issue description I am having issues with the MODIStsp GUI connecting to my desktop path folders. I am able to successfully open MODIStsp GUI and select products and layers and the spatial and temporal options. However, I have not been able to load a spatial layers from file. Since I can manually select tiles, I could still work around this problem. However, I am unable to select an Output Folder to save my products. I cannot manually enter a file path and the "Browse" option does not work. Thank you for your help!
Reproducible example
Expected and actual behavior
System information
Additional context
Scientific publication