Grid#
- class mhm_tools.pre.create_mhm_restart_file.Grid(file_path: Path, name=None, latlon_file=None, l0: LatLon = None, l1: LatLon = None, land_mask_file=None)[source]#
Bases:
objectRepresents a geographical area for wich morphological data exists.
This grid is used to run the mPR model. It does not need to contain a whole catchment, but can be a subset of it or multiple catchments at once.
- Variables:
(Path) (file_path)
(str) (latlon_file)
(str)
(LatLon) (l1)
(LatLon)
Methods
migrate_grid_using_systemlink(new_path)Mirgrates the file path by creating a new path and system linking all files there.
read_latlon(latlon_file)Longitude and Latidute reader.
Read the morph files from the specified path.
- migrate_grid_using_systemlink(new_path)[source]#
Mirgrates the file path by creating a new path and system linking all files there.