Commit a2af7e91 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

added test/File.test.in

parent 7b97a5ee
......@@ -647,6 +647,7 @@ test/Arith.test.in -text
test/Cat.test.in -text
test/Copy_netcdf.test.in -text
test/Detrend.test.in -text
test/File.test.in -text
test/Genweights.test.in -text
test/Gridarea.test.in -text
test/Makefile.am -text
......@@ -665,6 +666,7 @@ test/data/Makefile.in -text
test/data/bathy4.grb -text
test/data/detrend_data -text
test/data/detrend_ref -text
test/data/file_F32_srv_ref -text
test/data/gen_refdata.sh -text
test/data/gp2sp_ref -text
test/data/gp2spl_ref -text
......
......@@ -240,7 +240,10 @@ ENABLE_CGRIBEX = @ENABLE_CGRIBEX@
ENABLE_DATA = @ENABLE_DATA@
ENABLE_EXTRA = @ENABLE_EXTRA@
ENABLE_GRIB = @ENABLE_GRIB@
ENABLE_GRIBAPI = @ENABLE_GRIBAPI@
ENABLE_IEG = @ENABLE_IEG@
ENABLE_NC2 = @ENABLE_NC2@
ENABLE_NC4 = @ENABLE_NC4@
ENABLE_NETCDF = @ENABLE_NETCDF@
ENABLE_SERVICE = @ENABLE_SERVICE@
EXEEXT = @EXEEXT@
......
......@@ -650,12 +650,15 @@ ENABLE_EXTRA
ENABLE_SERVICE
ENABLE_CGRIBEX
ENABLE_GRIB
ENABLE_GRIBAPI
GRIB_API_LIBS
GRIB_API_INCLUDE
JASPER_LIBS
NETCDF_LIBS
NETCDF_INCLUDE
NETCDF_ROOT
ENABLE_NC4
ENABLE_NC2
ENABLE_NETCDF
NC_CONFIG
HDF5_LIBS
......@@ -18643,10 +18646,12 @@ fi
 
# ----------------------------------------------------------------------
# Compile application with netcdf
ENABLE_NETCDF=no
NETCDF_ROOT=''
NETCDF_INCLUDE=''
NETCDF_LIBS=''
ENABLE_NETCDF=no
ENABLE_NC2=no
ENABLE_NC4=no
 
# Check whether --with-netcdf was given.
if test "${with_netcdf+set}" = set; then :
......@@ -18775,6 +18780,7 @@ $as_echo_n "checking netcdf's nc2 support... " >&6; }
 
$as_echo "#define HAVE_NETCDF2 1" >>confdefs.h
 
ENABLE_NC2=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
else
......@@ -18787,6 +18793,7 @@ $as_echo_n "checking netcdf's nc4 support... " >&6; }
 
$as_echo "#define HAVE_NETCDF4 1" >>confdefs.h
 
ENABLE_NC4=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
else
......@@ -18935,6 +18942,7 @@ $as_echo_n "checking netcdf's nc2 support... " >&6; }
 
$as_echo "#define HAVE_NETCDF2 1" >>confdefs.h
 
ENABLE_NC2=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
else
......@@ -18947,6 +18955,7 @@ $as_echo_n "checking netcdf's nc4 support... " >&6; }
 
$as_echo "#define HAVE_NETCDF4 1" >>confdefs.h
 
ENABLE_NC4=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
else
......@@ -18975,6 +18984,8 @@ fi
 
 
 
# ----------------------------------------------------------------------
# Link application with JASPER library (needed for GRIB2 compression)
JASPER_LIBS=''
......@@ -19146,6 +19157,7 @@ fi
# Compile application with GRIB_API library (for GRIB2 support)
GRIB_API_INCLUDE=''
GRIB_API_LIBS=''
ENABLE_GRIBAPI=no
 
# Check whether --with-grib_api was given.
if test "${with_grib_api+set}" = set; then :
......@@ -19224,6 +19236,7 @@ if test "$ac_res" != no; then :
 
$as_echo "#define HAVE_LIBGRIB_API 1" >>confdefs.h
 
ENABLE_GRIBAPI=yes
else
as_fn_error $? "Could not link to grib_api library" "$LINENO" 5
fi
......@@ -19301,6 +19314,7 @@ if test "$ac_res" != no; then :
 
$as_echo "#define HAVE_LIBGRIB_API 1" >>confdefs.h
 
ENABLE_GRIBAPI=yes
else
as_fn_error $? "Could not link to grib_api library" "$LINENO" 5
fi
......@@ -19322,6 +19336,7 @@ fi
 
 
 
# ----------------------------------------------------------------------
# Enable GRIB support
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GRIB support" >&5
......@@ -20765,7 +20780,7 @@ fi
done
 
 
ac_config_files="$ac_config_files test/Read_grib.test test/Read_netcdf.test test/Copy_netcdf.test"
ac_config_files="$ac_config_files test/File.test test/Read_grib.test test/Read_netcdf.test test/Copy_netcdf.test"
 
ac_config_files="$ac_config_files test/Cat.test test/Gridarea.test test/Genweights.test test/Remap.test"
 
......@@ -21922,6 +21937,7 @@ do
"src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
"test/File.test") CONFIG_FILES="$CONFIG_FILES test/File.test" ;;
"test/Read_grib.test") CONFIG_FILES="$CONFIG_FILES test/Read_grib.test" ;;
"test/Read_netcdf.test") CONFIG_FILES="$CONFIG_FILES test/Read_netcdf.test" ;;
"test/Copy_netcdf.test") CONFIG_FILES="$CONFIG_FILES test/Copy_netcdf.test" ;;
......@@ -23427,6 +23443,7 @@ compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
_LT_EOF
 
