A Python script (MCZM_writeexif_2_readfile.py) was run that incorporated the matched-up location data, along with additional survey information, into the appropriate tags in the Exif header of each JPEG image. Since the imagery was acquired with three different cameras, the script was run separately for each camera's imagery using slightly different tags. The Python script uses ExifTool (version 10.17) to write the information to the image headers. Information is duplicated in some tags because various software packages access different tags. The following tags were populated in the JPEG image headers:
GPS tags (these values are unique for each image and based on the matched-up location data):
GPSLatitudeRef
GPSLatitude
GPSLongitudeRef
GPSLongitude
GPSTimeStamp
GSPDateStamp
JPEG tag and the information used to populate this tag, which is different for each camera's imagery:
Konica Minolta DiMAGE A2 photos:
Comment: Photo from down-looking camera on the USGS SEABOSS deployed from the OSV Bold during survey 2011-015-FA (
https://cmgds.marine.usgs.gov/fan_info.php?fan=2011-015-FA).
Kongsberg Simrad OE1365 video frame grabs:
Comment: Video frame grab from down-looking camera on the USGS SEABOSS deployed from the OSV Bold during survey 2011-015-FA (
https://cmgds.marine.usgs.gov/fan_info.php?fan=2011-015-FA).
GoPro HD HERO photos:
Comment: Photo from down-looking camera on the ship's Van Veen grab sampler deployed from the OSV Bold during survey 2011-015-FA (
https://cmgds.marine.usgs.gov/fan_info.php?fan=2011-015-FA).
Exif tags and the information used to populate these tags, which is the same for every image:
ImageDescription: Image of the sea floor in Cape Cod Bay, Buzzards Bay, or Vineyard Sound; south of Martha's Vineyard; or south or east of Nantucket, Massachusetts, from survey 2011-015-FA
Artist: William C. Schwab
Copyright: Public Domain - please credit U.S. Geological Survey
International Press Telecommunications Council (IPTC) tags and the information used to populate these tags, which is the same for every image (except "SEABOSS" was removed from the keywords for the GoPro photos):
Credit: U.S. Geological Survey
Contact: WHSC_data_contact@usgs.gov
Keywords: Cape Cod Bay, Cape Cod, Buzzards Bay, Vineyard Sound, Martha's Vineyard, Nantucket, Massachusetts, 2011-015-FA, SEABOSS, sea floor, USGS
CopyrightNotice: Public Domain - please credit U.S. Geological Survey
Caption-Abstract: Image of the sea floor in Cape Cod Bay, Buzzards Bay, or Vineyard Sound; south of Martha's Vineyard; or south or east of Nantucket, Massachusetts, from survey 2011-015-FA
Extensible Metadata Platform (XMP) tag and the information used to populate this tag, which is the same for every image:
Caption: Image of the sea floor in Cape Cod Bay, Buzzards Bay, or Vineyard Sound; south of Martha's Vineyard; or south or east of Nantucket, Massachusetts, from survey 2011-015-FA
To extract the information from the image headers using ExifTool, the following command can be used (tested with ExifTool version 10.17):
exiftool -csv -f -filename -GPSTimeStamp -GPSDateStamp -GPSLongitude -GPSLatitude -n -Artist -Credit -comment -keywords -Caption -Copyright -CopyrightNotice -Caption-Abstract -ImageDescription *.jpg > out.csv
The -csv option writes the information to a CSV file. The -n option formats the latitude and longitude as signed decimal degrees.