Skip to content

CowanSM/CFPointConventions

 
 

Repository files navigation

Templates of the CF PointObservationConventions

Outputs in NetCDF, CDL, and NcML

See: http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#appendix-examples-discrete-geometries

To get started:

* Install the NetCDF C libraries:
  - Most linux distros will have a package:
    - YUM (cent/rh/fedora) - netcdf-devel
    - APT (debian) - netcdf-bin
  - If not, see the INSTALL_NETCDF file for a helper script to install from source.

* Install Ruby >= 1.9.1
  - Most distros will have this as a package. Make sure you are using Ruby >= 1.9.1.

* Download and Install narray:
  - wget https://github.com/masa16/narray/tarball/0.6.0.1
  - tar zxvf 0.6.0.1
  - cd masa16-narray-4429bdf
  - ruby extconf.rb
  - make
  - make install
  
* Download and Install narray_miss
  - wget http://ruby.gfd-dennou.org/products/narray_miss/narray_miss-1.2.2.tar.gz
  - tar zxvf narray_miss-1.2.2.tar.gz
  - cd narray_miss-1.2.2
  - ruby setup.rb
  
* Download and Install Ruby-NetCDF
  - wget http://ruby.gfd-dennou.org/products/ruby-netcdf/ruby-netcdf-0.6.5.tar.gz
  - tar zxvf ruby-netcdf-0.6.5.tar.gz
  - cd ruby-netcdf-0.6.5
  - ruby extconf.rb
  
  You may get some errors and need to point Ruby to the NArray and/or Netcdf headers
  The instructions are provided if it fails.
  
  - make
  - make install  


* Run the generators
  - ./runScripts

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 99.8%
  • Shell 0.2%