diff --git a/docs/demo/demo_masjed_dam_detailed_guide.rst b/docs/demo/demo_masjed_dam_detailed_guide.rst index a43f624..6abd762 100644 --- a/docs/demo/demo_masjed_dam_detailed_guide.rst +++ b/docs/demo/demo_masjed_dam_detailed_guide.rst @@ -174,7 +174,7 @@ After running this step, a `sbas` directory is created. Inside this directory, y ├── temporal_coherence.h5 ├── ifg_stack.h5 ├── ifg_network.h5 - ├── coordinates_utm.h5 + ├── coordinates_map.h5 ├── config.json ├── background_map.h5 └── pic/ diff --git a/docs/processing.rst b/docs/processing.rst index 0f47638..0a3a1ab 100644 --- a/docs/processing.rst +++ b/docs/processing.rst @@ -114,7 +114,7 @@ Step 0: Preparation - Output of this step - background_map.h5 - ifg_stack.h5 - - coordinates_utm.h5 + - coordinates_map.h5 - ifg_network.h5 - temporal_coherence.h5 diff --git a/sarvey/objects.py b/sarvey/objects.py index 84a5724..d8c9642 100644 --- a/sarvey/objects.py +++ b/sarvey/objects.py @@ -460,7 +460,7 @@ def prepare(self, *, point_id: np.ndarray, coord_xy: np.ndarray, input_path: str """Assign point_id and radar coordinates to the object. Store the point_id and radar coordinates of the scatterers in the object (not file) and read further - attributes from external files (ifg_network.h5, slcStack.h5, geometryRadar.h5, coordinates_utm.h5). + attributes from external files (ifg_network.h5, slcStack.h5, geometryRadar.h5, coordinates_map.h5). Parameters ---------- @@ -520,7 +520,7 @@ def open(self, input_path: str, other_file_path: str = None): self.openExternalData(input_path=input_path) def openExternalData(self, *, input_path: str): - """Load data which is stored in slcStack.h5, geometryRadar.h5, ifg_network.h5 and coordinates_utm.h5.""" + """Load data which is stored in slcStack.h5, geometryRadar.h5, ifg_network.h5 and coordinates_map.h5.""" # 1) read IfgNetwork self.ifg_net_obj.open(path=join(dirname(self.file_path), "ifg_network.h5")) @@ -550,7 +550,7 @@ def openExternalData(self, *, input_path: str): self.coord_lalo = np.array([lat[mask].ravel(), lon[mask].ravel()]).transpose() # 4) read UTM coordinates - coord_utm_obj = CoordinatesUTM(file_path=join(dirname(self.file_path), "coordinates_utm.h5"), + coord_utm_obj = CoordinatesUTM(file_path=join(dirname(self.file_path), "coordinates_map.h5"), logger=self.logger) coord_utm_obj.open() self.coord_utm = coord_utm_obj.coord_utm[:, mask].transpose() diff --git a/sarvey/preparation.py b/sarvey/preparation.py index 9a199bf..d6a3326 100644 --- a/sarvey/preparation.py +++ b/sarvey/preparation.py @@ -211,7 +211,7 @@ def selectPixels(*, path: str, selection_method: str, thrsh: float, # cmap = "autumn" if grid_size is not None: # -> sparse pixel selection - coord_utm_obj = CoordinatesUTM(file_path=join(path, "coordinates_utm.h5"), logger=logger) + coord_utm_obj = CoordinatesUTM(file_path=join(path, "coordinates_map.h5"), logger=logger) coord_utm_obj.open() box_list = ut.createSpatialGrid(coord_utm_img=coord_utm_obj.coord_utm, length=coord_utm_obj.coord_utm.shape[1], diff --git a/sarvey/processing.py b/sarvey/processing.py index 8b4ab2c..3b0c96b 100644 --- a/sarvey/processing.py +++ b/sarvey/processing.py @@ -185,8 +185,8 @@ def runPreparation(self): ) # store auxilliary datasets for faster access during processing - if not exists(join(self.path, "coordinates_utm.h5")): - coord_utm_obj = CoordinatesUTM(file_path=join(self.path, "coordinates_utm.h5"), logger=self.logger) + if not exists(join(self.path, "coordinates_map.h5")): + coord_utm_obj = CoordinatesUTM(file_path=join(self.path, "coordinates_map.h5"), logger=self.logger) coord_utm_obj.prepare(input_path=join(self.config.general.input_path, "geometryRadar.h5")) del coord_utm_obj @@ -590,7 +590,7 @@ def runFiltering(self): plt.close(fig) # create grid - coord_utm_obj = CoordinatesUTM(file_path=join(self.path, "coordinates_utm.h5"), logger=self.logger) + coord_utm_obj = CoordinatesUTM(file_path=join(self.path, "coordinates_map.h5"), logger=self.logger) coord_utm_obj.open() # remove points based on threshold diff --git a/sarvey/sarvey_mti.py b/sarvey/sarvey_mti.py index af94d52..1a288dd 100755 --- a/sarvey/sarvey_mti.py +++ b/sarvey/sarvey_mti.py @@ -104,7 +104,7 @@ def run(*, config: Config, args: argparse.Namespace, logger: Logger): config_section_default=config_default_dict["preparation"], logger=logger) proc_obj.runPreparation() - required_files = ["background_map.h5", "coordinates_utm.h5", "ifg_network.h5", "ifg_stack.h5", + required_files = ["background_map.h5", "coordinates_map.h5", "ifg_network.h5", "ifg_stack.h5", "temporal_coherence.h5"] if 1 in steps: