Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Executing processing graph
- Absolute radiometric calibration has already been applied to the product
- done.
- Error: [NodeId: Calibration] Absolute radiometric calibration has already been applied to the product
- ---------------------------------------------------------------------------
- FileNotFoundError Traceback (most recent call last)
- File /usr/local/lib/python3.8/site-packages/eoreader/products/sar/sar_product.py:421, in SarProduct.get_band_paths(self, band_list, resolution, **kwargs)
- 420 band_id = self.bands[band].id
- --> 421 band_paths[band] = files.get_file_in_dir(
- 422 self._get_band_folder(),
- 423 f"*{self.condensed_name}_{band_id}.tif",
- 424 exact_name=True,
- 425 )
- 426 except FileNotFoundError:
- File /usr/local/lib/python3.8/site-packages/sertit/files.py:1093, in get_file_in_dir(directory, pattern_str, extension, filename_only, get_list, exact_name)
- 1092 if len(file_list) == 0:
- -> 1093 raise FileNotFoundError(
- 1094 f"File with pattern {glob_pattern} not found in {directory}"
- 1095 )
- 1097 # Return list, file path or file name
- FileNotFoundError: File with pattern *20200801T103425_SAOCOM_VV_HH_VH_HV_SM_L1A_VV.tif not found in /tmp/tmpzibzzm1_/tmp_20200801T103425_SAOCOM_VV_HH_VH_HV_SM_L1A
- During handling of the above exception, another exception occurred:
- RuntimeError Traceback (most recent call last)
- File /usr/local/lib/python3.8/site-packages/eoreader/products/sar/sar_product.py:807, in SarProduct._pre_process_sar(self, band, resolution, **kwargs)
- 806 try:
- --> 807 misc.run_cli(cmd_list)
- 808 except RuntimeError as ex:
- File /usr/local/lib/python3.8/site-packages/sertit/misc.py:355, in run_cli(cmd, timeout, check_return_value, in_background, cwd)
- 354 if check_return_value and retval != 0:
- --> 355 raise RuntimeError(f"Exe {cmd[0]} has failed.")
- 357 return retval, output
- RuntimeError: Exe gpt has failed.
- The above exception was the direct cause of the following exception:
- RuntimeError Traceback (most recent call last)
- Input In [19], in <cell line: 1>()
- ----> 1 saocom_vv = saocom_prod.load(bands=[VV])
- File /usr/local/lib/python3.8/site-packages/eoreader/products/product.py:910, in Product.load(self, bands, resolution, size, **kwargs)
- 908 # Load bands (only once ! and convert the bands to be loaded to correct format)
- 909 unique_bands = list(set(to_band(bands)))
- --> 910 band_dict = self._load(unique_bands, resolution, size, **kwargs)
- 912 # Manage the case of arrays of different size -> collocate arrays if needed
- 913 band_dict = self._collocate_bands(band_dict)
- File /usr/local/lib/python3.8/site-packages/eoreader/products/sar/sar_product.py:681, in SarProduct._load(self, bands, resolution, size, **kwargs)
- 678 self._check_dem_path(bands, **kwargs)
- 680 # Load bands
- --> 681 bands = self._load_bands(band_list, resolution=resolution, size=size, **kwargs)
- 683 # Add DEM
- 684 bands.update(
- 685 self._load_dem(dem_list, resolution=resolution, size=size, **kwargs)
- 686 )
- File /usr/local/lib/python3.8/site-packages/eoreader/products/sar/sar_product.py:618, in SarProduct._load_bands(self, bands, resolution, size, **kwargs)
- 616 if resolution is None and size is not None:
- 617 resolution = self._resolution_from_size(size)
- --> 618 band_paths = self.get_band_paths(bands, resolution, **kwargs)
- 620 # Open bands and get array (resampled if needed)
- 621 band_arrays = {}
- File /usr/local/lib/python3.8/site-packages/eoreader/products/sar/sar_product.py:443, in SarProduct.get_band_paths(self, band_list, resolution, **kwargs)
- 441 band_paths[band] = self._despeckle_sar(speckle_band, **kwargs)
- 442 else:
- --> 443 band_paths[band] = self._pre_process_sar(
- 444 band, resolution, **kwargs
- 445 )
- 447 return band_paths
- File /usr/local/lib/python3.8/site-packages/eoreader/products/sar/sar_product.py:809, in SarProduct._pre_process_sar(self, band, resolution, **kwargs)
- 807 misc.run_cli(cmd_list)
- 808 except RuntimeError as ex:
- --> 809 raise RuntimeError("Something went wrong with SNAP!") from ex
- 811 # Convert DIMAP images to GeoTiff
- 812 LOGGER.debug("Converting DIMAP to GeoTiff")
- RuntimeError: Something went wrong with SNAP!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement