CDO: cdo.{rb,py} - Release 1.0.9
Changed from old pycdf to more recent scipy.io.netcdf for returning numpy arrays (suggested by Alastair McKinstry).
See cdo.{rb,py}
Added by Ralf Mueller over 12 years ago
Changed from old pycdf to more recent scipy.io.netcdf for returning numpy arrays (suggested by Alastair McKinstry).
See cdo.{rb,py}
Added by Ralf Mueller over 12 years ago
Both versions now work with the win32 version of CDO and interfaces have converged a bit more.
See cdo.{rb,py} for installation instructions.
Added by Ralf Mueller over 12 years ago
Updated libraries:
The default unix installation now includes grib_api.
Added by Uwe Schulzweida almost 13 years ago
Added by Ralf Mueller almost 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.
Added by Ralf Mueller almost 13 years ago
This is the first release of cdo.rb, a Ruby module to call CDO.
cdo.rb is released as a ruby gem, Ruby's own package format. Install cdo.rb with
gem install cdo
Please have a look at the automatic documentation from rubygem: http://rubydoc.info/gems/cdo/frames
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.
Added by Uwe Schulzweida about 13 years ago
Added by Uwe Schulzweida about 13 years ago
Added by Uwe Schulzweida about 13 years ago
Added by Uwe Schulzweida about 13 years ago
Also available in: Atom