Giter Site home page Giter Site logo

maxaragon / rte-rrtmgp-cpp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mennoveerman/rte-rrtmgp-cpp

0.0 0.0 0.0 53.88 MB

C++ / CUDA implementation of RTE+RRTMGP radiative transfer solver

License: BSD 3-Clause "New" or "Revised" License

Shell 0.08% C++ 27.96% Python 10.95% Fortran 4.30% Cuda 54.52% CMake 1.63% Cython 0.55%

rte-rrtmgp-cpp's Introduction

C++/CUDA implementation of RTE+RRTMGP including ray tracer.

Current build status

This is a C++ implementation (including a Monte Carlo ray tracer) of the Radiative Transfer for Energetics (RTE) and Rapid Radiative Transfer Model for GCM applications Parallel (RRTMGP).

The original code is found at https://github.com/earth-system-radiation/rte-rrtmgp.

Contacts: Robert Pincus and Eli Mlawer email: [email protected]

This C++ implementation can be downloaded from https://github.com/earth-system-radiation/rte-rrtmgp-cpp

Contacts: Chiel van Heerwaarden and Menno Veerman

email: [email protected] (questions on the C++ implementation)

email: [email protected] (questions on the ray tracer)

Use and duplication is permitted under the terms of the BSD 3-clause license, see http://opensource.org/licenses/BSD-3-Clause

The source code of the testing executable in the src_test and include_test directory is released under the GPLv3 license, see https://www.gnu.org/licenses/gpl-3.0.en.html

In order to check out the code including the rte-rrtmgp submodule, use:

git clone --recurse-submodules https://github.com/earth-system-radiation/rte-rrtmgp-cpp

In case you had already checked out the repository, use:

git submodule update --init

Basic instructions

For building from source, create a build directory, for instance build. From build, trigger cmake .. -DSYST=config_file, where config_file should be replaced by one of the configuration files in the config folder, for instance -DSYST=macbook_brew.

Building the source creates an executable test_rte_rrtmgp. Three test cases are provided in directories rfmip, allsky, and rcemip. In order to run those cases follow the instructions in the README.md of those respective directories.

In general, in order to run a test case, make sure the following files are present in the directory from which test_rte_rrtmgp is triggered:

  1. Input file rte_rrtmgp_input.nc with atmospheric profiles of pressure, temperature, and gases.
  2. Long wave coefficients file from original RTE+RRTMGP repository (in rrtmgp/data) as coefficients_lw.nc
  3. Short wave coefficients file from original RTE+RRTMGP repository (in rrtmgp/data) as coefficients_sw.nc
  4. Long wave cloud optics coefficients file from original RTE+RRTMGP repository (in rrtmgp-data) as cloud_coefficients_lw.nc
  5. Short wave cloud optics coefficients file from original RTE+RRTMGP repository (in rrtmgp-data) as cloud_coefficients_sw.nc

rte-rrtmgp-cpp's People

Contributors

chiil avatar isazi avatar mennoveerman avatar julietbravo avatar benvanwerkhoven avatar goord avatar robertpincus avatar mirjamtijhuis avatar

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.