-
Notifications
You must be signed in to change notification settings - Fork 22
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
EOReader 0.17.0 and SAR: BUG whith DSPK bands #62
Comments
|
For the question 2, is DSPK supposed to exist in the file? |
Yes, it creates a VV_DSPK file on disk. I have corrected a bug in the latest version and you may have encountered it... |
I download this repository the day before yesterday, should I try to update the code? Now the code reprocesses the data for every run, how can I let it use the cache in tmp file? |
I would like you to give me the full bug stack trace so I can analyze if 😄 In order not to reprocess everything, you should set an output directory and leave prod = Reader().open(path, output_path="your/path") or prod = Reader().open(path)
prod.output = "your/path" |
After |
Yes VV and VH will be OK. s1_prod.load(VV_DSPK) That should fail with something like https://forum.step.esa.int/t/exception-found-when-reading-compressed-tif/654/7 |
I don't understand what you are currently testing. |
I found that I did't try to load DSPK in RuntimeError (note: full exception trace is shown but execution is paused at: _run_module_as_main) During handling of the above exception, another exception occurred: File "D:\SAR_DATA\process\eoreader-main\eoreader\products\sar\sar_product.py", line 852, in _despeckle_sar The above exception was the direct cause of the following exception: File "D:\SAR_DATA\process\eoreader-main\eoreader\products\sar\sar_product.py", line 854, in _despeckle_sar |
If you need more messages, plz make me know, I'm always online. |
Hello, The line Could you give me the SNAP error ? Or maybe it isn't displayed... What is your sertit version ? For that type:
I feel all that revolves around an already fixed bug in sar_products.py (the fix will be in 0.18.0 version), that comes from the fact that VV and VH GeoTiff's are saved on disk with an optimized format (LZW + predictor = 3, added in If it's the case, you can fork EOReader and use the 0.18.0 branch until its final release or downgrade sertit to 1.19.1 😓 |
1/ Multi-look is for SLC data, not GRDH. If you look at complex graphs in You may need to take some courses on SAR data if you want to truly understand what you are doing as this isn't really the place to ask about it, as I am no expert 😉 |
PS: if you don't manage to use 0.18.0 branch, downgrade sertit to 1.19.1 by doing |
As I said, 0.18.0 version has not been release yet 😉 If you want the last version, you have to do This is why I would advice you to downgrade sertit 😅 |
Aaaah that is what I wanted to see in the first time ! SNAP traceback 🥂 Did you recomputed VH and VV files ? Or used the computed with the other version ? (this is the whole bug point 😅 ) |
I indeed not recomputed it and used the cache before, I try it right now (about 4mins). |
The DSPK file can be produced now, thank you! |
Ouuuh yeah, so relieved! 🚀 This will all be resolved in 0.18.0... |
For other people that have the same issue. TLDR: |
I'm looking forward to it hhhh. |
Solved in release 0.18.0 🚀 |
When I followed the document of https://eoreader.readthedocs.io/en/latest/notebooks/SAR.html#load-bands, some problems occurred.
First, there are some bool values of band_names returned from
s1_prod.has_band(band)
are True, while they don't exist inget_existing_bands()
Second, I check the output file and there are only two tif files
which causes the code
s1_prod.load(ok_bands, resolution=20.)
to fail.Are these normal phenomenon?
The text was updated successfully, but these errors were encountered: