Ncview version 1.93e - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 1.93e

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


      The ncview Portfile 55117 2009-08-07 00:32:59Z ryandesign macports.org $

      PortSystem 1.0

      Name: ncview
      Version: 1.93e
      Maintainers: nomaintainer
      Platform: darwin
      Category: science

      Description: X windows point'n'click NetCDF viewer.
      Long Description: Ncview is a visual browser for NetCDF format files. Typically you would use ncview to get a quick and easy, push-button look at your NetCDF files. You can view simple movies of the data, view along various dimensions, take a look at the actual data values, change color maps, invert the data, etc.

      Homepage: http://meteora.ucsd.edu/~pierce/ncview_home_page.html

      Master Sites: ftp://cirrus.ucsd.edu/pub/ncview/
      Checksums: md5 f992aa20d03bfce5bdcaf7dec5452287 sha1 6a61c60ec7bd51ce2297d48457e4a79126e4827d rmd160 4eef540b166b08fc79f5e27ba6a55c30c8461233

      Patch Files: patch-Makefile.in
      depends_lib port:netcdf

      configure.args --with-netcdf_incdir=${prefix}/include --with-netcdf_libdir=${prefix}/lib --with-bindir=${prefix}/bin

      use_parallel_build yes

      destroot.destdir-append MANDIR=${prefix}/share/man/man1

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/lib/ncview
      foreach file { 3gauss.ncmap 3saw.ncmap default.ncmap detail.ncmap hotres.ncmap nc_overlay.earth.lat-lon.p8deg nc_overlay.lat-lon-grid.20x60 nc_overlay.lat-lon-grid.10x30 } {
      xinstall -m 755 ${worksrcpath}/${file} ${destroot}${prefix}/lib/ncview
      }
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/ncview
      xinstall -m 755 ${worksrcpath}/README ${destroot}${prefix}/share/doc/ncview
      }

      post-activate {
      ui_msg "\n
      The MacPorts X11 app-defaults directory is located at:

      ${prefix}/lib/X11/app-defaults

      Therefore, you must set the XFILESEARCHPATH environment variable to your ~/.profile for
      your X11 environment to find the MacPorts app-defaults directory:

      export XFILESEARCHPATH=/usr/X11R6/lib/X11/app-defaults/%N:${prefix}/lib/X11/app-defaults/%N
      \n"
      }

    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/ncview
      % sudo port install ncview
      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 ncview
      ---> Verifying checksum for ncview
      ---> Extracting ncview
      ---> Configuring ncview
      ---> Building ncview with target all
      ---> Staging ncview into destroot
      ---> Installing ncview
    - 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 ncview with these commands:
      %  man ncview
      % apropos ncview
      % which ncview
      % locate ncview

     Where to find more information:

    Darwin Ports



    Lightbox this page.