- Timestamp:
- Aug 9, 2018, 10:12:00 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/obs-sim_Comparison.bash
r2043 r2062 1448 1448 timefS=`date +%Y%m%d%H%M%S -d"${Dref} ${timev} ${Tu}"` 1449 1449 1450 # for now...1451 sndstn=${stid}1450 sndstn=`python $pyHOME/nc_var.py -o grattr -f ${sndorigfn} -S Station_name | \ 1451 tr ' ' '!'` 1452 1452 1453 1453 fivals=${it}'#'${stid}'#'${sndstn}'#'${timeS}'#'${ofigdir}'#'${timefS}'#' … … 1505 1505 sndlat=`ncdump -h ${sndorigfn} | grep Station_latitude | awk '{print $3}'` 1506 1506 sndts=`echo ${sndtimes} | tr ',' ' '` 1507 1508 # for now... 1509 sndstn=${stid} 1507 sndstn=`python $pyHOME/nc_var.py -o grattr -f ${sndorigfn} -S Station_name | \ 1508 tr ' ' '!'` 1510 1509 1511 1510 # Time characteristics … … 1686 1685 # End of soundings stations 1687 1686 done 1687 1688 # Joining sounding 1D variables 1689 obssnd1Dfile=${odir}'/all_sounding_1D.nc' 1690 if test ! -f ${obssnd1Dfile}; then 1691 python ${pyHOME}/nc_var.py -o join_sounding_obsfiles -S ${snddir}':UWyoming_snd' \ 1692 -v all 1693 if test $? -ne 0; then 1694 echo ${errmsg} 1695 echo " python failed!!" 1696 echo python ${pyHOME}/nc_var.py -o join_sounding_obsfiles \ 1697 -S ${snddir}':UWyoming_snd' -v all 1698 fi 1699 echo " * Joining all 1D variables from all sounding station files : " >> ${ofileins} 1700 echo python ${pyHOME}/nc_var.py -o join_sounding_obsfiles \ 1701 -S ${snddir}':UWyoming_snd' -v all >> ${ofileins} 1702 echo " " >> ${ofileins} 1703 mv joined_soundingstations.nc ${obssnd1Dfile} 1704 fi 1705 1688 1706 exit 1689 1707 … … 1705 1723 echo " * Joining all surface station files : " >> ${ofileins} 1706 1724 echo python ${pyHOME}/nc_var.py -o join_singlestation_obsfiles -S \ 1707 ${sfcdir}':OBSnetcdf' -v all 1725 ${sfcdir}':OBSnetcdf' -v all >> ${ofileins} 1708 1726 echo " " >> ${ofileins} 1709 1727 mv joined_singlestations.nc ${obssfcfile}
Note: See TracChangeset
for help on using the changeset viewer.