Skip to main content

Titan Radiative Transfer Model package

Project description

Build PyPI Python Version License

Install

From PyPI:

pip install trtm

From the sources:

git clone https://github.com/seignovert/trtm.git && cd trtm
python setup.py develop

Usage

>>> from trtm import TRTM

>>> data = TRTM('1590648776_1', root='tests/data', suffix='test_SPSDISORT')

>>> data.keys()
[
    'setup',
    'wvlns',
    'outputs',
    'cube',
    ...
    'FH',
    ...
    'I_F',
    ...
    'albedo_corr',
    ...
]

>>> data['setup']
{
    'Numéro cube et pixel': 'C1590648776_1',
    'NKS': 4,
    ...
}

>>> data['NKS']
4

>>> out['FH'].shape
(5, 3)

>>> out['FH', 3, 5]
0.900057

>>> out['I_F'].shape
(256, 5, 3)

>>> out['I_F', 5.0].shape
(5, 3)

>>> out['I_F', 1, 1].shape
(256, )

>>>out['I_F', 1, 1, 5.12]
0.04082437994

See examples in Jupyter notebook examples.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for trtm, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size trtm-0.1.2-py2.py3-none-any.whl (11.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size trtm-0.1.2.tar.gz (9.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page