- add module for import piezometer data

This commit is contained in:
Arno Kaimbacher 2022-03-14 15:20:05 +01:00
parent d33e9d2b55
commit 8db6507252
5 changed files with 387 additions and 88 deletions

View file

@ -92,10 +92,10 @@ def import_images(dataset: Dataset, pg_session):
# print(file_path)
img_file = open(file_path, 'rb')
img: Image = Image(img_file)
if img.has_exif:
info = f" has the EXIF {img.exif_version}"
else:
info = "does not contain any EXIF information"
# if img.has_exif:
# info = f" has the EXIF {img.exif_version}"
# else:
# info = "does not contain any EXIF information"
# print(f"Image {img_file.name}: {info}")
# Original datetime that image was taken (photographed)