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

Parse azimuth fm rate polynomial #59

Merged
Merged
Changes from 53 commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
df94aec
annotation reader (s1_annotation.py) init. commit
Jun 17, 2022
14569b1
s1_annotation.py - rev1 after the suggestion by @gshiroma
Jun 22, 2022
7e85dd7
s1_annotation.py - Pylinted to be more conform to PEP8
Jun 23, 2022
d102ac1
annotation objects are attributes of `Sentinel1BurstSlc`
Jul 8, 2022
aa11b0b
s1_annotation.py : Classes for Burst-wide information
Jul 13, 2022
e47d5f4
s1_reader.py - annotation information are stored in each Sentinel1Bur…
Jul 13, 2022
eadd4ae
fix on `s1_annotation.parse_polynomial_element()` to read `azimuthFmR…
Jul 13, 2022
14f368c
Adding features for applying beta0
Jul 19, 2022
da43dc1
s1_reader.py - differentiating the polynomial parsing scheme based on…
Jul 20, 2022
82dac42
thermal noise LUT for IPF lower than 2.90
Jul 21, 2022
5d069d8
Update src/s1reader/s1_reader.py - comment from Liang
seongsujeong Jul 22, 2022
dbbfb0c
Fix on edits committed on another branch
Jul 22, 2022
e6a0db3
Merge branch 'annotation_reader' of github.com:seongsujeong/s1-reader…
Jul 22, 2022
5a948d9
removing placeholder
seongsujeong Jul 22, 2022
22a1aa2
get_ipf_version - revision by @LiangJYu
seongsujeong Jul 22, 2022
5251d9b
Update src/s1reader/s1_reader.py - remove placeholder
seongsujeong Jul 22, 2022
ffbdfa0
moving the single-use variables closer to where they are used.
seongsujeong Jul 22, 2022
52fbfe4
Update src/s1reader/s1_reader.py
seongsujeong Jul 22, 2022
29dea18
Merge branch 'annotation_reader' of github.com:seongsujeong/s1-reader…
Jul 22, 2022
c69ba60
s1_annotation.py - readibility improvement
Jul 22, 2022
cf6ec23
Update on docstring for `AnnotationBase`
seongsujeong Jul 22, 2022
729bc4a
revision on error message
seongsujeong Jul 22, 2022
7fa184f
Addressing comments by @LiangJYu and @vbrancat in PR #48
Jul 22, 2022
2e3a0bf
Merge branch 'annotation_reader' of github.com:seongsujeong/s1-reader…
Jul 22, 2022
7b9feb0
s1_annotation.py - code cleanup
seongsujeong Jul 26, 2022
64bff30
s1_annotation.py - readability improvement
seongsujeong Jul 26, 2022
054755e
readibility improvement
Jul 27, 2022
04a50df
changing the datatype of IPF version to version.Version. Changing the…
Jul 27, 2022
fdae5d5
space between args in _parse_list
LiangJYu Jul 29, 2022
1ca4f68
addressing the comments by @vbrancat
Aug 2, 2022
2986152
Merge pull request #1 from opera-adt/main
seongsujeong Aug 2, 2022
2d7aab2
added manifest.safe to test SAFE/zip
LiangJYu Aug 2, 2022
3cbafde
updated burst ID format
LiangJYu Aug 2, 2022
2b4b8e7
fixed directory structure in zip to match S1 SAFE spec
LiangJYu Aug 2, 2022
092b4d4
Merge pull request #2 from LiangJYu/unit_test_fixes
seongsujeong Aug 2, 2022
caf4751
Update src/s1reader/s1_annotation.py
seongsujeong Aug 2, 2022
63cb63d
Update src/s1reader/s1_annotation.py
seongsujeong Aug 2, 2022
b88262d
Update src/s1reader/s1_annotation.py
seongsujeong Aug 2, 2022
b373bda
Update src/s1reader/s1_annotation.py
seongsujeong Aug 2, 2022
a5c15e8
s1_annotation.py - fixing the logic to add margin to azimuth noise LUT
seongsujeong Aug 2, 2022
23c4f1e
s1_reader.py - removing lines that commented out
seongsujeong Aug 2, 2022
0dc297b
s1_reader.py - further removal of lines that commented out
seongsujeong Aug 2, 2022
0dccf18
Addressing comments by @gshiroma and other minor fix
Aug 2, 2022
14af881
Merge branch 'annotation_reader' of github.com:seongsujeong/s1-reader…
Aug 2, 2022
dba63fa
Addressing codacy issues
Aug 8, 2022
f09407f
Taking care of codacy issues
Aug 8, 2022
2295178
Fixing Codacy issue
Aug 8, 2022
26213e5
Merge pull request #3 from opera-adt/main
seongsujeong Aug 8, 2022
c2a3359
Merge branch 'main' of github.com:seongsujeong/s1-reader into parse_a…
Aug 8, 2022
c531ef6
Merge branch 'annotation_reader' of github.com:seongsujeong/s1-reader…
Aug 8, 2022
0ad8e07
Fix on taking care of some old IPF version when loading AZ FM rate po…
Aug 8, 2022
ce7007b
fix on readability
Aug 8, 2022
a04a57c
fix on PEP issue
Aug 8, 2022
ab9e6dd
Addressing the comment by @gshiroma
Aug 8, 2022
d0cd7bc
more context and description to the AZ FM rate format change
Aug 9, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/s1reader/s1_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@ def parse_polynomial_element(elem, poly_name):

half_c = 0.5 * isce3.core.speed_of_light
r0 = half_c * float(elem.find('t0').text)
coeffs = [float(x) for x in elem.find(poly_name).text.split()]

if elem.find(poly_name) is None: #some data with VERY old IPF version
coeffs = [float(x.text) for x in elem[2:]]
else: #Most of the recently processed S1 SAFE data
coeffs = [float(x) for x in elem.find(poly_name).text.split()]

poly1d = isce3.core.Poly1d(coeffs, r0, half_c)
return (ref_time, poly1d)

Expand Down