ropensci / MODIStsp

An "R" package for automatic download and preprocessing of MODIS Land Products Time Series
https://docs.ropensci.org/MODIStsp
GNU General Public License v3.0
155 stars 50 forks source link

Devel #273

Open pkautio opened 6 months ago

pkautio commented 6 months ago
LouiseLeroux commented 6 months ago

Hi. Thanks for this update of MODIStsp. I tried to install this updated version, but got that message or error :

Error in parse(outFile) : /tmp/Rtmp7CVJ1S/remotesba6acb1cae/MODIStsp-2.1.0/R/MODIStsp_download.R:47:35: unexpected '{' 46: # Fetch Bearer token to be used for further authentication 47: if (is.defined(earthdata_token)

Any idea?

LouiseLeroux commented 6 months ago

Hi.

Update : I have been able to install after after having corrected MODIStsp_download :

if (is.defined(earthdata_token)) { token <- earthdata_token } else { token <- get_earthdata_token(user, password) }

But still an issue when trying to download. It starts the process (creating the output folder) but stop on the following error :

[Mon May 27 13:33:06 2024] MODIStsp --> Starting processing Warning: Error in get_earthdata_token: object 'user' not found

pkautio commented 6 months ago

How are you calling Modistsp`?

LouiseLeroux commented 6 months ago

HiI tried first with a rscript and the function and with the GUI. I tried on my personal laptop from an installation from scratch and from my office JupyterLab.LouiseSent from my iPhoneOn 27 May 2024, at 18:08, pkautio @.***> wrote: How are you calling Modistsp`?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

maelle commented 1 month ago

@pkautio any update? :smile_cat: