Skip to main content

Python parser Titan Radiative Transfer model

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.

Metadata

Release files for trtm 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trtm 0.1.2
File Size Uploaded
trtm-0.1.2.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for trtm 0.1.2
File Interpreter ABI Platform
trtm-0.1.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 20.4 kB

Release files / trtm-0.1.2.tar.gz

Download URL trtm-0.1.2.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6199d708a115c748ecc8ae289d163e5af622256fff9946b4661cdc4c3edf9f7e
BLAKE2b-256 checksum
How to use checksums
024f34fcf3a3c95d92bb9962e6d08ec8c6d6dbeb628558b8bb7046e09d7262fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.9

Release files / trtm-0.1.2-py2.py3-none-any.whl

Download URL trtm-0.1.2-py2.py3-none-any.whl
Size 11.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ff51b9edeb4d5a75c81e54e63e9617e2ec46db2279dda1aa593c7438950cb51e
BLAKE2b-256 checksum
How to use checksums
10774e111668a02b5041906d8e67f099a8ff17077d5bf7ba0aac87fd2278583e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page