nco version 3.9.3 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    nco  most recent diff


      View the most recent changes for the nco port at: nco.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for nco.
      The raw portfile for nco 3.9.3 is located here:
      http://nco.darwinports.com/dports/science/nco/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/nco
      Google
      Web Darwinports.com



      # $Id: Portfile 32954 2008-01-15 14:11:47Z takeshi macports.org $

      PortSystem 1.0

      Name: nco
      Version: 3.9.3
      Platform: darwin
      Maintainers: takeshi macports.org
      Category: science
      Description: The netCDF Operators
      master_sites http://${name}.sourceforge.net/src/
      checksums md5 78b6821f883733a7808d5a482dec7076 sha1 99e18c329b7a688505d13a3d4312b3fbdd468970 rmd160 6514872d09dcce6d9c8545dc3586fa422474f6ea
      Homepage: http://nco.sourceforge.net/
      Long Description: Each NCO operator (e.g., ncks) takes netCDF or HDF input file(s), performs an operation (e.g., averaging, hyperslabbing, or renaming), and outputs a processed netCDF file. Although most users of netCDF and HDF data are involved in scientific research, these data formats, and thus NCO, are generic and are equally useful in fields like finance. This version is OPeNDAP/DODS enabled, so it can be given URLs to read remote datasets as if they were local netCDF files.

      depends_lib port:curl port:gettext port:libdap port:libiconv port:libnc-dap port:libxml2 port:netcdf port:openssl port:udunits port:zlib port:antlr
      depends_build port:bison port:m4

      patchfiles patch-src_nco++_Makefile.in.diff patch-mpncra.c.diff
      configure.env MACOSX_DEPLOYMENT_TARGET=10.4 HAVE_ANTLR=yes ANTLR_ROOT=${prefix}
      configure.cppflags -I/usr/include/malloc
      configure.args --disable-dependency-tracking --mandir=${prefix}/share/man

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
      foreach f {ANNOUNCE ChangeLog LICENSE NEWS README TODO VERSION *.txt *.pdf} {
      eval xinstall -m 644 [glob ${worksrcpath}/doc/${f}] ${destroot}${prefix}/share/doc/${name}
      }
      }

      Variant: mpich2 {
      depends_lib-append port:mpich2
      configure.args-append --enable-mpi
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/nco
      % sudo port install nco
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching nco
      ---> Verifying checksum for nco
      ---> Extracting nco
      ---> Configuring nco
      ---> Building nco with target all
      ---> Staging nco into destroot
      ---> Installing nco
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using nco with these commands:
      %  man nco
      % apropos nco
      % which nco
      % locate nco

     Where to find more information:

    Darwin Ports



    image test