Closed SteffenCucos closed 2 years ago
Describe the bug Sentinel code does not use supplied resolution when loading images from url
To Reproduce Steps to reproduce the behavior:
Expected behavior We should pass the args.width/height to the sentinel satellite url
Screenshots
def calcImageDimensions(args): pixelWidth = 1920 if args.width is not None and args.height is not None: pixelHeight = pixelWidth / (args.width/args.height) else: pixelHeight = pixelWidth / (16/9) return int(pixelWidth), int(pixelHeight) # ALWAYS RETURNS 1920 WIDTH
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.
This is done. By specifying -w -he. You can also download custom image sizes for different monitors now
Describe the bug Sentinel code does not use supplied resolution when loading images from url
To Reproduce Steps to reproduce the behavior:
Expected behavior We should pass the args.width/height to the sentinel satellite url
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.