Populating image headers: The images were processed to add additional information required by the USGS to add exchangeable image file format (EXIF) metadata to each image. The images (TIF) were given EXIF header information using Phil Harvey's ExifTool version 12.84. The following scripts were executed on a folder of images (datasets A through E) in Windows PowerShell:
First, the following command was run on all images in a folder to preserve filenames:
exiftool -P "-XMP:PreservedFileName<Filename" *.TIF
Second, the following command was run on all images in a folder to populate the first set of headers:
exiftool -IPTC:Credit="U.S. Geological Survey" -IPTC:Contact="gs-g-spcmsc_data_inquiries@usgs.gov" -EXIF:Copyright="Public Domain" -XMP:UsageTerms="Unless otherwise stated, all data, metadata and related materials are considered to satisfy the quality standards relative to the purpose for which the data were collected. Although these data and associated metadata have been reviewed for accuracy and completeness and approved for release by the U.S. Geological Survey (USGS), no warranty expressed or implied is made regarding the display or utility of the data for other purposes, nor on all computer systems, nor shall the act of distribution constitute any such warranty." -EXIF:ImageDescription="
https://cmgds.marine.usgs.gov/fan_info.php?fan=2016-371-DD; Laboratory observations of sand transport over ripples at the U.S. Naval Research Laboratory, Stennis Space Center, Mississippi. Data were collected on January 6–7, 2016." -XMP:AttributionURL="
https://doi.org/10.5066/P1OUXO7S" -XMP:ExternalMetadataLink="
https://www1.usgs.gov/pir/api/identifiers/USGS:2e037ea4-c784-4806-b0ba-83904622c8ed" -EXIF:Artist="Donya Frank-Gilchrist (USGS), former National Research Council Post-Doctoral Fellow at the U.S. Naval Research Laboratory" -EXIF:Make="Laser: Litron, Cameras: Photron" -EXIF:Model="Lasers: Nano L Nd:YAG, Cameras: FASTCAM SA1.1" -sep ";" -IPTC:Keywords="sand ripples; sand transport; particle image velocimetry; oscillatory flows; nearshore processes; coastal processes; coastal hydrodynamics; coastal sediment transport; coastal morphodynamics; wave processes; fluid vortices" -overwrite_original -P *.TIF
Fourth, the following command run on all images in a folder to copy information into duplicate tags:
exiftool "-XMP-photoshop:Credit<IPTC:Credit" "-XMP-iptcCore:CreatorWorkEmail<IPTC:Contact" "-XMP-dc:Rights<EXIF:Copyright" "-XMP-dc:Description<EXIF:ImageDescription" -overwrite_original -P *.TIF
To read out the complete imagery header information to a comma-separated values (CSV) file, run the following command line script: 'exiftool -csv *.tif > allheaders.csv'. Specific tags may be specified with this command, if preferred.