February 2023 and with it the next round of user cleanup is just around the corner! The gitlab.ethz.ch users without an equivalent ETH LDAP-user will be deleted. Together with the users are deleted: the users own repositories and the groups where these users are the only owner.
To avoid losing data, please ensure that the groups you use have at least one owner with a valid ETH LDAP-account. If you don't know what that means, ask yourself this question: "is the owner of the group still working at ETH?". If the answer is "No" and you want to keep using that group, you need to set a valid owner.
If you need help, please open a ticket with the ID service-desk. We'll do our best to help you.
|...||...||@@ -196,6 +196,7 @@ def create_elevation_diff_GeoTiff(file_path_DTM, file_path_DSM, path_output_file|
|# Read DTM|
|dtm_ds = gdal.Open(file_path_DTM)|
|dtm_band1 = dtm_ds.GetRasterBand(1)|
|dtm_nodata_val = dtm_band1.GetNoDataValue()|
|dtm_arr = dtm_band1.ReadAsArray()|
|dtm_transform = dtm_ds.GetGeoTransform()|
|...||...||@@ -242,6 +243,7 @@ def create_elevation_diff_GeoTiff(file_path_DTM, file_path_DSM, path_output_file|
|ph_arr = np.array(ph_arr, dtype=np.float32)|
|# set to nadata if no value in height model|
|ph_arr[np.where(dsm_arr == nondata_val)] = nondata_val|
|ph_arr[np.where(dtm_arr == dtm_nodata_val)] = nondata_val|
|# write geoTIFF|
|driver = gdal.GetDriverByName('GTiff')|