Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

equivalent for 'require' used in gee #155

Closed
jimoreira opened this issue May 17, 2021 · 9 comments
Closed

equivalent for 'require' used in gee #155

jimoreira opened this issue May 17, 2021 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@jimoreira
Copy link

Can i use a code stored in .js file?, in this opportunity on my own repositories.

in javascript would look like
var LandsatLST = require('users/javiermoreira/lstsofiaermida:modules/Landsat_LST.js')
i ask this about an year ago, trying to use ee_manage_asset() and already been answered that was the wrong solution.
Perhaps there are some new developments to be able to use this .js files.
many thanks and congratulations on your work, it is really really helpful!

@csaybar csaybar added the enhancement New feature or request label May 20, 2021
@csaybar
Copy link
Collaborator

csaybar commented May 20, 2021

mmm, I think this feature is possible but will not work well for all the cases. Let see what we can do on the next releases :)

@csaybar csaybar assigned csaybar and unassigned csaybar Jul 28, 2021
@csaybar
Copy link
Collaborator

csaybar commented Jul 28, 2021

@davemlz

@davemlz
Copy link

davemlz commented Jul 28, 2021

I'm on it 😉

@ConservationAlpha
Copy link

I am having the same challenge trying to access gee-cdcc-tools , i cent get it to work via RGEE, i need to use
"var utils = require('users/parevalo_bu/gee-ccdc-tools:ccdcUtilities/api')"

@csaybar
Copy link
Collaborator

csaybar commented Oct 7, 2021

Hi @ConservationAlpha were are still working on this feature.

You can track the progress on ee_extra

@csaybar
Copy link
Collaborator

csaybar commented Dec 16, 2021

@ConservationAlpha and @jimoreira, we added this feature to rgeeExtra .
Feel free to open an issue in rgeeExtra if your Javascript module doesn't work.

@csaybar csaybar closed this as completed Dec 16, 2021
@jimoreira
Copy link
Author

Great! I will give it a try. Thanks

@csaybar
Copy link
Collaborator

csaybar commented Dec 16, 2021

@jimoreira I forgot to mention that rgeeExtra depends on reticulate 1.22.9000. Please install as follow:

remotes::install_github("rstudio/reticulate")
remotes::install_github("r-earthengine/rgeeExtra")

@ConservationAlpha
Copy link

ConservationAlpha commented Dec 20, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants