#!/bin/bash

if [ $# -eq 0 ]; then
    echo "usage inputFolder=./current/"
    folder=./events/Lonwang/
elif [ $# -eq 1 ]; then
    folder=$1 
fi

for gdName in chiku
do
  python python_reader.py --filePath=$folder$gdName"_20050930.nc" --outPath=$folder --gridName=$gdName
  python python_reader.py --filePath=$folder$gdName"_20051001.nc" --outPath=$folder --gridName=$gdName
  python python_reader.py --filePath=$folder$gdName"_20051002.nc" --outPath=$folder --gridName=$gdName
  python python_reader.py --filePath=$folder$gdName"_20051003.nc" --outPath=$folder --gridName=$gdName
  python python_reader.py --filePath=$folder$gdName"_20051004.nc" --outPath=$folder --gridName=$gdName
done
