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

Not supporting ASA_GM1 products #13

Open
Ciyel-real opened this issue Jan 30, 2024 · 3 comments
Open

Not supporting ASA_GM1 products #13

Ciyel-real opened this issue Jan 30, 2024 · 3 comments

Comments

@Ciyel-real
Copy link

Ciyel-real commented Jan 30, 2024

Hello,

I am currently working on Envisat product types 'ASA_IMM', 'ASA_WSM', 'ASA_APM' and 'ASA_GM1'. This module works perfectly for the first three and I thank you a lot for this but it won't open the ASA_GM1 products.

This is what I have as error:

unable to open "ASA_GM1_1PNDSI20060918_155919_000001572051_00197_23798_0000.N1"
Traceback (most recent call last):
File "process_patch.py", line 325, in
main()
File "process_patch.py", line 282, in main
product_lon_lat=get_lon_lat_array(N1_filepath)
File "process_patch.py", line 101, in get_lon_lat_array
file=epr.Product(file)
File "src/epr.pyx", line 2275, in epr.Product.cinit
ValueError: unable to open "ASA_GM1_1PNDSI20060918_155919_000001572051_00197_23798_0000.N1"

@avalentino
Copy link
Owner

Dear @Ciyel-real,
PyEPR is just a Python wrapper for the C-EPR-API so if the the product is supported by the C library it should also be supported by the Python one.

According to what I see in epr_dddb.c It seems to me that ASA_GM1 products should be supported.

Could you please provide a public link to one of the product that you are not able to open?
I would need to make some local test.

@Ciyel-real
Copy link
Author

EN1_ODSI_ASA_GM1_1P_20060918T155925_20060918T160147_023798_0197_20190824T231510_v0100.ZIP

Hi,

Thanks for the answer.
Here is an ESA Eosip archive containing the .N1 and some xml files that may somehow be useful.

Best regards

@avalentino
Copy link
Owner

Dear @Ciyel-real,
thanks for the quick reply.
I can confirm the issue.
Looking at the data it seems that the have been produced with a SW version ("6.03") which is newer of the one supported by the EPR C-API (ASA_GM1_1P_602).

% head ASA_GM1_1PNDSI20060918_155919_000001572051_00197_23798_0000.N1 
PRODUCT="ASA_GM1_1PNDSI20060918_155919_000001572051_00197_23798_0000.N1"
PROC_STAGE=N
REF_DOC="PO-RS-MDA-GS-2009_4/C  "
                                        
ACQUISITION_STATION="PDHS-K              "
PROC_CENTER="DSI   "
PROC_TIME="24-AUG-2019 23:15:10.000000"
SOFTWARE_VER="ASAR/6.03     "
                                        
SENSING_START="18-SEP-2006 15:59:25.569967"

I would need to check the product specifications to understand if there is a change in the GM1 product and how, eventually, it could be integrated in the EPR C API.
Unfortunately I'm not able to find an updated version of the documentation.
Do you have a link to the product specification document for v6.03?

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

No branches or pull requests

2 participants