Using Multiple Data Files as Input
Posted: December 20th, 2017, 4:26 pm
Hello,
I am running hysplit on linux using the example .sh script given in the tutorial. I would like to have back trajectories extend back multiple days, which requires more than one input file. How should the script be modified in order to do this? I tried to add in another line for data but when running, I get an error. I also tried changing the 1 to a 2 two lines above where the file names are given, as seen below.
Any help would be appreciated! Thanks!
# set up control file for dispersion/concentration simulation
echo "$syr $smo $sda $shr " >CONTROL
echo "3 ">>CONTROL
echo "$olat $olon $lvl1 ">>CONTROL
echo "$olat $olon $lvl2 ">>CONTROL
echo "$olat $olon $lvl3 ">>CONTROL
echo "$run ">>CONTROL
echo "0 ">>CONTROL
echo "$ztop ">>CONTROL
echo "2 ">>CONTROL
echo "$MET/ ">>CONTROL
echo "$data ">>CONTROL
echo "$data2 ">>CONTROL
echo "$OUT/ ">>CONTROL
echo "tdump ">>CONTROL
I am running hysplit on linux using the example .sh script given in the tutorial. I would like to have back trajectories extend back multiple days, which requires more than one input file. How should the script be modified in order to do this? I tried to add in another line for data but when running, I get an error. I also tried changing the 1 to a 2 two lines above where the file names are given, as seen below.
Any help would be appreciated! Thanks!
# set up control file for dispersion/concentration simulation
echo "$syr $smo $sda $shr " >CONTROL
echo "3 ">>CONTROL
echo "$olat $olon $lvl1 ">>CONTROL
echo "$olat $olon $lvl2 ">>CONTROL
echo "$olat $olon $lvl3 ">>CONTROL
echo "$run ">>CONTROL
echo "0 ">>CONTROL
echo "$ztop ">>CONTROL
echo "2 ">>CONTROL
echo "$MET/ ">>CONTROL
echo "$data ">>CONTROL
echo "$data2 ">>CONTROL
echo "$OUT/ ">>CONTROL
echo "tdump ">>CONTROL