Git Product home page Git Product logo

Comments (14)

LorenzoStucchi avatar LorenzoStucchi commented on May 25, 2024

Hi, the first error in the log is the code of 1_script_gpt_s3.sh, here:

         Processing the image S3 2022_12_02
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Initializing external tool adapters
INFO: org.esa.snap.core.util.EngineVersionCheckActivator: Please check regularly for new updates for the best SNAP experience.
Executing processing graph
WARNING: org.esa.s3tbx.dataio.s3.AbstractProductFactory: D:\PROYECTO_B\S3\2022_12_02\S3B_SL_2_LST____20221202T141651_20221202T141951_20221203T124713_0179_073_224_3420_PS2_O_NT_004.SEN3 (Acceso denegado)
WARNING: org.esa.s3tbx.dataio.s3.AbstractProductFactory: Could not find ''.
 done.

Error: [NodeId: Subset] Operator 'SubsetOp': Value for 'Source Bands' is invalid: 'sat_zenith_tn'

I'm not understanding this part of your previous text:

Before the execution of the .sh, I updated the sen-et-scripts (https://github.com/DHI-GRAS/sen-et-snap-scripts) and cheked that the graphs of the graphs folder were the corrected ones.

It is not needed to change nothing, the correct graph are the one present in the folder graph of this repo

from sen-et_automatization.

FranGutierrezC avatar FranGutierrezC commented on May 25, 2024

Thanks for your reply!
I notice this error off "access denied" to all the folders of sentinel-3 imagen. However I've cheked that the folders had the permision, tried to use the chmod +x to give complete access and also I've been execute gitbash as administrator, but none of this have work. Have you any ideas to solve the issue? What I cant understand is that if the folder of S3 had access denied, why I can obtein the products of lst, mask and observed geometry?
About the scripts, I updated the ones of the sen-et-scripts folders because ive found some difference with the ones in this repo (https://github.com/DHI-GRAS/sen-et-snap-scripts)

from sen-et_automatization.

LorenzoStucchi avatar LorenzoStucchi commented on May 25, 2024

Yes, there are differences between the scripts, but the onesin this repo are the ones for this code. Try to do it with the scripts in this repo
I made the change in the other repo because they were wrong https://github.com/DHI-GRAS/sen-et-snap-scripts/commits?author=LorenzoStucchi

from sen-et_automatization.

FranGutierrezC avatar FranGutierrezC commented on May 25, 2024

Ok thanks, I'll make a test with those scripts.
About the access denied to the folder, do you have any ideas to solve it? or had you this similar problem before? i've trying to solve it but nothing works

from sen-et_automatization.

LorenzoStucchi avatar LorenzoStucchi commented on May 25, 2024

It could be an issue that is not critical, let's try with the scripts if they solve the issue.

from sen-et_automatization.

FranGutierrezC avatar FranGutierrezC commented on May 25, 2024

Hi! I've try the solution by replacing the scripts of the link that you gave me, however im still getting the same error of access denied to the folders .SEN3 of the images that I'm using. I also attach the output "4 script S3" to check if there's a problem in the generation of the outputs.

Aetos.i7-10700@Fran-geolab MINGW64 /d/SEN-ET_automatization (master)
$ sh main.sh
Path files created!
input/s2_paths.txt
input/s3_paths.txt

real 0m0.138s
user 0m0.000s
sys 0m0.000s

    Scripts created!
    output\1_script_gpt_s3.sh
    output\2_script_gpt_s2.sh

real 0m0.171s
user 0m0.000s
sys 0m0.000s

     Processing the image S3 2022_12_02

INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Initializing external tool adapters
INFO: org.esa.snap.core.util.EngineVersionCheckActivator: Please check regularly for new updates for the best SNAP experience.
Executing processing graph
WARNING: org.esa.s3tbx.dataio.s3.AbstractProductFactory: D:\Proyecto_B\S3\2022_12_02\S3B_SL_2_LST____20221202T141651_20221202T141951_20221203T124713_0179_073_224_3420_PS2_O_NT_004.SEN3 (Access denied)
WARNING: org.esa.s3tbx.dataio.s3.AbstractProductFactory: Could not find ''.
INFO: org.hsqldb.persist.Logger: dataFileCache open start
.13%.27%..38%.48%..62%..76%.90% done.

4_script_S3.txt

from sen-et_automatization.

LorenzoStucchi avatar LorenzoStucchi commented on May 25, 2024

It looks that the access is denied but then the comand is done. The product is created?
The 4_script_S3.txt is the same as one that I have as example.
Which version of snap are you using?

from sen-et_automatization.

LorenzoStucchi avatar LorenzoStucchi commented on May 25, 2024

I tested the code only on snap 8, maybe could be something related to snap 9, I did not tested on this version

from sen-et_automatization.

FranGutierrezC avatar FranGutierrezC commented on May 25, 2024

Trying to find the issue, i've notice that the script .xml of sentinel_2_preprocessing doesn't save the output of the resample of the bands, is that correct or is not necesary in the workflow? Because i check that in the "warp_to_template" starts mi problem. And I got all de inputs necesary except for the resample.dim file . When I checked and open the .xml file from snap I realized that theres no box in the graph builder that writes the "Write_resample" as with the other products of S2. I think that having that file _resample.dim I could get the others missing outputs. I would appreciate some guidance to solve the issue. Thanks so much for your time so far

image

sentinel_2_pre_processing_xml.txt

from sen-et_automatization.

LorenzoStucchi avatar LorenzoStucchi commented on May 25, 2024

Ok, found the issue, the variable have been rename but not all the changes have been uploaded, I have added them now.

So now, the warp_to_template.py takes 3 input and provides 1 output:

  1. --source: that is obs_geometry.dim that comes from the sentinel_3_pre_processing.xml at the node Write_obs_geometry
  2. --template: that is mask.dim that comes from the sentinel_2_pre_processing.xml at the node Write_mask
  3. --resample_algoritm: that is directly set to near

Now, it should work

from sen-et_automatization.

LorenzoStucchi avatar LorenzoStucchi commented on May 25, 2024

fix in 165e2c1

from sen-et_automatization.

LorenzoStucchi avatar LorenzoStucchi commented on May 25, 2024

Thank you for the help in understanding the problem!

As you said, there is a lack of info on the documentation. You could try to contact the authors directly via mail.

However, as far as I remember, I believe that the lake has been removed because it has been recognized as water, and the model does not compute direct ET from water.

from sen-et_automatization.

LorenzoStucchi avatar LorenzoStucchi commented on May 25, 2024

I don't know if have you ever experience a similar problem with multitemporal analysis of images, any guidane will help me. Thanks again, and my apologize for the insistence.

My usage was for computing a year of data. So I wrote the code to choose the S2 image closest to the S3 of reference. You could try to provide fewer S2 images and see how these affect the results.

Also, the usage of S2A and S2B could provide different results, maybe staying just on one of the two. Same for S3A and S3B

from sen-et_automatization.

FranGutierrezC avatar FranGutierrezC commented on May 25, 2024

Thanks for your answer Lorenzo, now it makes sense. I'll work with S2A because those images are the ones that gave me the output that i expected, and I will select only one sensor for S3. I appreciate your help

from sen-et_automatization.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.