GithubHelp home page GithubHelp logo

ncar / ncpp Goto Github PK

View Code? Open in Web Editor NEW
0.0 19.0 0.0 1.03 MB

Display program for viewing size-distributions from EOL/RAF aircraft netCDF files.

License: Apache License 2.0

C++ 89.09% Makefile 1.92% C 3.69% HTML 4.67% Python 0.63%
aircraft raf netcdf fssp cdp pcasp visualization

ncpp's Introduction

ncpp

Display program for viewing size-distributions from aircraft netCDF files.

ncpp is a X11-Motif based GUI program for looking at counts and size-distributions from RAF aircraft netCDF files.

Documentation

User's Manual.
RAF netCDF file conventions.
MacOS build environment.

Build

MacOS

ncpp is available via MacPorts or follow the MacOS build environment directions to build from source.

Dependencies

Redhat

openmotif-devel (motif-devel CentOS 8 & Fedora)
netcdf-devel
netcdf-cxx-devel
xorg-x11-fonts-ISO8859-1-75dpi
xorg-x11-fonts-ISO8859-1-100dpi

Ubuntu Focal (20.04)

libnetcdf-cxx-legacy-dev
libmotif-dev
libnetcdf-dev

ncpp can be built on any Unix platform, including MacOS. Motif GUI toolkit is the limiting factor.

git clone --recursive https://github.com/ncar/ncpp
cd ncpp

Edit the SConstruct file and uncomment this line (remove the '#') for Ubuntu:

#env.Append(CPPDEFINES=['UBUNTU'])

and build:

scons

ncpp's People

Contributors

garyjg avatar janinea avatar topher800 avatar tthomas88 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ncpp's Issues

The build ignores env settings and picks a random g++ which fails to work when C++11 not supported by /usr/bin/g++

Could you say how to specify the needed compiler? It requires C++11, but I environment settings are ignored by the build, and it picks a default system compiler, which fails:

--->  Building ncpp
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_ncpp/ncpp/work/ncpp-2.3.0" && /opt/local/bin/scons OPT_PREFIX=/opt/local 
scons: Reading SConscript files ...
Loading eol_scons from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_ncpp/ncpp/work/ncpp-2.3.0/site_scons/eol_scons...
Searching for tool_*.py files...
Found 1 tool files, caching is disabled.
Config files: ['/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_ncpp/ncpp/work/ncpp-2.3.0/config.py']
Checking for netcdf linking...yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o raf/ACconfig.o -c -g -Wall -std=c++11 -Wno-write-strings -Wno-deprecated-register -g -Wall -Wno-write-strings -DPNG -I. -I/opt/local/include raf/ACconfig.cc
cc1plus: error: unrecognized command line option "-Wno-deprecated-register"
cc1plus: error: unrecognized command line option "-std=c++11"
scons: *** [raf/ACconfig.o] Error 1
scons: building terminated because of errors.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.