A Python script (writeexif_2_readfile_7_25_19.py executed with IDLE version 2.7.14 on a Windows 10 machine) was then run that incorporated the information from 2015-017-FA_image_locations.csv, along with additional information, into the appropriate locations in the EXIF header of each GoPro grab image. Although the two images from each station are not from the exact same place, the same information for that station was populated in each photo. The Python script uses ExifTool ( version 11.54,
https://exiftool.org ) to write the information to the image headers of the full-resolution images. The following tags were populated in the JPEG image headers. Information is duplicated in some tags because different software packages access different tags.
GPS tags: The values populated are unique for each station image and based on the information exported from 2015-017-FA_station_data_summary.csv.
GPSLatitudeRef
GPSLatitude
GPSLongitudeRef
GPSLongitude
GPSTimeStamp
GSPDateStamp
JPEG tag: The tag is listed along with the information used to populate it, which is the same for every image.
comment: Image grabs from a GoPro digital video camera mounted on the USGS SEABOSS deployed from the R/V Auk during survey 2015-017-FA ( https://cmgds.marine.usgs.gov/fan_info.php?fan=2015-017-FA ).
EXIF tags: The tag is listed along with the information used to populate it, which is the same for every image.
ImageDescription: Image grab of the sea floor on Stellwagen Bank, MA from survey 2015-017-FA
Artist: Page C. Valentine
Copyright: Public Domain - please credit U.S. Geological Survey
UserComment: Image part of USGS data release https://doi.org/10.5066/P9BG490P
IPTC tags: The tag is listed along with the information used to populate it, which is the same for every image.
Credit: U.S. Geological Survey
Contact: WHSC_data_contact@usgs.gov
keywords: Stellwagen Bank, Massachusetts, 2015-017-FA, SEABOSS, sea floor, USGS, ground-truth, https://doi.org/10.5066/P9BG490P
CopyrightNotice: Public Domain - please credit U.S. Geological Survey
Caption-Abstract: Image grab of the sea floor on Stellwagen Bank, MA from survey 2015-017-FA
XMP tag: The tag is listed along with the information used to populate it - which is the same for every image.
Caption: Image grab of the sea floor on Stellwagen Bank, MA from survey 2015-017-FA
To extract the information from the image headers using ExifTool, the following command can be used (tested with ExifTool version 11.54 running in Cygwin):
exiftool.exe -csv -f -filename -GPSTimeStamp -GPSDateStamp -GPSLongitude -GPSLatitude -n -Artist -Credit -comment -keywords -Caption -Copyright -CopyrightNotice -Caption-Abstract -ImageDescription -UserComment *.jpg > out.csv
The -csv flag writes the information out in a comma-delimited format. The -n option formats the latitude and longitude as signed decimal degrees. Whether you use exiftool or exiftool.exe will depend on the operating system on which the command is being run.