;;
"test/File.test":F) chmod a+x "$ac_file" ;;
"test/Read_grib.test":F) chmod a+x "$ac_file" ;;
"test/Read_netcdf.test":F) chmod a+x "$ac_file" ;;
"test/Copy_netcdf.test":F) chmod a+x "$ac_file" ;;
......
......@@ -214,7 +214,7 @@ AC_DEFINE_UNQUOTED(COMPILER, ["$COMPILER"], [Compiler])
AC_REQUIRE_AUX_FILE([tap-driver.sh])
AC_PROG_AWK
AC_CONFIG_FILES([test/Read_grib.test test/Read_netcdf.test test/Copy_netcdf.test],[chmod a+x "$ac_file"])
AC_CONFIG_FILES([test/File.test test/Read_grib.test test/Read_netcdf.test test/Copy_netcdf.test],[chmod a+x "$ac_file"])
AC_CONFIG_FILES([test/Cat.test test/Gridarea.test test/Genweights.test test/Remap.test],[chmod a+x "$ac_file"])
AC_CONFIG_FILES([test/Select.test test/Spectral.test test/Timstat.test test/Vertint.test],[chmod a+x "$ac_file"])
AC_CONFIG_FILES([test/Detrend.test test/Arith.test],[chmod a+x "$ac_file"])
......
......@@ -152,7 +152,10 @@ ENABLE_CGRIBEX = @ENABLE_CGRIBEX@
ENABLE_DATA = @ENABLE_DATA@
ENABLE_EXTRA = @ENABLE_EXTRA@
ENABLE_GRIB = @ENABLE_GRIB@
ENABLE_GRIBAPI = @ENABLE_GRIBAPI@
ENABLE_IEG = @ENABLE_IEG@
ENABLE_NC2 = @ENABLE_NC2@
ENABLE_NC4 = @ENABLE_NC4@
ENABLE_NETCDF = @ENABLE_NETCDF@
ENABLE_SERVICE = @ENABLE_SERVICE@
EXEEXT = @EXEEXT@
......
......@@ -135,10 +135,12 @@ AC_SUBST([HDF5_INCLUDE])
AC_SUBST([HDF5_LIBS])
# ----------------------------------------------------------------------
# Compile application with netcdf
ENABLE_NETCDF=no
NETCDF_ROOT=''
NETCDF_INCLUDE=''
NETCDF_LIBS=''
ENABLE_NETCDF=no
ENABLE_NC2=no
ENABLE_NC4=no
AC_ARG_WITH([netcdf],
[AS_HELP_STRING([--with-netcdf=<yes|no|directory> (default=no)],[location of netcdf library (lib and include subdirs)])],
[AS_CASE(["$with_netcdf"],
......@@ -156,10 +158,12 @@ AC_ARG_WITH([netcdf],
[AC_MSG_CHECKING([netcdf's nc2 support])
AS_IF([test "x$($NC_CONFIG --has-nc2)" = "xyes"],
[AC_DEFINE([HAVE_NETCDF2],[1],[Define to 1 for NETCDF2 support])
ENABLE_NC2=yes
AC_MSG_RESULT([yes])],[AC_MSG_RESULT([no])])
AC_MSG_CHECKING([netcdf's nc4 support])
AS_IF([test "x$($NC_CONFIG --has-nc4)" = "xyes"],
[AC_DEFINE([HAVE_NETCDF4],[1],[Define to 1 for NETCDF4 support])
ENABLE_NC4=yes
AC_MSG_RESULT([yes])],[AC_MSG_RESULT([no])])],
[AS_ECHO([Could not find nc-config! go on with default configuration])])],
[*],[AS_IF([test -d "$with_netcdf"],
......@@ -185,16 +189,20 @@ AC_ARG_WITH([netcdf],
[AC_MSG_CHECKING([netcdf's nc2 support])
AS_IF([test "x$($NC_CONFIG --has-nc2)" = "xyes"],
[AC_DEFINE([HAVE_NETCDF2],[1],[Define to 1 for NETCDF2 support])
ENABLE_NC2=yes
AC_MSG_RESULT([yes])],[AC_MSG_RESULT([no])])
AC_MSG_CHECKING([netcdf's nc4 support])
AS_IF([test "x$($NC_CONFIG --has-nc4)" = "xyes"],
[AC_DEFINE([HAVE_NETCDF4],[1],[Define to 1 for NETCDF4 support])
ENABLE_NC4=yes
AC_MSG_RESULT([yes])],[AC_MSG_RESULT([no])])],
[AC_MSG_RESULT([Could not find nc-config! go on with default configuration])])],
[AC_MSG_NOTICE([$with_netcdf is not a directory! NETCDF suppressed])])])],
[AC_MSG_CHECKING([for NETCDF library])
AC_MSG_RESULT([suppressed])])
AC_SUBST([ENABLE_NETCDF])
AC_SUBST([ENABLE_NC2])
AC_SUBST([ENABLE_NC4])
AC_SUBST([NETCDF_ROOT])
AC_SUBST([NETCDF_INCLUDE])
AC_SUBST([NETCDF_LIBS])
......@@ -228,6 +236,7 @@ AC_SUBST([JASPER_LIBS])
# Compile application with GRIB_API library (for GRIB2 support)
GRIB_API_INCLUDE=''
GRIB_API_LIBS=''
ENABLE_GRIBAPI=no
AC_ARG_WITH([grib_api],
[AS_HELP_STRING([--with-grib_api=<yes|no|directory>],
[library for grib2 compression; if a directory is given, it will be used as a value for --with-jasper-root])],
......@@ -237,7 +246,8 @@ AC_ARG_WITH([grib_api],
[yes],[AC_CHECK_HEADERS([grib_api.h])
AC_SEARCH_LIBS([grib_get_message],
[grib_api],
[AC_DEFINE([HAVE_LIBGRIB_API],[1],[GRIB_API library is present if defined to 1])],
[AC_DEFINE([HAVE_LIBGRIB_API],[1],[GRIB_API library is present if defined to 1])
ENABLE_GRIBAPI=yes],
[AC_MSG_ERROR([Could not link to grib_api library])])],
[*],[GRIB_API_ROOT=$with_grib_api
AS_IF([test -d "$GRIB_API_ROOT"],
......@@ -246,7 +256,8 @@ AC_ARG_WITH([grib_api],
AC_CHECK_HEADERS([grib_api.h])
AC_SEARCH_LIBS([grib_get_message],
[grib_api],
[AC_DEFINE([HAVE_LIBGRIB_API],[1],[GRIB_API library is present if defined to 1])],
[AC_DEFINE([HAVE_LIBGRIB_API],[1],[GRIB_API library is present if defined to 1])
ENABLE_GRIBAPI=yes],
[AC_MSG_ERROR([Could not link to grib_api library])])
GRIB_API_LIBS=" -L$GRIB_API_ROOT/lib -lgrib_api"
GRIB_API_INCLUDE=" -I$GRIB_API_ROOT/include"],
......@@ -255,6 +266,7 @@ AC_ARG_WITH([grib_api],
AC_MSG_RESULT([suppressed])])
AC_SUBST([GRIB_API_INCLUDE])
AC_SUBST([GRIB_API_LIBS])
AC_SUBST([ENABLE_GRIBAPI])
# ----------------------------------------------------------------------
# Enable GRIB support
AC_MSG_CHECKING([for GRIB support])
......@@ -513,3 +525,7 @@ AC_ARG_ENABLE([all-static],
AC_MSG_RESULT([$enable_all_static])
AM_CONDITIONAL([ENABLE_ALL_STATIC],[test x$enable_all_static = 'xyes'])
])
dnl
dnl Local Variables:
dnl mode: autoconf
dnl End:
......@@ -430,7 +430,10 @@ ENABLE_CGRIBEX = @ENABLE_CGRIBEX@
ENABLE_DATA = @ENABLE_DATA@
ENABLE_EXTRA = @ENABLE_EXTRA@
ENABLE_GRIB = @ENABLE_GRIB@
ENABLE_GRIBAPI = @ENABLE_GRIBAPI@
ENABLE_IEG = @ENABLE_IEG@
ENABLE_NC2 = @ENABLE_NC2@
ENABLE_NC4 = @ENABLE_NC4@
ENABLE_NETCDF = @ENABLE_NETCDF@
ENABLE_SERVICE = @ENABLE_SERVICE@
EXEEXT = @EXEEXT@
......
#! @SHELL@
echo 1..16 # Number of tests to be executed.
#
test -n "$CDO" || CDO=cdo
test -n "$DATAPATH" || DATAPATH=./data
#
CDOOUT=cout
CDOERR=cerr
FORMATS="srv ext ieg grb grb2 nc nc2 nc4"
#
NTEST=1
#
for OPERATOR in write read; do
for FORMAT in $FORMATS; do
RSTAT=0
CDOTEST="$OPERATOR $FORMAT"
echo "Running test: $NTEST"
ENABLED_TEST=yes
if [ "@ENABLE_SERVICE@" = no -a "${FORMAT}" = srv ] ; then
FILEFORMAT=SERVICE
ENABLED_TEST=no
fi
if [ "@ENABLE_EXTRA@" = no -a "${FORMAT}" = ext ] ; then
FILEFORMAT=EXTRA
ENABLED_TEST=no
fi
if [ "@ENABLE_IEG@" = no -a "${FORMAT}" = ieg ] ; then
FILEFORMAT=IEG
ENABLED_TEST=no
fi
if [ "@ENABLE_GRIB@" = no -a "${FORMAT}" = grb ] ; then
FILEFORMAT=GRIB
ENABLED_TEST=no;
fi
if [ "@ENABLE_GRIBAPI@" = no -a "${FORMAT}" = grb2 ] ; then
FILEFORMAT=GRIB_API
ENABLED_TEST=no
fi
if [ "@ENABLE_NETCDF@" = no -a "${FORMAT}" = nc ] ; then
FILEFORMAT=netCDF
ENABLED_TEST=no
fi
if [ "@ENABLE_NETCDF@" = no -a "${FORMAT}" = nc2 ] ; then
FILEFORMAT=netCDF2
ENABLED_TEST=no
fi
if [ "@ENABLE_NC4@" = no -a "${FORMAT}" = nc4 ] ; then
FILEFORMAT=netCDF4
ENABLED_TEST=no
fi
if [ "${ENABLED_TEST}" = yes ] ; then
for DATATYPE in F32 F64; do
FILE=file_${DATATYPE}_${FORMAT}
RFILE=$DATAPATH/file_F32_srv_ref
if [ $OPERATOR = write ] ; then
CDOCOMMAND="$CDO -f $FORMAT -b $DATATYPE cdi${OPERATOR},1,global_10,3,3,3 $FILE"
echo "$CDOCOMMAND"
$CDOCOMMAND > $CDOOUT 2> $CDOERR
test $? -eq 0 || let RSTAT+=1
test -s $FILE || let RSTAT+=1
cat $CDOOUT $CDOERR
else
CDOCOMMAND="$CDO cdi${OPERATOR} $FILE"
echo "$CDOCOMMAND"
$CDOCOMMAND > $CDOOUT 2> $CDOERR
test $? -eq 0 || let RSTAT+=1
cat $CDOOUT $CDOERR
$CDO diff,0.0001 $FILE $RFILE > $CDOOUT 2> $CDOERR
test $? -eq 0 || let RSTAT+=1
test -s $CDOOUT && let RSTAT+=1
cat $CDOOUT $CDOERR
rm -f $FILE
fi
done
test $RSTAT -eq 0 && echo "ok $NTEST - $CDOTEST"
test $RSTAT -eq 0 || echo "not ok $NTEST - $CDOTEST"
else
test $RSTAT -eq 0 && echo "ok $NTEST - $CDOTEST # SKIP $FILEFORMAT not enabled"
fi
let NTEST+=1
done
done
#
rm -f $CDOOUT $CDOERR
#
exit 0
......@@ -5,8 +5,8 @@ export
TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
$(top_srcdir)/config/tap-driver.sh
TESTS = Read_grib.test Read_netcdf.test Copy_netcdf.test Cat.test Gridarea.test Detrend.test Genweights.test Remap.test \
Select.test Spectral.test Timstat.test Vertint.test Arith.test
TESTS = File.test Read_grib.test Read_netcdf.test Copy_netcdf.test Cat.test Gridarea.test Detrend.test \
Genweights.test Remap.test Select.test Spectral.test Timstat.test Vertint.test Arith.test
# $(top_srcdir)/test/test_Remap.sh \
# $(top_srcdir)/test/test_info.py
......
......@@ -79,13 +79,14 @@ build_triplet = @build@
host_triplet = @host@
subdir = test
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
$(top_srcdir)/config/mkinstalldirs $(srcdir)/Read_grib.test.in \
$(srcdir)/Read_netcdf.test.in $(srcdir)/Copy_netcdf.test.in \
$(srcdir)/Cat.test.in $(srcdir)/Gridarea.test.in \
$(srcdir)/Genweights.test.in $(srcdir)/Remap.test.in \
$(srcdir)/Select.test.in $(srcdir)/Spectral.test.in \
$(srcdir)/Timstat.test.in $(srcdir)/Vertint.test.in \
$(srcdir)/Detrend.test.in $(srcdir)/Arith.test.in README
$(top_srcdir)/config/mkinstalldirs $(srcdir)/File.test.in \
$(srcdir)/Read_grib.test.in $(srcdir)/Read_netcdf.test.in \
$(srcdir)/Copy_netcdf.test.in $(srcdir)/Cat.test.in \
$(srcdir)/Gridarea.test.in $(srcdir)/Genweights.test.in \
$(srcdir)/Remap.test.in $(srcdir)/Select.test.in \
$(srcdir)/Spectral.test.in $(srcdir)/Timstat.test.in \
$(srcdir)/Vertint.test.in $(srcdir)/Detrend.test.in \
$(srcdir)/Arith.test.in README
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/acx_options.m4 \
$(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/libtool.m4 \
......@@ -96,10 +97,10 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/src/config.h
CONFIG_CLEAN_FILES = Read_grib.test Read_netcdf.test Copy_netcdf.test \
Cat.test Gridarea.test Genweights.test Remap.test Select.test \
Spectral.test Timstat.test Vertint.test Detrend.test \
Arith.test
CONFIG_CLEAN_FILES = File.test Read_grib.test Read_netcdf.test \
Copy_netcdf.test Cat.test Gridarea.test Genweights.test \
Remap.test Select.test Spectral.test Timstat.test Vertint.test \
Detrend.test Arith.test
CONFIG_CLEAN_VPATH_FILES =
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
......@@ -361,7 +362,10 @@ ENABLE_CGRIBEX = @ENABLE_CGRIBEX@
ENABLE_DATA = @ENABLE_DATA@
ENABLE_EXTRA = @ENABLE_EXTRA@
ENABLE_GRIB = @ENABLE_GRIB@
ENABLE_GRIBAPI = @ENABLE_GRIBAPI@
ENABLE_IEG = @ENABLE_IEG@
ENABLE_NC2 = @ENABLE_NC2@
ENABLE_NC4 = @ENABLE_NC4@
ENABLE_NETCDF = @ENABLE_NETCDF@
ENABLE_SERVICE = @ENABLE_SERVICE@
EXEEXT = @EXEEXT@
......@@ -497,8 +501,8 @@ CLEANFILES = `ls *.pyc`
TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
$(top_srcdir)/config/tap-driver.sh
TESTS = Read_grib.test Read_netcdf.test Copy_netcdf.test Cat.test Gridarea.test Detrend.test Genweights.test Remap.test \
Select.test Spectral.test Timstat.test Vertint.test Arith.test
TESTS = File.test Read_grib.test Read_netcdf.test Copy_netcdf.test Cat.test Gridarea.test Detrend.test \
Genweights.test Remap.test Select.test Spectral.test Timstat.test Vertint.test Arith.test
# $(top_srcdir)/test/test_Remap.sh \
......@@ -547,6 +551,8 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
File.test: $(top_builddir)/config.status $(srcdir)/File.test.in
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
Read_grib.test: $(top_builddir)/config.status $(srcdir)/Read_grib.test.in
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
Read_netcdf.test: $(top_builddir)/config.status $(srcdir)/Read_netcdf.test.in
......
INPUTDATA = ts_mm_5years hl_l19.grb t21_geosp_tsurf.grb bathy4.grb pl_data pl_data.grb detrend_data \
grib_testfile01.grb grib_testfile02.grb netcdf_testfile01.nc netcdf_testfile02.nc testfile01c.nc
FILE_REF = file_F32_srv_ref
GRIB_REF = grib_testfile01_sinfo_ref grib_testfile01_info_ref grib_testfile02_sinfo_ref grib_testfile02_info_ref
NETCDF_REF = netcdf_testfile01_sinfon_ref netcdf_testfile01_infon_ref netcdf_testfile02_sinfon_ref netcdf_testfile02_infon_ref
TIMSTAT_REF = timmin_ref timmax_ref timsum_ref timavg_ref timmean_ref timstd_ref timstd1_ref timvar_ref timvar1_ref
......@@ -11,4 +12,4 @@ REMAP_REF = n16_bic_ref n16_bil_ref n16_con_ref n16_ycon_ref n16_laf_ref n16_
SELECT_REF = select1_ref select2_ref select3_ref select4_ref select5_ref
DETREND_REF = detrend_ref
EXTRA_DIST = $(INPUTDATA) $(GRIB_REF) $(NETCDF_REF) $(TIMSTAT_REF) $(SPECTRAL_REF) $(VERTINT_REF) $(REMAP_REF) $(SELECT_REF) $(DETREND_REF)
EXTRA_DIST = $(INPUTDATA) $(FILE_REF) $(GRIB_REF) $(NETCDF_REF) $(TIMSTAT_REF) $(SPECTRAL_REF) $(VERTINT_REF) $(REMAP_REF) $(SELECT_REF) $(DETREND_REF)
......@@ -151,7 +151,10 @@ ENABLE_CGRIBEX = @ENABLE_CGRIBEX@
ENABLE_DATA = @ENABLE_DATA@
ENABLE_EXTRA = @ENABLE_EXTRA@
ENABLE_GRIB = @ENABLE_GRIB@
ENABLE_GRIBAPI = @ENABLE_GRIBAPI@
ENABLE_IEG = @ENABLE_IEG@
ENABLE_NC2 = @ENABLE_NC2@
ENABLE_NC4 = @ENABLE_NC4@
ENABLE_NETCDF = @ENABLE_NETCDF@
ENABLE_SERVICE = @ENABLE_SERVICE@
EXEEXT = @EXEEXT@
......@@ -284,6 +287,7 @@ top_srcdir = @top_srcdir@
INPUTDATA = ts_mm_5years hl_l19.grb t21_geosp_tsurf.grb bathy4.grb pl_data pl_data.grb detrend_data \
grib_testfile01.grb grib_testfile02.grb netcdf_testfile01.nc netcdf_testfile02.nc testfile01c.nc
FILE_REF = file_F32_srv_ref
GRIB_REF = grib_testfile01_sinfo_ref grib_testfile01_info_ref grib_testfile02_sinfo_ref grib_testfile02_info_ref
NETCDF_REF = netcdf_testfile01_sinfon_ref netcdf_testfile01_infon_ref netcdf_testfile02_sinfon_ref netcdf_testfile02_infon_ref
TIMSTAT_REF = timmin_ref timmax_ref timsum_ref timavg_ref timmean_ref timstd_ref timstd1_ref timvar_ref timvar1_ref
......@@ -294,7 +298,7 @@ REMAP_REF = n16_bic_ref n16_bil_ref n16_con_ref n16_ycon_ref n16_laf_ref n16_nn_
SELECT_REF = select1_ref select2_ref select3_ref select4_ref select5_ref
DETREND_REF = detrend_ref
EXTRA_DIST = $(INPUTDATA) $(GRIB_REF) $(NETCDF_REF) $(TIMSTAT_REF) $(SPECTRAL_REF) $(VERTINT_REF) $(REMAP_REF) $(SELECT_REF) $(DETREND_REF)
EXTRA_DIST = $(INPUTDATA) $(FILE_REF) $(GRIB_REF) $(NETCDF_REF) $(TIMSTAT_REF) $(SPECTRAL_REF) $(VERTINT_REF) $(REMAP_REF) $(SELECT_REF) $(DETREND_REF)
all: all-am
.SUFFIXES:
......
#!/bin/sh
#
CDO=cdo-1.6.4
CDO=cdo
#
FORMAT="-f srv -b 32"
FORMAT="-f srv -b F32"
#
########################################################################
#
# Test File
#
$CDO $FORMAT cdiwrite,1,global_10,3,3,3 file_F32_srv_ref
exit
#
########################################################################
#
......@@ -29,7 +36,6 @@ for FILE in $IFILES; do
OFILE=netcdf_${FILE}_infon_ref
$CDO infon $IFILE > $OFILE
done
exit
########################################################################
#
# Timstat
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment