Hello,
I am running the Daily backtrajectories using Hysplit on Mac and would like to know if there is a way to get the .kmz file as an output, as I used to do when running the online version of Hysplit? I did not find the option in the Advanced setup.
Thank you very much!
Getting .kmz (google earth) file with installed version
-
- Posts: 660
- Joined: November 7th, 2012, 3:14 pm
- Registered HYSPLIT User: Yes
Re: Getting .kmz (google earth) file with installed version
Look in the Concentration/Display/Concentration/Contours
Re: Getting .kmz (google earth) file with installed version
Does this option work for backtrajectories, and not only for concentration runs?
Also, I suppose this would allow me to get a .kmz file for the last run when running the Special Run-Daily setup (1 traj/day during a month)? If I am correct, is there a way to get a kmz file for each of the backtrajectories?
Thank you for your time
Also, I suppose this would allow me to get a .kmz file for the last run when running the Special Run-Daily setup (1 traj/day during a month)? If I am correct, is there a way to get a kmz file for each of the backtrajectories?
Thank you for your time
-
- Posts: 660
- Joined: November 7th, 2012, 3:14 pm
- Registered HYSPLIT User: Yes
Re: Getting .kmz (google earth) file with installed version
Yes, it works for trajectories and concentrations.
To get a kmz file for each trajectory in your daily trajectories you will need to use a script like the one below:
#!/bin/sh
MDL="${HOME}/hysplit4"
MET="${HOME}/Tutorial/captex"
OUT="${MDL}/working"
cd $OUT
if [ ! -f ASCDATA.CFG ]; then
echo "-90.0 -180.0" >ASCDATA.CFG
echo "1.0 1.0" >>ASCDATA.CFG
echo "180 360" >>ASCDATA.CFG
echo "2" >>ASCDATA.CFG
echo "0.2" >>ASCDATA.CFG
echo "'$MDL/bdyfiles/'" >>ASCDATA.CFG
fi
echo "### $0 ###"
rm -f SETUP.CFG
rm -f fdump????????
YY="83"
MM="09"
for dd in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 \
15 16 17 18 19 20 21 22 23 24 25 26 27 28; do
DD=`printf %2.2d $dd`
for hh in 0 6 12 18;do
HH=`printf %2.2d $hh`
DATE="${YY}${MM}${DD}${HH}"
echo "$YY $MM $DD $HH " >CONTROL
echo "1 " >>CONTROL
echo "39.90 -84.22 750.0 " >>CONTROL
echo "48 " >>CONTROL
echo "0 " >>CONTROL
echo "10000.0 " >>CONTROL
echo "1 " >>CONTROL
echo "$MET/ " >>CONTROL
echo "RP198309.gbl " >>CONTROL
echo "./ " >>CONTROL
echo "fdump${DATE} " >>CONTROL
${MDL}/exec/hyts_std
${MDL}/exec/concplot -m0 -k1 -z80 -j${MDL}/graphics/arlmap -ifdump${DATE} -a2
mv HYSPLIT_ps.kml HYSPLIT_ps_${DATE}.kml
done
done
To get a kmz file for each trajectory in your daily trajectories you will need to use a script like the one below:
#!/bin/sh
MDL="${HOME}/hysplit4"
MET="${HOME}/Tutorial/captex"
OUT="${MDL}/working"
cd $OUT
if [ ! -f ASCDATA.CFG ]; then
echo "-90.0 -180.0" >ASCDATA.CFG
echo "1.0 1.0" >>ASCDATA.CFG
echo "180 360" >>ASCDATA.CFG
echo "2" >>ASCDATA.CFG
echo "0.2" >>ASCDATA.CFG
echo "'$MDL/bdyfiles/'" >>ASCDATA.CFG
fi
echo "### $0 ###"
rm -f SETUP.CFG
rm -f fdump????????
YY="83"
MM="09"
for dd in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 \
15 16 17 18 19 20 21 22 23 24 25 26 27 28; do
DD=`printf %2.2d $dd`
for hh in 0 6 12 18;do
HH=`printf %2.2d $hh`
DATE="${YY}${MM}${DD}${HH}"
echo "$YY $MM $DD $HH " >CONTROL
echo "1 " >>CONTROL
echo "39.90 -84.22 750.0 " >>CONTROL
echo "48 " >>CONTROL
echo "0 " >>CONTROL
echo "10000.0 " >>CONTROL
echo "1 " >>CONTROL
echo "$MET/ " >>CONTROL
echo "RP198309.gbl " >>CONTROL
echo "./ " >>CONTROL
echo "fdump${DATE} " >>CONTROL
${MDL}/exec/hyts_std
${MDL}/exec/concplot -m0 -k1 -z80 -j${MDL}/graphics/arlmap -ifdump${DATE} -a2
mv HYSPLIT_ps.kml HYSPLIT_ps_${DATE}.kml
done
done