FeatureCatalogue.update_feature_paths

giant.relative_opnav.estimators.sfn.surface_features:

FeatureCatalogue.update_feature_paths(new_path)[source]

This method goes through and updates the directory structure for each feature contained in the catalogue.

Updates are made through a call to SurfaceFeature.update_path(). With the update, we are just changing the directory structure, not the file itself. Therefore the input should end with a director, not a file, and the existing file name for each feature will be joined to this directory structure.

For any features which do not make use of the lazy loading/unloading capabilities nothing will happen.

Parameters:

new_path (Path | str) – The new directory structure to traverse to find the DEM file