Step 7: Incorporated survey information into the images' metadata tags.
The following commands were used with ExifTool (version 10.17) to incorporate additional survey information into the appropriate metadata tags of each JPEG image. Since the images were acquired during two surveys, different commands were run for each survey's photos using slightly different tags. Information is duplicated in some tags because various software packages access different tags. Please note that depending on the software used to view the metadata tags, only a subset of these tags may be extracted.
Fall 2017 Nikon photos:
exiftool -P -Artist="Seth D. Ackerman, Dann S. Blackwood" -Copyright="Public Domain - please credit U.S. Geological Survey" -ImageDescription="Photograph of the sea floor in Long Island Sound, New York and Connecticut, from survey 2017-056-FA" -Caption-Abstract="Photograph of the sea floor in Long Island Sound, New York and Connecticut, from survey 2017-056-FA" -Contact="WHSC_data_contact@usgs.gov" -CopyrightNotice="Public Domain - please credit U.S. Geological Survey" -Credit="U.S. Geological Survey" -sep ", " -keywords="Long Island Sound, New York, Connecticut, 2017-056-FA, SEABOSS, sea floor, USGS" -comment="Photo from down-looking camera on the USGS SEABOSS deployed from the R/V Connecticut during survey 2017-056-FA (
https://cmgds.marine.usgs.gov/fan_info.php?fan=2017-056-FA)." -Caption="Photograph of the sea floor in Long Island Sound, New York and Connecticut, from survey 2017-056-FA" *.JPG
Spring 2018 Nikon and GoPro photos:
exiftool -P -Artist="Seth D. Ackerman, Dann S. Blackwood" -Copyright="Public Domain - please credit U.S. Geological Survey" -ImageDescription="Photograph of the sea floor in Long Island Sound, New York and Connecticut, from survey 2018-018-FA" -Caption-Abstract="Photograph of the sea floor in Long Island Sound, New York and Connecticut, from survey 2018-018-FA" -Contact="WHSC_data_contact@usgs.gov" -CopyrightNotice="Public Domain - please credit U.S. Geological Survey" -Credit="U.S. Geological Survey" -sep ", " -keywords="Long Island Sound, New York, Connecticut, 2018-018-FA, SEABOSS, sea floor, USGS" -comment="Photo from down-looking camera on the USGS SEABOSS deployed from the R/V Connecticut during survey 2018-018-FA (
https://cmgds.marine.usgs.gov/fan_info.php?fan=2018-018-FA)." -Caption="Photograph of the sea floor in Long Island Sound, New York and Connecticut, from survey 2018-018-FA" *.JPG
The following tags were populated in the JPEG image headers using the above ExifTool commands:
Exif tags and the information used to populate these tags:
Artist: Seth D. Ackerman, Dann S. Blackwood
Copyright: Public Domain - please credit U.S. Geological Survey
ImageDescription (fall 2017 Nikon photos): Photograph of the sea floor in Long Island Sound, New York and Connecticut, from survey 2017-056-FA
ImageDescription (spring 2018 Nikon and GoPro photos): Photograph of the sea floor in Long Island Sound, New York and Connecticut, from survey 2018-018-FA
International Press Telecommunications Council (IPTC) tags and the information used to populate these tags:
Caption-Abstract (fall 2017 Nikon photos): Photograph of the sea floor in Long Island Sound, New York and Connecticut, from survey 2017-056-FA
Caption-Abstract (spring 2018 Nikon and GoPro photos): Photograph of the sea floor in Long Island Sound, New York and Connecticut, from survey 2018-018-FA
Contact: WHSC_data_contact@usgs.gov
CopyrightNotice: Public Domain - please credit U.S. Geological Survey
Credit: U.S. Geological Survey
Keywords (fall 2017 Nikon photos): Long Island Sound, New York, Connecticut, 2017-056-FA, SEABOSS, sea floor, USGS
Keywords (spring 2018 Nikon and GoPro photos): Long Island Sound, New York, Connecticut, 2018-018-FA, SEABOSS, sea floor, USGS
JPEG tag and the information used to populate this tag:
Comment (fall 2017 Nikon photos): Photo from down-looking camera on the USGS SEABOSS deployed from the R/V Connecticut during survey 2017-056-FA (
https://cmgds.marine.usgs.gov/fan_info.php?fan=2017-056-FA).
Comment (spring 2018 Nikon and GoPro photos): Photo from down-looking camera on the USGS SEABOSS deployed from the R/V Connecticut during survey 2018-018-FA (
https://cmgds.marine.usgs.gov/fan_info.php?fan=2018-018-FA).
Extensible Metadata Platform (XMP) tag and the information used to populate this tag:
Caption (fall 2017 Nikon photos): Photograph of the sea floor in Long Island Sound, New York and Connecticut, from survey 2017-056-FA
Caption (spring 2018 Nikon and GoPro photos): Photograph of the sea floor in Long Island Sound, New York and Connecticut, from survey 2018-018-FA
To extract the information from the image metadata tags using ExifTool, the following command can be used (tested with ExifTool version 10.17):
exiftool -csv -f -filename -GPSTimeStamp -GPSDateStamp -GPSLatitude -GPSLongitude -n -Artist -Copyright -ImageDescription -Caption-Abstract -Contact -CopyrightNotice -Credit -keywords -comment -Caption *.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. Please note that the above command was tested on macOS; Windows users may need to use "exiftool.exe" instead of "exiftool." Also note that the argument list may be too long if this command is used in a directory with all of the images. As a workaround, the command may be run separately on the fall 2017 and spring 2018 images by using a wildcard to select the images for each year in the directory (e.g., end the above command with LISMaRC_Fall2017*.JPG > out2017.csv to run it on the fall 2017 images and LISMaRC_Spring2018*.JPG > out2018.csv for the spring 2018 images).