Skip to content

Sentinel 1-C data is not accepted as input for hyp3 products #1391

@nozadkhalil

Description

@nozadkhalil

I started using Mintpy (version 1.6.2) to calculate time series over the data from ASF. In the first step and while loading data, the main script calls ''perp_hyp3.py'' but it returns the following error;

ValueError: Un-recognized Sentinel-1 satellite from {ref_granule}!

In the perp_hyp3.py the following lines (134-140) we need to add 'S1C'. What are this values? 73 and 202. And What this value is for S1C?

            if ref_granule.startswith('S1A'):
                meta['relative_orbit'] = ((abs_orbit - 73) % 175) + 1
            elif ref_granule.startswith('S1B'):
                meta['relative_orbit'] = ((abs_orbit - 202) % 175) + 1
            else:
                # add equation for Sentinel-C/D in the future
                raise ValueError('Un-recognized Sentinel-1 satellite from {ref_granule}!')

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions