Changeset 2028 in lmdz_wrf for trunk/tools/obs-sim_Comparison.bash
- Timestamp:
- Aug 6, 2018, 4:23:09 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/obs-sim_Comparison.bash
r2024 r2028 1470 1470 obsuavaf=${odir}/sounding_uava_${stid}.nc 1471 1471 obspres=`python $pyHOME/nc_var.py -o varout -f ${obsuavaf} -S time:${it} \ 1472 -v pres | awk '{print $2}' | tr '\n' ' '` 1473 kobs=0 1474 for obsp0 in ${obspres}; do 1475 obsp=`echo ${obsp0} | awk '{printf ("%d",$1*1000)}'` 1476 if test ${obsp} -gt ${nsimpres}; then kobs=`expr ${kobs} + 1` 1477 else kobs=`expr ${kobs} + 1`; break; fi 1478 done 1472 -v pres | awk '{print $2}' | tr '\n' ':'` 1473 vals=${obspres}',threshold,:,'${nsimpres} 1474 kobs=`python ${pyHOME}/generic.py -o inf_operSlist -S ${vals}` 1475 if test $? -ne 0; then 1476 echo ${errormsg} 1477 echo " python failed !!" 1478 echo python ${pyHOME}/generic.py -o inf_operSlist -S ${vals} 1479 exit 1480 fi 1481 echo " obs level of sim npres "${nsimpres}": "${kobs} 1479 1482 1480 1483 mWRcomplabs='obs,'${expn} … … 1538 1541 1539 1542 multi_WindRose_plot ${fivals} 1543 exit 1540 1544 1541 1545 it=`expr ${it} + 1`
Note: See TracChangeset
for help on using the changeset viewer.