Skip to main content

Analyze NASA TESS data in the cloud.

Reason this release was yanked:

Insufficient connection pooling - please do not use.

Project description

Analyze the TESS open dataset in AWS S3.

pypi

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!

Project details


Download files

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

Source Distribution

tess-cloud-0.2.0.tar.gz (8.1 MB view details)

Uploaded Source

Built Distribution

tess_cloud-0.2.0-py3-none-any.whl (8.2 MB view details)

Uploaded Python 3

File details

Details for the file tess-cloud-0.2.0.tar.gz.

File metadata

  • Download URL: tess-cloud-0.2.0.tar.gz
  • Upload date:
  • Size: 8.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.7 Darwin/20.3.0

File hashes

Hashes for tess-cloud-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2cbd3715d591d38ddd94bab217d3199948c6025bbf80eae9aa3a3c35ea89d0a0
MD5 3d883ac3b2e7f725c522d9ae1e0c22b7
BLAKE2b-256 6f578d8ad9329b1369e405689d617b513f5a9c7e2ec5444f57752ecc2d7449ef

See more details on using hashes here.

File details

Details for the file tess_cloud-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: tess_cloud-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.7 Darwin/20.3.0

File hashes

Hashes for tess_cloud-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce5f8821c4b2fb5dd53c4cccbd611d4f56e7202dc4a4c1db8cd89d87ca4569aa
MD5 2d4acc9cf2f473efc2eab9b65d55f927
BLAKE2b-256 6be341242fc3d5e1d0f54fa53c0b9bd31a0fa98348d09f7a9c83fe328c2eec32

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page