The bottom imagery locations CSV file was reorganized to have fields for the filename, latitude, longitude, GPS date, and GPS time. 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 two 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. Please note that depending on the software used to view the Exif header tags, only a subset of these tags may be extracted. 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:
Canon PowerShot G12 photos:
Comment: Photo from down-looking camera on the USGS SEABOSS deployed from the OSV Bold during survey 2012-035-FA (
https://cmgds.marine.usgs.gov/fan_info.php?fan=2012-035-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 2012-035-FA (
https://cmgds.marine.usgs.gov/fan_info.php?fan=2012-035-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 Ipswich Bay or Massachusetts Bay, Massachusetts, from survey 2012-035-FA
Artist: Seth D. Ackerman
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:
Credit: U.S. Geological Survey
Contact: WHSC_data_contact@usgs.gov
Keywords: Ipswich Bay, Massachusetts Bay, Massachusetts, 2012-035-FA, SEABOSS, sea floor, USGS
CopyrightNotice: Public Domain - please credit U.S. Geological Survey
Caption-Abstract: Image of the sea floor in Ipswich Bay or Massachusetts Bay, Massachusetts, from survey 2012-035-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 Ipswich Bay or Massachusetts Bay, Massachusetts, from survey 2012-035-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.