3a2793f906
model Data. Supported file formats are GRIB, netCDF, SERVICE, EXTRA and IEG. There are more than 250 operators available. The following table gives a short overview about the main categories. * File information (info, sinfo, diff, ...) * File operations (copy, cat, merge, split*, ...) * Selection (selcode, selvar, sellevel, seltimestep, ...) * Missing values (setctomiss, setmisstoc, setrtomiss) * Arithmetic (add, sub, mul, div, ...) * Mathematical functions (sqrt, exp, log, sin, cos, ...) * Comparision (eq, ne, le, lt, ge, gt, ...) * Conditions (ifthen, ifnotthen, ifthenc, ifnotthenc) * Field statistic (fldsum, fldavg, fldstd, fldmin, fldmax, ...) * Vertical statistic (vertsum, vertavg, vertstd, vertmin, ...) * Time range statistic (timavg, yearavg, monavg, dayavg, ...) * Ensemble statistic (enssum, ensavg, ensstd, ensmin, ...) * Regression (detrend) * Field interpolation (remapbil, remapcon, remapdis, ...) * Vertical interpolation (ml2pl, ml2hl) * Time interpolation (inttime, intyear) WWW: http://www.mpimet.mpg.de/fileadmin/software/cdo/ PR: ports/98099 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
40 lines
961 B
Makefile
40 lines
961 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: CDO
|
|
# Date created: 29 May 2006
|
|
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cdo
|
|
PORTVERSION= 0.9.13
|
|
CATEGORIES= science
|
|
MASTER_SITES= http://www.mpimet.mpg.de/fileadmin/software/cdo/ \
|
|
http://sunpoet.net/distfiles/
|
|
|
|
MAINTAINER= sunpoet@sunpoet.net
|
|
COMMENT= Climate Data Operators
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --program-transform-name=""
|
|
CONFIGURE_ENV= CC="${CC}" \
|
|
CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
|
|
PLIST_FILES= bin/cdo
|
|
|
|
OPTIONS= HDF5 "HDF5 support" off \
|
|
NETCDF "NETCDF support" off
|
|
|
|
.if defined(WITH_HDF5)
|
|
CONFIGURE_ARGS+= --with-hdf5=${LOCALBASE}/include
|
|
LIB_DEPENDS+= hdf5.0:${PORTSDIR}/science/hdf5
|
|
.endif
|
|
|
|
.if defined(WITH_NETCDF)
|
|
CONFIGURE_ARGS+= --with-netcdf=${LOCALBASE}/include
|
|
LIB_DEPENDS+= netcdf.1:${PORTSDIR}/science/netcdf
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|