GithubHelp home page GithubHelp logo

annalea-albright / albright2020 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bfildier/albright2020

0.0 0.0 0.0 72 KB

Final code version for Albright et al. (2020), Atmospheric radiative profiles during EUREC4A, including scripts to compute radiative profiles and generate figures

Fortran 6.93% Python 88.93% Shell 2.49% Makefile 1.66%

albright2020's Introduction

Albright2020

Final code version for Albright et al. (2020), Atmospheric radiative profiles during EUREC4A, including scripts to compute radiative profiles and generate figures appearing in the article.

Merging of dropsonde and radiosonde data

For convenience, the merging was done to generate radiative profiles for all soundings retrieved during EUREC4A. Use file all_sondes.nc to replicate, or use any sounding file with the same variable names.

Compute radiative profiles from sonde data

  1. Add output/ in .gitignore.

  2. Compile the radiation code in rte-rrtmgp/build In rte-rrtmgp/build, create a Makefile.conf following the template present in the folder corresponding to your Fortran compiler. Alternatively, you can set environment variables FC and FCFLAGS to be the name of the Fortran compiler and the compilation flags. Call make.

  3. Compile main script in code/ In Makefile edit the flags NCHOME and NFHOME for your platform. These point to the root of the netCDF C and Fortran installations on your platform. Call make.

  4. Run In script, edit compute_radiation_from_soundings.sh with the path to your sonde file (ifile) and to the ERA5 background thermodynamics used as input (ERAdir). Load your python environment, then run compute_radiation_from_soundings.sh. The output is output/rad_profiles/all_rad_profiles.nc.

Generate paper figures

  1. Download MODIS images using scripts/download_MODIS_images.sh

  2. Run script Fig*.py corresponding to the figure of interest.

albright2020's People

Contributors

bfildier 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.