- Timestamp:
- Jul 30, 2018, 4:31:23 PM (7 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/obs-sim_Comparison.bash
r1983 r1984 7 7 8 8 # Name of the file with the configuration 9 configfname='/home/lluis/estudios/ChemGBsAs/tests/199501/obs_simComparison.conf' 9 if test $1 = '-h'; then 10 echo "************************************************" 11 echo "*** Script to compare ***" 12 echo "*** sounding and single-station observations ***" 13 echo "*** with multiple simulations ***" 14 echo "************************************************" 15 echo "obs-sim_Comparison [ConfFile](configuration file)" 16 else 17 rootsh=`pwd` 18 19 configfname=$1 10 20 11 21 ####### ###### ##### #### ### ## # … … 40 50 41 51 uploadvars ${configfname} 42 # END upload -- end UPLOAD -- END upload -- end UPLOAD 52 echo "END upload -- end UPLOAD -- END upload -- end UPLOAD" 43 53 44 54 # files from scratch … … 481 491 done 482 492 483 493 if test ${sfcvars} != 'None'; then 484 494 # surface diags 485 495 diagns=`echo ${wrfsfcdiags} | tr ':' ' '` … … 506 516 fi 507 517 done 518 fi 508 519 509 520 exps=`echo ${sims} | tr ':' ' '` … … 520 531 if ${fscratch}; then rm ${simjoinselvars}; fi 521 532 if test ! -f ${simjoinselvars}; then 522 values=${simdir}' ,Time,WRFtime'523 HMT= 'wrfout,'${timeS4},'00'533 values=${simdir}'/'${expf}','${simtimedimn}','${simtimevarn} 534 HMT=${simHMT} 524 535 python ${pyHOME}/nc_var.py -o netcdf_fold_concatenation_HMT -S ${values} \ 525 536 -f ${HMT} -v ${simvars} … … 552 563 fi 553 564 565 if test ${sfcvars} != 'None'; then 554 566 # Computing surface diagnostics 555 567 simsfcdiagf=${odir}'/simout_sfcdiags_'${expl}'.nc' … … 600 612 fi 601 613 done 614 fi 602 615 fi 603 616 … … 884 897 fi 885 898 886 sfcs=`echo ${sfcvars} | tr ':' ' '`887 888 899 # getting min,max values 900 if test ${sfcvars} != 'None'; then 901 fcs=`echo ${sfcvars} | tr ':' ' '` 902 889 903 iv=1 890 904 for sfcpv in ${sfcs}; do … … 1092 1106 # end of simulations 1093 1107 done 1108 fi 1109 1110 fi -
trunk/tools/obs_simComparison.conf
r1983 r1984 57 57 sims = ./,control,control,#FFAAFF 58 58 59 # Header, Middle, and, tail of the name of the simulation files [H],[M],[T] 60 simHMT = wrfout,d01,00 61 62 # time information from file 63 simtimedimn = time 64 simtimevarn = WRFtime 65 59 66 # Name of the variables to get from the simulations ',' separated list of variables names 60 67 simvars = XLONG,XLAT,T,P,PB,PH,PHB,QVAPOR,U,V,MU,MUB,SINALPHA,COSALPHA,T2,U10,V10,PSFC,Q2
Note: See TracChangeset
for help on using the changeset viewer.