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 Provenance Actions
trtm-0.1.2.tar.gz 9.2 kB Without provenance Details for trtm-0.1.2.tar.gz

Built distribution (wheel)

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

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

Security for trtm 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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