tuv

tuv is the TUV photolysis data module for boxmox

At the moment, it provides the ability to retrieve photolysis rates calculated by the Tropospheric Ultraviolet and Visible radiationo model TUV (https://www2.acom.ucar.edu/modeling/tropospheric-ultraviolet-and-visible-tuv-radiation-model) and make them useable in the boxmox box model package.

Installation

pip install tuv

API

DB

class tuv.DB(output_sample_file=None, translator_file=None, db_dir=None)

A TUV translator database

get_default_settings()

Get the default settings for the TUV DB

get_phot_rates(datetime, lat, height, o3col)

Get photolysis rates for a given time, latitude, altitude and O3 column

translate(vars, xfrom, to)

Translate keys between BOXMOX, MCM and TUV