Skip to content
Discussion options

You must be logged in to vote

By default,geemap.ee_to_xarray reinitializes to the high volume endpoint. My guess is that the function was created before projects were required in the ee.Initialize call, so it is complaining about not having a project. We'll need to refactor ee_to_xarray. In the meantime, you can include ee_initialize=False in the geemap.ee_to_xarray call to use the initialization state that you set at the beginning of the session.

# At beginning of session initialize to high volume endpoint.
ee.Authenticate() # if needed
ee.Initialize(
  project='PROJECT-ID', # or credentials
  opt_url='https://earthengine-highvolume.googleapis.com'
)

# Run the function.
geemap.ee_to_xarray(..., ee_initialize=False)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@GRAOUUUR
Comment options

Answer selected by GRAOUUUR
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants