Skip to content

Commit

Permalink
ignore unfound imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jtherrmann committed Jan 18, 2025
1 parent d827577 commit 62dc9fe
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/hyp3_autorift/s1_isce2.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def get_s1_primary_polarization(granule_name):


def process_sentinel1_with_isce2(reference, secondary, parameter_file):
import isce # noqa
from topsApp import TopsInSAR
import isce # noqa: F401, I001
from topsApp import TopsInSAR # type: ignore[import-not-found]
from hyp3_autorift.vend.testGeogrid_ISCE import loadMetadata, runGeogrid
from hyp3_autorift.vend.testautoRIFT_ISCE import generateAutoriftProduct

Expand Down Expand Up @@ -438,9 +438,9 @@ def bounding_box(safe, priority='reference', polarization='hh', orbits='Orbits',
lat_limits: list containing the [minimum, maximum] longitudes
"""
import isce # noqa: F401
from contrib.geo_autoRIFT.geogrid import Geogrid
from isceobj.Orbit.Orbit import Orbit
from isceobj.Sensor.TOPS.Sentinel1 import Sentinel1
from contrib.geo_autoRIFT.geogrid import Geogrid # type: ignore[import-not-found]
from isceobj.Orbit.Orbit import Orbit # type: ignore[import-not-found]
from isceobj.Sensor.TOPS.Sentinel1 import Sentinel1 # type: ignore[import-not-found]

frames = []
for swath in range(1, 4):
Expand Down Expand Up @@ -501,8 +501,8 @@ def bounding_box(safe, priority='reference', polarization='hh', orbits='Orbits',

def prep_isce_dem(input_dem, lat_limits, lon_limits, isce_dem=None):
import isce # noqa: F401
import isceobj
from contrib.demUtils import createDemStitcher
import isceobj # type: ignore[import-not-found]
from contrib.demUtils import createDemStitcher # type: ignore[import-not-found]

if isce_dem is None:
seamstress = createDemStitcher()
Expand Down

0 comments on commit 62dc9fe

Please sign in to comment.