#!/bin/bash
SINGULARITY_IMAGE=$HOME/amsr2/amsr2_level1_2.220.222.simg
input_file=$(readlink -f $1)
singularity run -e -c \
  -B $HOME/amsr2/seaflg:/opt/AMSR2-L1/para/seaflg,$PWD:/mnt,$input_file \
  $SINGULARITY_IMAGE /opt/process.sh $input_file . 
