mirror of https://github.com/ecmwf/eccodes.git
Testing: Tools options
This commit is contained in:
parent
b405d64d1e
commit
858b418335
|
@ -64,6 +64,11 @@ ${tools_dir}/bufr_ls -s satelliteID=313 -p satelliteID aaen_55.bufr > $fTmp
|
|||
grep -q "313" $fTmp
|
||||
|
||||
|
||||
# ------------------------
|
||||
# Test -w
|
||||
# ------------------------
|
||||
${tools_dir}/bufr_ls -w count=2 syno_multi.bufr
|
||||
|
||||
# ------------------------
|
||||
# Test corner cases
|
||||
# ------------------------
|
||||
|
|
|
@ -25,15 +25,25 @@ touch $fLog
|
|||
fTmp=${label}".tmp.txt"
|
||||
rm -f $fTmp
|
||||
|
||||
#----------------------------------------------
|
||||
# Test default "ls" on all the gts data files
|
||||
#----------------------------------------------
|
||||
#-------------------------------------------
|
||||
# Test default "ls" on the gts data file
|
||||
#-------------------------------------------
|
||||
gts_file=EGRR20150317121020_00493212.DAT
|
||||
f=$gts_file
|
||||
|
||||
echo $f >> $fLog
|
||||
${tools_dir}/gts_ls $f >> $fLog
|
||||
|
||||
#-------------------------------------------
|
||||
# Test "-s" switch
|
||||
#-------------------------------------------
|
||||
${tools_dir}/gts_ls -s YY=abc $f >> $fLog
|
||||
|
||||
#-------------------------------------------
|
||||
# Test "-w" switch
|
||||
#-------------------------------------------
|
||||
${tools_dir}/gts_ls -w AA=IY $f >> $fLog
|
||||
|
||||
#-------------------------------------------
|
||||
# Test "-p" switch
|
||||
#-------------------------------------------
|
||||
|
|
|
@ -36,6 +36,12 @@ export METAR_MONTH=4
|
|||
echo $f >> $fLog
|
||||
${tools_dir}/metar_ls $f >> $fLog
|
||||
|
||||
#-------------------------------------------
|
||||
# Test "-w" switch
|
||||
#-------------------------------------------
|
||||
${tools_dir}/metar_ls -w CCCC=VILK $f >> $fLog
|
||||
|
||||
|
||||
#-------------------------------------------
|
||||
# Test "-p" switch
|
||||
#-------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue