Made CSV sample more readable.

This commit is contained in:
Marcus Scholz 2020-03-04 13:04:27 +01:00
parent f3de13eedb
commit 3e7e3737cb
1 changed files with 10 additions and 4 deletions

View File

@ -14,16 +14,22 @@ Right now it depends on the following non-core Python 3 libraries:
* [piexif](https://pypi.org/project/pyexif/): Python module for working with EXIF image data.
## Requirements
* GeigerCounter log file in csv format as it is being exported by the software GeigerLog. Such files look like this:
`# ID , time in isoformat , CP/M, CP/S`
`149654, 2020-02-27 05:12:42, 13.0, 0.0`
* GeigerCounter log file in csv format as it is being exported by the software GeigerLog.
* A bunch of images (jpg, cr2, etc.) with its time of creation stored in `DateTimeOriginal`
All sources are matched by their timestamp, so all sources have to be recorded during the same time (and timezone). The Geiger counter has to log a value every second, as the script compares the timestamps exactly.
These exported .his files look like this:
```
# ID , time in isoformat , CP/M, CP/S
149654, 2020-02-27 05:12:42, 13.0, 0.0
```
## Usage
```usage: exif_rad.py [-h] [-si SIFACTOR] [-o OUTDIR] CSV Photo [Photo ...]
```
usage: exif_rad.py [-h] [-si SIFACTOR] [-o OUTDIR] CSV Photo [Photo ...]
A tool that writes radiation levels (and optionally geocoordinates) to image
files and extracts the infos from external sources.