Skip to content

Choose orbit file from geo information #435

Locked Answered by cmarshak
bbuzz31 asked this question in Q&A
Discussion options

You must be logged in to vote
In [1]: import xarray as xr

In [2]: ds_ref = xr.open_dataset('S1-GUNW-A-R-124-tops-20221125_
   ...: 20221113-043137-00157W_00020N-PP-b2d5-v2_0_5.nc', group=
   ...: 'science/radarMetaData/inputSLC/reference')

In [3]: ds_sec = xr.open_dataset('S1-GUNW-A-R-124-tops-20221125_
   ...: 20221113-043137-00157W_00020N-PP-b2d5-v2_0_5.nc', group=
   ...: 'science/radarMetaData/inputSLC/secondary')

In [4]: ds_ref.L1InputGranules
Out[4]:
<xarray.DataArray 'L1InputGranules' (matchup: 1)>
array(['S1A_IW_SLC__1SDV_20221125T043124_20221125T043151_046046_0582DA_E50B.zip'],
      dtype=object)
Dimensions without coordinates: matchup
Attributes:
    description:    Reference input granules
    long_name…

Replies: 8 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@piyushrpt
Comment options

Answer selected by dbekaert
Comment options

You must be logged in to vote
4 replies
@piyushrpt
Comment options

@cmarshak
Comment options

@piyushrpt
Comment options

@dbekaert
Comment options

Comment options

You must be logged in to vote
2 replies
@cmarshak
Comment options

@dbekaert
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

bbuzz31
Dec 13, 2022
Collaborator Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants