[3]:
from webb_scraping import target

Will JWST observe my target?

Let’s say that we’re interested in observing TRAPPIST-1 with JWST. To determine whether this target’s already been included in an ERS or GTO proposal, we can call target.Target on our target of interest. This instantiates a Target object, allowing us to perform scrapes relevant to our target of interest.

[7]:
test = target.Target("TRAPPIST-1")

Next, we can call test.scrape_webb_MAST to query MAST regarding this target. Note:

[9]:
test.scrape_webb_MAST()
test.webb_approved
[9]:
True

Because test.webb_approved returned as True, there’s already a GTO or ERS proposal logged for this target. Let’s see what it is.

[13]:
test.webb_proposal_names
[13]:
['MIRI observations of transiting exoplanets',
 'MIRI observations of transiting exoplanets',
 'MIRI observations of transiting exoplanets',
 'MIRI observations of transiting exoplanets',
 'MIRI observations of transiting exoplanets',
 'NIRISS Exploration of the Atmospheric diversity of Transiting exoplanets (NEAT)',
 'NIRISS Exploration of the Atmospheric diversity of Transiting exoplanets (NEAT)',
 'NIRISS Exploration of the Atmospheric diversity of Transiting exoplanets (NEAT)',
 'NIRISS Exploration of the Atmospheric diversity of Transiting exoplanets (NEAT)',
 'NIRISS Exploration of the Atmospheric diversity of Transiting exoplanets (NEAT)',
 'NIRISS Exploration of the Atmospheric diversity of Transiting exoplanets (NEAT)',
 'NIRISS Exploration of the Atmospheric diversity of Transiting exoplanets (NEAT)',
 'Thermal emission from Trappist1-b',
 'Thermal emission from Trappist1-b',
 'Thermal emission from Trappist1-b',
 'Thermal emission from Trappist1-b',
 'Thermal emission from Trappist1-b',
 'Transit Spectroscopy of TRAPPIST-1e',
 'Transit Spectroscopy of TRAPPIST-1e',
 'Transit Spectroscopy of TRAPPIST-1e',
 'Transit Spectroscopy of TRAPPIST-1e',
 'MIRI observations of transiting exoplanets',
 'MIRI observations of transiting exoplanets',
 'MIRI observations of transiting exoplanets',
 'MIRI observations of transiting exoplanets',
 'MIRI observations of transiting exoplanets',
 'NIRISS Exploration of the Atmospheric diversity of Transiting exoplanets (NEAT)',
 'NIRISS Exploration of the Atmospheric diversity of Transiting exoplanets (NEAT)',
 'NIRISS Exploration of the Atmospheric diversity of Transiting exoplanets (NEAT)',
 'NIRISS Exploration of the Atmospheric diversity of Transiting exoplanets (NEAT)',
 'NIRISS Exploration of the Atmospheric diversity of Transiting exoplanets (NEAT)',
 'NIRISS Exploration of the Atmospheric diversity of Transiting exoplanets (NEAT)',
 'NIRISS Exploration of the Atmospheric diversity of Transiting exoplanets (NEAT)',
 'Thermal emission from Trappist1-b',
 'Thermal emission from Trappist1-b',
 'Thermal emission from Trappist1-b',
 'Thermal emission from Trappist1-b',
 'Thermal emission from Trappist1-b',
 'Transit Spectroscopy of TRAPPIST-1e',
 'Transit Spectroscopy of TRAPPIST-1e',
 'Transit Spectroscopy of TRAPPIST-1e',
 'Transit Spectroscopy of TRAPPIST-1e']

Looks like a number of studies are taking relevant data!

[ ]: