isce-framework / s1-reader

Sentinel-1 reader
Apache License 2.0
27 stars 12 forks source link

Burst id and absolute orbit number #64

Closed seongsujeong closed 2 years ago

seongsujeong commented 2 years ago

This PR updates the two things:

LiangJYu commented 2 years ago

Before approving, may I ask what are the use cases for these changes?

seongsujeong commented 2 years ago

Before approving, may I ask what are the use cases for these changes?

Yes. The new format of burst_id will make the lengths of the string to be the same. RTC metadata parses some information from burst id. We can already extract what we need from the current format, but the new one will make it easier. Regarding the absolute orbit number, we need this information to make the RTC metadata as similar as the NISAR-equivalent product (GCOV)

seongsujeong commented 2 years ago

@LiangJYu Thanks for pointing me to the unit test. I've updated test_bursts.py in accordance with your suggestion. Currently circieCI keeps on failing due to the error message below:

CondaHTTPError: HTTP 404 NOT FOUND for url <https://repo.anaconda.com/pkgs/main/linux-64/zlib-1.2.12-h7f8727e_1.conda>
Elapsed: 00:00.093111
CF-RAY: 740068947daf5b28-IAD

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

Exited with code exit status 1
CircleCI received exit code 1

Hope this failure is not related to this PR.

LiangJYu commented 2 years ago

@LiangJYu Thanks for pointing me to the unit test. I've updated test_bursts.py in accordance with your suggestion. Currently circieCI keeps on failing due to the error message below:

CondaHTTPError: HTTP 404 NOT FOUND for url <https://repo.anaconda.com/pkgs/main/linux-64/zlib-1.2.12-h7f8727e_1.conda>
Elapsed: 00:00.093111
CF-RAY: 740068947daf5b28-IAD

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

Exited with code exit status 1
CircleCI received exit code 1

Hope this failure is not related to this PR.

I don't think it's related. @rtburns-jpl to my untrained eye and shallow investigation, it looks like our CircleCI specfile needs to be updated to account for changes here? What do you think? Whatever the case, I'll open a new issue to continue discussion there.