-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
s1_orbit: return S1A/S1B when parsing filename (#104)
* s1_orbit: return S1A/S1B when parsing filename This fixes #103 to get the right orbit file. Currently we are returning "A" or "B" as a "sensor_id", then searching if the orbit file has that identifier (the single letter, which all orbit files have). This 1. changes the parser to return the full S1A/S1B, 2. calls it the "mission_id" to match the language in the product spec https://sentinels.copernicus.eu/documents/247904/351187/Copernicus_Sentinels_POD_Service_File_Format_Specification 3. does further simplficication and cleanup of logic to make pylance/flake8 errors go away * add unit test for diffing the missions in one orbit dir * use fstring to add EOF extension * codacy trailing whitespace
- Loading branch information
1 parent
8a533ef
commit 7def131
Showing
2 changed files
with
60 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters