Project

General

Profile

News

CDO: Version 1.5.5 released

Added by Uwe Schulzweida almost 13 years ago

New operators:
  • yhouradd, yhoursub, yhourmul, yhourdiv: Multi-year hourly arithmetic
Fixed bugs:
  • ECA operators: wrong result if missing value is not the default missing value (-9e33)
  • ml2pl: added support for GRIB2 parameter names
  • replace: removed debug output

CDI: Version 1.5.5 released

Added by Uwe Schulzweida almost 13 years ago

New features:
  • Added single precision support: streamWriteVarF, streamWriteVarSliceF
  • Added support for ZAXIS_DEPTH_BELOW_LAND units "mm", "cm", "dm" and "m"

CDO: Version 1.5.4 released

Added by Uwe Schulzweida about 13 years ago

New features:
  • setgridtype: added parameter lonlat to convert curvilinear to regular lon/lat grids
  • remapcon: added env REMAP_AREA_MIN, to set the minimum area fraction
New operators:
  • timcovar: covariance over time
  • fldcovar: covariance in grid space
Fixed bugs:
  • splitsel: added support for constant fields [Bug #1701]
  • combination of selection commands (e.g. selmon -selyear) do not terminate, if no result found [Bug #1640]

CDO: CDO bindings for Python (1 comment)

Added by Ralf Mueller about 13 years ago

The scripting language bindings for Ruby have been enlarged to Python! Please have a look at cdo.{rb,py} for installation instructions and some examples.

For reading all unit tests, please register yourself and have a look at source:trunk/cdo/contrib/python/test/test_cdo.py for Python and source:trunk/cdo/contrib/ruby/test/test_cdo.rb for Ruby.

CDO: Ruby module for calling CDO

Added by Ralf Mueller over 13 years ago

This is the first release of cdo.rb, a Ruby module to call CDO.

Installation

cdo.rb is released as a ruby gem, Ruby's own package format. Install cdo.rb with

gem install cdo

Documentation

Please have a look at the automatic documentation from rubygem: http://rubydoc.info/gems/cdo/frames

Examples

CDO's operators are implemented as module methods:

Cdo.info(:in => "input.nc")

Input and output stream arguments are handled special with hash keys :in and :out. Same is true for the other options of CDO like "-f" or "-P":

Cdo.topo(:out => "topography.grb")
Cdo.copy(:in => "topography.grb",:out => "topography.nc4",:options => "-f nc4")

Operator options can be set as standard method arguments:

Cdo.stdatm(0,10,20,50,100,200,500,1000,:out => "standard_atm.nc",:options => "-f nc")

More example can be found in the unit tests: source:trunk/cdo/contrib/ruby/test/test_cdo.rb.

CDO: Version 1.5.3 released

Added by Uwe Schulzweida over 13 years ago

New features:
  • Variable input parameter for ECA operators: eca_cdd, eca_cwd, eca_rr1, eca_sdii
Fixed bugs:
  • deflate compression with netCDF4 doesn't work (option: -z zip)
  • sellonlatbox: correct lon bounds if necessary
  • ifthen, ifthenelse: uses only the first time step of the first input file
  • module Monarith (monadd, monsub, monmul, mondiv): wrong result for 3D variables

CDI: Version 1.5.3 released

Added by Uwe Schulzweida over 13 years ago

New features:
  • Added support for level type ZAXIS_TOA, ZAXIS_SEA_BOTTOM, ZAXIS_ATMOSPHERE
Fixed bugs:
  • deflate compression with netCDF4 doesn't work
(101-110/136)

Also available in: Atom