Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Adding steps about the tools and installing those tools ( rawtherapee, mobaxterm)

  2. Steps in rawtherapee

  3. Command line instructions

  4. Pics or screenshots will be very helpful

    1. Provide video overview

  5. Requirements

    1. How to get requirements

  6. Additional requirements and instructions

    1. Azure

    2. SUNNY

    3. NFS Locker Access

Backlog Spreadsheet:

Lref gdrive file
urlhttps://docs.google.com/spreadsheets/d/18fwdSJxMy1WjCBCSCTb3uERj5D32H5jmBEh5dVpvrog/edit?gid=1066600493#gid=1066600493

1. Download Batch

When downloading a Semifield batch, we need to copy it over to the local user from the NFS Lockers.

...

We must know the number of images in the original batch. This can be checked using this command line:

Code Block
breakoutModewide
ls /mnt/research-projects/s/screberg/longterm_images2/semifield-upload/<batch>/*.ARW | wc -l

...

To exit the screen, use CTRL+A D

3.1 Checking the success of the pipeline

If there is an indication the pipeline is finished running, we want to crosscheck the number of images within the original batch with the number of jpgs and pp3s created.

We can use both of these lines respectively:

Code Block
breakoutModewide
ls /mnt/research-projects/s/screberg/longterm_images2/semifield-developed-images/<batch>/images/*.jpg | wc -l
Code Block
breakoutModewide
ls /mnt/research-projects/s/screberg/longterm_images2/semifield-developed-images/<batch>/images/*.pp3 | wc -l

...

If the number of jps and pp3s are not equivalent to the original number of images, try running the pipeline again within the screen. Double check the name of the batch that was typed in, this is where errors are likely to happen. Also, be sure to be navigated to the Semifield folder. If we are within the Field folder, the pipeline will not be successful.

Backlog Spreadsheet:

Lref gdrive file
urlhttps://docs.google.com/spreadsheets/d/18fwdSJxMy1WjCBCSCTb3uERj5D32H5jmBEh5dVpvrog/edit?gid=1066600493#gid=1066600493

Common & Useful Commands

Available batches:

Code Block
breakoutModewide
ls /mnt/research-projects/s/screberg/longterm_images2/semifield-upload/ -lh

# of images in batch:

Code Block
breakoutModewide
ls /mnt/research-projects/s/screberg/longterm_images2/semifield-upload/<batch>/*.ARW | wc -l

# of jpgs processed:

Code Block
breakoutModewide
ls /mnt/research-projects/s/screberg/longterm_images2/semifield-developed-images/<batch>/images/*.jpg | wc -l

# of pp3 files created:

Code Block
breakoutModewide
ls /mnt/research-projects/s/screberg/longterm_images2/semifield-developed-images/<batch>/images/*.pp3 | wc -l

Blob Analyzer

4. Blob Analyzer

...

4.1 Installing conda (miniconda) 

Use these commands below from the command line in the SUNNY server:

Code Block
mkdir -p ~/miniconda3

...


wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh

...


bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3

...


rm  ~/miniconda3/miniconda.sh

...


~/miniconda3/bin/conda init bash

Close the remote connection, then

...

SSH back in

4.2 Setting up a conda environment

Still in the command line inside of SUNNY:

Code Block
conda create -n <your env name> python=3.10

...


conda activate <your env name>

...


cd /home/psa_images/analyze_blobs

...


pip install -r requirements.txt

4.3 Running the code 

Your conda environment must be activated to run the code.

Run these in the command line.:

Code Block
conda activate <your env name>

...


cd /home/psa_images/analyze_blobs

...


python ANALYZE_BLOB.py
  1. Creates 2 time stamped files in the “results” folder in the main project directory. 

    1. A text files that provides a general summary of missing batches

    2. A csv file that can be viewed in excel or google docs

5. Common & Useful Commands

...

Available batches:

Code Block
breakoutModewide
ls /mnt/research-projects/s/screberg/longterm_images2/semifield-upload/ -lh

# of images in batch:

Code Block
breakoutModewide
ls /mnt/research-projects/s/screberg/longterm_images2/semifield-upload/<batch>/*.ARW | wc -l

# of jpgs processed:

Code Block
breakoutModewide
ls /mnt/research-projects/s/screberg/longterm_images2/semifield-developed-images/<batch>/images/*.jpg | wc -l

# of pp3 files created:

Code Block
breakoutModewide
ls /mnt/research-projects/s/screberg/longterm_images2/semifield-developed-images/<batch>/images/*.pp3 | wc -l