Commit Graph

30 Commits

Author SHA1 Message Date
59a829c428 Clarified helptext. 2020-12-27 01:41:25 +01:00
3f777b7e55 Code-styling following PEP8. 2020-12-26 21:09:58 +01:00
07ca626ca8 Unified mentions for Exif/ITPC/XMP tags. Finalized 0.3.2 release. 2020-04-11 00:43:29 +02:00
0ae188a0ec Fixed typo. 2020-03-26 20:18:37 +01:00
5a39f08f35 Fixed formatting and fixed some comments, removed obsolete stuff that remained. 2020-03-22 11:35:53 +01:00
59b94991d0 Made code better readable.
Added verbose instance attributes.
2020-03-21 19:05:27 +01:00
3e5cfcf327 Remove obsolete comment. 2020-03-21 18:36:25 +01:00
c2ed0e1c2a Added Output class that formats matched data and returns string for printing.
Added beautified output.
2020-03-21 17:17:42 +01:00
d935cc1ea0 Created a match representation, figured how to access specific data from Match class. 2020-03-21 13:29:53 +01:00
952f2726ba Added a working match class that returns best match for radiation and position.
Still ugly and a lot of debug output. Also not finished.
2020-03-20 20:05:58 +01:00
cf4007c909 Added Match class.
Works on Radiation so far, but fails on Position, because there is not attribute timestamp.
Going to write a wrapper class to be able to use same Match class on both of them.
2020-03-15 01:57:02 +01:00
4a7de7b518 Removed default value fuckery. The matching class wil have to provide proper values. 2020-03-14 20:42:01 +01:00
13555a0505 Made optional Values optional in Exif class. 2020-03-14 20:21:44 +01:00
9ac706075a Revert "Remove now obsoluete rad_tag.py"
This reverts commit da09323380.
2020-03-14 18:02:40 +01:00
eef986bdbc Revert "Remove now obsoluete rad_tag.py"
This reverts commit da09323380.
2020-03-14 17:53:38 +01:00
ce65eb4cee Revert "Enriched class comments with arguments and return values."
This reverts commit 8ea6524238.

I'm stupid, and deleted the wrong file. Fixed it.
2020-03-14 17:32:29 +01:00
da09323380 Remove now obsoluete rad_tag.py 2020-03-14 17:20:33 +01:00
8ea6524238 Enriched class comments with arguments and return values.
Made a text representation of Exif and removed debug outputs.
2020-03-14 16:21:23 +01:00
693412316e Added write_exif function, calculates location in degree / minutes.
Assembles metadata info and writes them to the target_image.
2020-03-12 23:25:18 +01:00
cafda4cf35 Added function which converts decimal position value to WGS-84 notation. 2020-03-12 20:35:49 +01:00
f07eb0c691 Renamed photo class attribute.
Figured how to acces class objects.
Moved write_exif to own Exif class to compile GPS coords and write them all.
2020-03-12 19:24:27 +01:00
2ad8b4a1fb Moved copying of photos to functions.py, simplified decision whether to copy photo or not. 2020-03-11 22:26:03 +01:00
92b08170f2 Changed CSV variable, only write Exif tags that hava values to fill in. 2020-03-10 21:53:43 +01:00
c19a94374e Created Radiation, Photo classes and slimmed down main program.
- Radiation creates a list with timezone_aware datetime and radiation in µS/h.
- Photo reads DateTimeOriginal from photo.
- Photo.write_exif compiles new metadata object and writes exif tags to photo.
- Documentd changes in CHANGELOG.md.
- Changed Readme.me to match changes in code.
- Removed obsolete line from .gitignore
2020-03-10 21:09:25 +01:00
d347bbdf55 Fixed typo. 2020-03-10 00:03:06 +01:00
cbb21db442 Moved creation and propagation of radiation_list and position_list out of the main loop. 2020-03-09 23:52:03 +01:00
d51c28b753 Refactored variable names, fixed dry run decision. 2020-03-09 23:43:01 +01:00
314e70faa9 Now got 2 lists with with all data relevant for one photo. 2020-03-09 23:22:34 +01:00
a2ae379883 Made file executable. 2020-03-09 23:00:19 +01:00
fcc466eb41 Started conversion to OOP.
Created class Radiation with functions time_conversion and radiation
2020-03-09 22:42:08 +01:00