This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Add GPS data to JPG pictures based on the ship.json folder. | |
""" | |
import exifread | |
from gpsexif import setGPS | |
from os import listdir | |
from os.path import isfile, join | |
import json | |
from datetime import datetime, timedelta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Set the GitHub repository and destination folder | |
github_repo="mdmparis/defense-finder-models" | |
destination_folder="DefenseFinder_anvio/" | |
source_folder="defense-finder-models" | |
# Function to check if a file exists, and exit with a warning if it does | |
check_file_exists() { | |
if [ -e "$1" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Set the GitHub repository and destination folder | |
github_repo="mdmparis/defense-finder-models" | |
destination_folder="DefenseFinder/" | |
source_folder="defense-finder-models" | |
# Function to check if a file exists, and exit with a warning if it does | |
check_file_exists() { | |
if [ -e "$1" ]; then |