Giter Site home page Giter Site logo

razumovskyy / venuslw Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 15.72 MB

K-terms for radiative transfer in Venus Atmosphere in longwave region

License: GNU General Public License v3.0

Fortran 89.22% Python 9.39% Shell 1.38%
atmospheric-modelling parameterization radiation

venuslw's Introduction

Project Status: Active โ€“ The project is under active development Version 1.0

VenusLW

Getting k-distributions for radiative transfer in Venus Atmosphere in longwave region (10 - 6000 cm-1). After running the executables one can obtain the next k-term in a given spectral band.

Note

  • obtaining k-terms is an iterative process and requires running this programs several times.
  • resulting parameterizations are strongly affected by input atmospheric profile and chosen spectroscopy (look in PTTables repository).

Prerequisites:

  • Ubuntu 20.04 (or other Linux distro)
  • gfortran compiler
  • matplotlib (for plots)
  • precalculated spectral PT-tables located in /srv/PT_TABLES/ directory. PT-tables should be available for CO2, SO2 and H2O atmospheric components.

Building the project:

To build, type: ./make.sh in the terminal. Make sure you are in the root directory of the project.

Steps:

  1. Fill the input file "band_settings.txt". Example (for the first channel):

    __1 M 10.0D0 200.0D0 H2 H2O_gas_profile.dat

  2. Fill the file "channel_settings.txt". Set values of thresholds of absorption coeffcient for lower and upper atmospheric levels. Example:

    0.0 1 1e15 50

  3. Run the executables

  4. Run Python scripts plot_cooling.py, plot_flux_down.py, or plot_flux_up.py to plot cooling rates and upward/downward fluxes, to compare the accuracy of the obtained k-term (current channel number in band_settings.txt file).

  5. If needed, repeat steps 1-4 with updated input values in channels_settings.txt file to get more accurate k-term.

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.