Skip to content
Snippets Groups Projects
Commit cf990233 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Add reference testdata for module COND

parent c53e57ea
No related branches found
No related tags found
1 merge request!119M214003/develop
......@@ -10,6 +10,7 @@ FILE = file_F32_srv_ref
GRIB = grib_testfile01_sinfo_ref grib_testfile01_info_ref grib_testfile02_sinfo_ref grib_testfile02_info_ref grib_testfile03_sinfo_ref grib_testfile03_info_ref
NETCDF = netcdf_testfile01_sinfon_ref netcdf_testfile01_infon_ref netcdf_testfile02_sinfon_ref netcdf_testfile02_infon_ref netcdf_testfile03_sinfon_ref netcdf_testfile03_infon_ref
ADISIT = adisit_ref adipot_ref
COND = cond_ifthenc_ref cond_ifnotthenc_ref
COMP = comp_eqc_ref comp_gec_ref comp_gtc_ref comp_lec_ref comp_ltc_ref comp_nec_ref comptest.srv
EOF = eval_ref eof_ref pcoeff00000
ECA = eca_hwfi_ref etccdi_wsdi_ref
......@@ -185,7 +186,7 @@ SPLIT = splitcode_129.grb splitcode_130.grb splitcode_152.grb splitparam_
splitgrid_01.grb splitlevel_000000.grb splitlevel_000090.grb splitlevel_000900.grb splitlevel_009000.grb splitlevel_090000.grb \
splitname_geosp.grb splitname_lsp.grb splitname_t.grb splittabnum_128.grb splitzaxis_01.grb splitzaxis_02.grb
EXTRA_DIST = $(INPUTDATA) $(FILE) $(GRIB) $(NETCDF) $(ADISIT) $(EOF) $(COMP) $(YDRUNSTAT) $(YDAYSTAT) $(YDAYSTATM) \
EXTRA_DIST = $(INPUTDATA) $(FILE) $(GRIB) $(NETCDF) $(ADISIT) $(EOF) $(COND) $(COMP) $(YDRUNSTAT) $(YDAYSTAT) $(YDAYSTATM) \
$(YMONSTAT) $(YMONSTATM) $(YSEASSTAT) $(YSEASSTATM) $(SEASSTAT) $(SEASSTATM) $(TIMPCTL) $(TIMSELPCTL) \
$(RUNSTAT) $(RUNSTATM) $(RUNPCTL) $(TIMSTAT2) $(YEARMONSTAT) $(VERTSTAT) $(VARSSTAT) $(FLDSTAT2) $(FLDSTAT) $(FLDPSTAT) \
$(ISOSURFACE) $(ECA) $(ETCCDI) $(MATH) \
......
File added
File added
......@@ -6,6 +6,44 @@ FORMAT="-f srv -b F32"
#
########################################################################
#
# COND
#
OPERATORS="ifthen ifnotthen"
#
IFILE=infile
$CDO $FORMAT mul -topo,global_10 -mask,global_10 $IFILE
CONST=-77
CFILE=cfile
$CDO $FORMAT -const,$CONST,$IFILE $CFILE
#
for OPERATOR in $OPERATORS; do
$CDO $FORMAT $OPERATOR $IFILE $CFILE cond_${OPERATOR}_ref
done
#
rm $IFILE $CFILE
#
exit
#
########################################################################
#
# CONDC
#
OPERATORS="ifthenc ifnotthenc"
#
IFILE=infile
$CDO $FORMAT mul -topo,global_10 -mask,global_10 $IFILE
CONST=-77
#
for OPERATOR in $OPERATORS; do
$CDO $FORMAT $OPERATOR,$CONST $IFILE cond_${OPERATOR}_ref
done
#
rm $IFILE
#
exit
#
########################################################################
#
# SPLIT
#
IFILE=pl_data.grb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment