Skip to content

Data Management

How captured images and metadata are stored with redundant backup (local, Google Drive, OSC) and exported from Lightroom as raw files and 300 PPI PNGs for downstream processing.

File Storage and Redundant Backup

  • Save images using the default naming convention on the camera and record names in the metadata sheet for automated renaming.
    • This reduces the chance of mistranscription.
  • Store images in at least two separate locations (primary storage and sharing).
    • Locally on the Computer, Google Drive, and OSC.

      • Google Drive is copied to OSC regularly with the following shell script. Replace <PROJECT-CODE> with your project code. The local directory should be set based on the HPC system used.
      #!/bin/bash
      
      # Exit if any command fails
      set -e
      
      # Set remote name and path
      REMOTE="GoogleDrive_NEONBeetle2"
      
      # Set local destination
      LOCAL_DIR="/fs/ess/<PROJECT-CODE>/CarabidImaging/" 
      
      # Use rclone to copy only new or updated files
      rclone copy "$REMOTE:" "$LOCAL_DIR" \
      --drive-export-formats xlsx \
      --update \
      --verbose \
      --exclude "*/Student/" \
      --log-file="$LOCAL_DIR/rclone_sync.log"
      

Data Exports

  • Locate the raw images in the computer's file system: C:\Users\biorepository\Desktop\Beetle Tray Pics\BTray\ABTrays\ABTrays-NEONBiorepository\
  • Select all of the Raw photos (.CR3 files) and copy them to the Google Drive in the folder /Images/Raw/.
  • In Lightroom, select all photos from the date of imaging
    • Click the grid view (looks like a grid of boxes at the bottom left of the interface): ref photo: Screen shot of the bottom of the lightroom UI with the button to toggle to grid view highlighted by a box and arrow and use Shift + click to select all images of interest
  • Right-click on selected images and select “Export”: ref photo: Screen shot of the lightroom UI with the right click activated and showing the nested selection pathway to get to export
  • Export as PNG (This export takes a while).
    • Ensure that the PPI is assigned to 300: ref photo...resolution setting with 300 filled in the box, followed by pixels per inch as the unit of measure
    • Don’t modify the names
    • Export in the folder: C:\\Users\\biorepository\\Desktop\\Beetle Tray Pics\\BTray\\ABTrays\\ABTrays-NEONBiorepository\\PNGs ref photo: Screen shot of the bottom of the lightroom export UI showing how files should be entered
  • Once the export is done, select all PNGs and upload them to the Google Drive in the folder /Images/PNG/