CDO is a collection of command line Operators to manipulate and analyse Climate
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>
2006-06-11 08:41:34 +00:00
|
|
|
# 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
|
2006-07-11 02:55:25 +00:00
|
|
|
PORTVERSION= 1.0.0
|
CDO is a collection of command line Operators to manipulate and analyse Climate
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>
2006-06-11 08:41:34 +00:00
|
|
|
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)
|
2006-07-11 02:55:25 +00:00
|
|
|
CONFIGURE_ARGS+= --with-hdf5=${LOCALBASE}
|
CDO is a collection of command line Operators to manipulate and analyse Climate
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>
2006-06-11 08:41:34 +00:00
|
|
|
LIB_DEPENDS+= hdf5.0:${PORTSDIR}/science/hdf5
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_NETCDF)
|
2006-07-11 02:55:25 +00:00
|
|
|
CONFIGURE_ARGS+= --with-netcdf=${LOCALBASE}
|
CDO is a collection of command line Operators to manipulate and analyse Climate
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>
2006-06-11 08:41:34 +00:00
|
|
|
LIB_DEPENDS+= netcdf.1:${PORTSDIR}/science/netcdf
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|