#!/bin/bash
# this one is for when we have part of a flight taking place on the following day
 # set date
d1=20010924
d2=200109250
 # create directories
mkdir ${d1}dBZe
mkdir ${d1}dBZeUntilted
mkdir ${d1}dopplerCorrected
mkdir ${d1}dopplerUncorrected
mkdir ${d1}nubfCorrection
mkdir ${d1}ldr
mkdir ${d1}specwid

 # move files into directories
mv *EDOP_F*${d1}*dBZe.png         ${d1}dBZe/
mv *EDOP_U*${d1}*dBZe.png         ${d1}dBZeUntilted/
mv *${d1}*nubf.png                ${d1}nubfCorrection/
mv *${d1}*specwid.png             ${d1}specwid/
mv *${d1}*LDR.png                 ${d1}ldr/
mv *${d1}*VelocityCorrected.png   ${d1}dopplerCorrected/
mv *${d1}*VelocityUncorrected.png ${d1}dopplerUncorrected/
 # move files collected during the following day into directories
mv *EDOP_F*${d2}*dBZe.png         ${d1}dBZe/
mv *EDOP_U*${d2}*dBZe.png         ${d1}dBZeUntilted/
mv *${d2}*nubf.png                ${d1}nubfCorrection/
mv *${d2}*specwid.png             ${d1}specwid/
mv *${d2}*LDR.png                 ${d1}ldr/
mv *${d2}*VelocityCorrected.png   ${d1}dopplerCorrected/
mv *${d2}*VelocityUncorrected.png ${d1}dopplerUncorrected/
