- add module for import piezometer data
This commit is contained in:
parent
d33e9d2b55
commit
8db6507252
5 changed files with 387 additions and 88 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue