SurfaceFeature.update_path

giant.relative_opnav.estimators.sfn.surface_features:

SurfaceFeature.update_path(new_path)[source]

This updates the absolute directory structure to the file containing the DEM data for this shape.

This only changes the directory structure, not the file itself, therefore it extracts the actual file name from the current path and appends it to the new path (that is, new_path should simply be a directory structure, not a full file path). If you want to change the full file you can use update_file().

If this feature is not a lazy load feature then this method will do nothing. :param new_path: The new directory structure to navigate to find the file

Parameters:

new_path (Path | str) –