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

handling of GEE image catalogs #190

Open
ashishgitbisht opened this issue Feb 1, 2022 · 6 comments
Open

handling of GEE image catalogs #190

ashishgitbisht opened this issue Feb 1, 2022 · 6 comments

Comments

@ashishgitbisht
Copy link

  • which operating system are you using?
    e.g. Windows 10, Ubuntu 18.4, etc.
  • which environment is pyroSAR running in?
    e.g. system-wide Python installation, Anaconda environment, virtual environment, etc.
  • which version of pyroSAR are you using?
    one installed via conda, pip or a clone of the GitHub repository?
  • which function of pyroSAR did you call with which parameters?
  • if applicable, which version of SNAP or GAMMA are you using in pyroSAR?
  • the full error message
@johntruckenbrodt
Copy link
Owner

Hi @ashishgitbisht please provide more information than a question in the headline and the bug label.

@ashishgitbisht
Copy link
Author

ashishgitbisht commented Feb 1, 2022 via email

@pbrotoisworo
Copy link
Contributor

pbrotoisworo commented Feb 1, 2022

I'm curious, what are you trying to do with the data? Why can't you process it in Earth Engine? You need a specialized Earth Engine API like geemap or the official EE package to interact with Earth Engine data. It is designed for cloud computing. From what I know, you cannot use external tools (SNAP, ArcGIS, pyroSAR, etc) with Earth Engine. You can only use Earth Engine methods.

Earth Engine already preprocesses Sentinel-1 data.

EDIT: I saw you are using geemap already.

@ashishgitbisht
Copy link
Author

Yes I am already using geemap to integrate Earth engine with Python in jupyter notebook.
Also the earth engine data is good and pre processed but it doesn not qualify to be ARD (analysis ready data) as per CARD4L.
I applied certain pre-processing on S1-GRD to convert it into ARD data, that is done in earth engine, but then i came across pyroSAR. So i was interested to be able to use pyroSAR for pre-processing dataset.
Interesting fact is I dont have dataset stored in local directory, its rather a python object or image collection object which has dataset.
How do we then pass into pyroSAR for further pre-processing to make it ARD data???
thats largely my query.
thanks for prompt responses!!

@pbrotoisworo
Copy link
Contributor

You cannot use pyroSAR with Earth Engine directly. One of the limitations of Earth Engine is that if you are using their cloud resources it only allows the methods in the official documentation. It will not allow external software to modify the data on their server.

https://developers.google.com/earth-engine/apidocs/ee-image
image

@johntruckenbrodt
Copy link
Owner

Hi @ashishgitbisht and @pbrotoisworo.
I am not so familiar with GEE to be honest. The last thing I know is that the data is processed but without the RTC correction (Small 2011).
RTC correction has to be done in radar geometry so it is not possible with the already geocoded GEE data. There are however other methods to apply terrain correction to GEE-processed images, e.g. Vollrath et al. 2020. Andreas Vollrath is the main developer of OpenSarToolkit. Perhaps there you can find an implementation.
I don't see how working with GEE image objects in pyroSAR would work. As @pbrotoisworo pointed out, this lets you apply GEE operations on the platform, whereas pyroSAR needs access to a local file system.
It is a very interesting thought to extend pyroSAR to some GEE functionality. But this would require some amount of work to blend it in with the existing functionality. pyroSAR is currently not designed for such cloud workflows.
@ashishgitbisht I think you might be better off developing your own prototype for now. Once you have a working prototype we could talk again and see how we can merge it.

@johntruckenbrodt johntruckenbrodt changed the title can pyroSAR work with tiff files or ee.Image object directly ? handling of GEE image catalogs Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants