Open carsontelford opened 9 months ago
This issue is the same as issue #355 and so far it seems there's no joy in resolving this. I tried the same workaround as @jdbcode suggested, which gave some access to rgee basic functionality but am unable to access ImageCollections or Images - ee_print() or Map$addLayer() just produces nothing...
Thanks @csaybar and development team for all your efforts on rgee - I hope there can be some way to revive this package.
At submit an issue, please attached the following information of your
rgee
session:C:\Users\carso>earthengine -h usage: earthengine [-h] [--ee_config EE_CONFIG] [--service_account_file SERVICE_ACCOUNT_FILE] [--project PROJECT_OVERRIDE] {authenticate,acl,asset,cp,create,ls,alpha,du,mv,model,rm,set_project,task,unset_project,upload,upload_manifest,upload_table_manifest} ...
Earth Engine Command Line Interface.
options: -h, --help show this help message and exit --ee_config EE_CONFIG Path to the earthengine configuration file. Defaults to "~/.config\earthengine\credentials". --service_account_file SERVICE_ACCOUNT_FILE Path to a service account credentialsfile. Overrides any ee_config if specified. --project PROJECT_OVERRIDE Specifies a Google Cloud Platform Project id to override the call.
Commands: {authenticate,acl,asset,cp,create,ls,alpha,du,mv,model,rm,set_project,task,unset_project,upload,upload_manifest,upload_table_manifest} authenticate Prompts the user to authorize access to Earth Engine via OAuth2. acl Prints or updates the access control list of the specified asset. asset Prints or updates metadata associated with an Earth Engine asset. cp Creates a new Earth Engine asset as a copy of another asset. create Creates assets and folders. ls Prints the contents of a folder or collection. alpha Commands that are part of the v1alpha API. du Prints the size and names of all items in a given folder or collection. mv Moves or renames an Earth Engine asset. model TensorFlow model related commands. rm Deletes the specified assets. set_project Sets the default user project to be used for all API calls. task Prints information about or manages long-running tasks. unset_project UnSets the default user project to be used for all API calls. upload Uploads assets to Earth Engine. upload_manifest Uploads an image to Earth Engine using the given manifest file. upload_table_manifest Uploads a table to Earth Engine using the given manifest file.
NOTE: Python version was forced by RETICULATE_PYTHON_FALLBACK
Description
I have been using RGEE for months but got the error that my credential had expired. I cleaned credentials and authenticated, getting the token from google, but it still didn't work. I deleted miniconda and reinstalled with the ee_install() function. After reinstalling numpy and google api through the command prompt ee_check() tells me my python version and packages look good. But when I run ee_initialize() I get the error that my EE credential is expired. I run ee_clean_user_credentials() followed by ee_Initialize() again and it doesn't fix it. I run ee_Authenticate() and am given a path that the credentials are saved, but ee_Initialize still doesn't work. Then I went to the command prompt and forced reauthentication with "earthengine authenticate --force". This directs me to login to gcloud SDK and I login and am notified that I have been authenticated. ee_Initialize then gives me the same error as before. I checked the path that ee_Authenticate gave me where my credentials are cached "credentials are cached in the path: C:\Users\carso/.config/earthengine/" but nothing there. I noticed when I force authenticate again in the command prompt, a credential file did appear. But then when I run ee_Authenticate the credential file disappears! At this point I do not know what else I can try. Do you have any ideas how I can resolve this issue?
Below I am copying the log information from all of the code I ran and the log output:
NOTE: Python version was forced by RETICULATE_PYTHON_FALLBACK
carsontelford@gmail.com ✖ ✖ ✖