tess-cloud
Analyze the TESS open dataset in AWS S3.
tess-cloud is a user-friendly package which provides fast access to TESS Full-Frame Image (FFI) data in the cloud. It builds upon aioboto3, asyncio, and diskcache to access the TESS data set in AWS S3 in a fast, asynchronous, and cached way.
Installation
python -m pip install tess-cloud
Example use
Retrieve the AWS S3 location of a TESS image:
>>> import tess_cloud
>>> tess_cloud.get_s3_uri("tess2019199202929-s0014-2-3-0150-s_ffic.fits")
"s3://stpubdata/tess/public/ffi/s0014/2019/199/2-3/tess2019199202929-s0014-2-3-0150-s_ffic.fits"
List the images of a TESS sector:
>>> tess_cloud.list_images(sector=5, camera=2, ccd=3)
<TessImageList>
Read a TESS image from S3 into local memory:
>>> from tess_cloud import TessImage
>>> img = TessImage("tess2019199202929-s0014-2-3-0150-s_ffic.fits")
>>> img.read()
<astropy.io.fits.HDUList>
Read only the header of a TESS image into local memory:
>>> img.read_header(ext=1)
<astropy.io.fits.FitsHeader>
Cutout a Target Pixel File for a stationary object:
>>> from tess_cloud import cutout
>>> cutout("Alpha Cen", shape=(10, 10))
TargetPixelFile("Alpha Cen")
Cutout a Target Pixel File centered on a moving asteroid:
>>> from tess_cloud import cutout_asteroid
>>> cutout_asteroid("Vesta", start="2019-04-28", stop="2019-06-28)
TargetPixelFile("Vesta")
Documentation
Coming soon!
Similar services
TESScut is an excellent API service which allows cut outs to be obtained for stationary objects. Tess-cloud provides an alternative implementation of this service by leveraging the TESS public data set on AWS S3.
At this time tess-cloud is an experiment, we recommend that you keep using TESScut for now!
Metadata
Release files for tess-cloud 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tess_cloud-0.5.0.tar.gz | 53.7 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tess_cloud-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 107.5 MB
Release files / tess_cloud-0.5.0.tar.gz
| Download URL | tess_cloud-0.5.0.tar.gz |
|---|---|
| Size | 53.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d7b6b8f94aca01c89e086362a30c25e53f821abe8c98a0f0d66ccb0c2bc4c4b
|
|
BLAKE2b-256 checksum How to use checksums |
9f99f24715f419c2ec270bed1147d29823a238282365397fa45f7da72e5e67d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.8.6 Darwin/21.6.0
|
Release files / tess_cloud-0.5.0-py3-none-any.whl
| Download URL | tess_cloud-0.5.0-py3-none-any.whl |
|---|---|
| Size | 53.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
de4ea1b15b63483cb255ff289e843cfaecb0ff8de40255dbbac1a817445762d3
|
|
BLAKE2b-256 checksum How to use checksums |
4886278c0a397662bba7e170774570923adf383e84d037037d92da8b20ee2a17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.8.6 Darwin/21.6.0
|
Security for tess-cloud 0.5.0
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.