Dataset Viewer
Auto-converted to Parquet Duplicate
obs_id
stringlengths
6
22
obstype
stringclasses
2 values
intent
stringclasses
1 value
target_ra
float64
8.41
360
target_dec
float64
-31.4
29
target_type
stringclasses
5 values
epic_id
int64
200M
252M
campaign
int64
0
112
cadence
stringclasses
2 values
k2-c00
C
science
97.885609
21.866013
campaign
null
0
null
k2-c01
C
science
173.402013
1.680802
campaign
null
1
null
k2-c02
C
science
245.480746
-22.354081
campaign
null
2
null
k2-c03
C
science
336.07042
-11.407983
campaign
null
3
null
k2-c04
C
science
58.633654
18.53923
campaign
null
4
null
k2-c05
C
science
129.625971
17.10475
campaign
null
5
null
k2-c06
C
science
204.241325
-11.106746
campaign
null
6
null
k2-c07
C
science
287.310764
-23.489591
campaign
null
7
null
k2-c08
C
science
15.835409
5.109257
campaign
null
8
null
k2-c09
C
science
270.868342
-21.817547
campaign
null
9
null
k2-c10
C
science
186.301177
-3.89577
campaign
null
10
null
k2-c11
C
science
259.523367
-24.063987
campaign
null
11
null
k2-c12
C
science
351.092831
-5.524696
campaign
null
12
null
k2-c13
C
science
72.008038
20.499279
campaign
null
13
null
k2-c14
C
science
159.877088
6.803714
campaign
null
14
null
k2-c15
C
science
232.77121
-20.058306
campaign
null
15
null
k2-c16
C
science
134.522475
18.413342
campaign
null
16
null
k2-c17
C
science
203.298671
-7.696248
campaign
null
17
null
k2-c18
C
science
129.315139
16.868773
campaign
null
18
null
k2-c19
C
science
347.914714
-3.667339
campaign
null
19
null
k2gap201121245-c01_lc
C
science
176.8281
-6.003705
k2gap
201,121,245
1
lc
k2gap201126368-c01_lc
C
science
176.27118
-5.876152
k2gap
201,126,368
1
lc
k2gap201126489-c01_lc
C
science
176.39874
-5.873429
k2gap
201,126,489
1
lc
k2gap201127270-c01_lc
C
science
175.99977
-5.854173
k2gap
201,127,270
1
lc
k2gap201128834-c01_lc
C
science
176.597835
-5.814778
k2gap
201,128,834
1
lc
k2gap201129856-c01_lc
C
science
176.408925
-5.7912
k2gap
201,129,856
1
lc
k2gap201131882-c01_lc
C
science
176.57979
-5.740887
k2gap
201,131,882
1
lc
k2gap201132121-c01_lc
C
science
175.92612
-5.735467
k2gap
201,132,121
1
lc
k2gap201132839-c01_lc
C
science
174.95229
-5.717931
k2gap
201,132,839
1
lc
k2gap201133580-c01_lc
C
science
175.97607
-5.700561
k2gap
201,133,580
1
lc
k2gap201134999-c01_lc
C
science
174.83883
-5.664526
k2gap
201,134,999
1
lc
k2gap201136194-c01_lc
C
science
175.627005
-5.632796
k2gap
201,136,194
1
lc
k2gap201138049-c01_lc
C
science
175.729275
-5.587227
k2gap
201,138,049
1
lc
k2gap201138736-c01_lc
C
science
174.75711
-5.569884
k2gap
201,138,736
1
lc
k2gap201140757-c01_lc
C
science
173.959125
-5.52021
k2gap
201,140,757
1
lc
k2gap201141142-c01_lc
C
science
174.59964
-5.511111
k2gap
201,141,142
1
lc
k2gap201142176-c01_lc
C
science
174.90012
-5.485727
k2gap
201,142,176
1
lc
k2gap201142448-c01_lc
C
science
175.889205
-5.479505
k2gap
201,142,448
1
lc
k2gap201142781-c01_lc
C
science
174.507405
-5.470156
k2gap
201,142,781
1
lc
k2gap201144607-c01_lc
C
science
176.605395
-5.424271
k2gap
201,144,607
1
lc
k2gap201146751-c01_lc
C
science
175.2414
-5.372576
k2gap
201,146,751
1
lc
k2gap201146803-c01_lc
C
science
173.900925
-5.371366
k2gap
201,146,803
1
lc
k2gap201147180-c01_lc
C
science
176.874555
-5.362365
k2gap
201,147,180
1
lc
k2gap201147804-c01_lc
C
science
173.514345
-5.346594
k2gap
201,147,804
1
lc
k2gap201148176-c01_lc
C
science
173.73786
-5.337515
k2gap
201,148,176
1
lc
k2gap201148231-c01_lc
C
science
175.732935
-5.33606
k2gap
201,148,231
1
lc
k2gap201148819-c01_lc
C
science
175.9032
-5.321696
k2gap
201,148,819
1
lc
k2gap201149394-c01_lc
C
science
176.557215
-5.309401
k2gap
201,149,394
1
lc
k2gap201150103-c01_lc
C
science
173.301855
-5.292567
k2gap
201,150,103
1
lc
k2gap201150552-c01_lc
C
science
173.224935
-5.282751
k2gap
201,150,552
1
lc
k2gap201150637-c01_lc
C
science
173.511165
-5.280891
k2gap
201,150,637
1
lc
k2gap201153558-c01_lc
C
science
173.42964
-5.210863
k2gap
201,153,558
1
lc
k2gap201153764-c01_lc
C
science
172.48539
-5.206567
k2gap
201,153,764
1
lc
k2gap201154853-c01_lc
C
science
171.821775
-5.179376
k2gap
201,154,853
1
lc
k2gap201154950-c01_lc
C
science
173.169555
-5.17678
k2gap
201,154,950
1
lc
k2gap201154959-c01_lc
C
science
173.391225
-5.176524
k2gap
201,154,959
1
lc
k2gap201155959-c01_lc
C
science
175.132845
-5.153221
k2gap
201,155,959
1
lc
k2gap201159488-c01_lc
C
science
176.360565
-5.068622
k2gap
201,159,488
1
lc
k2gap201159747-c01_lc
C
science
172.47699
-5.06255
k2gap
201,159,747
1
lc
k2gap201160952-c01_lc
C
science
171.874695
-5.033609
k2gap
201,160,952
1
lc
k2gap201161185-c01_lc
C
science
176.74539
-5.028629
k2gap
201,161,185
1
lc
k2gap201161403-c01_lc
C
science
175.826565
-5.023434
k2gap
201,161,403
1
lc
k2gap201161685-c01_lc
C
science
175.189425
-5.016266
k2gap
201,161,685
1
lc
k2gap201161811-c01_lc
C
science
176.353695
-5.013621
k2gap
201,161,811
1
lc
k2gap201161898-c01_lc
C
science
173.00541
-5.011776
k2gap
201,161,898
1
lc
k2gap201162080-c01_lc
C
science
170.66166
-5.00761
k2gap
201,162,080
1
lc
k2gap201162873-c01_lc
C
science
176.10972
-4.987817
k2gap
201,162,873
1
lc
k2gap201162929-c01_lc
C
science
176.96079
-4.986242
k2gap
201,162,929
1
lc
k2gap201163267-c01_lc
C
science
175.828815
-4.978354
k2gap
201,163,267
1
lc
k2gap201163527-c01_lc
C
science
175.65675
-4.972576
k2gap
201,163,527
1
lc
k2gap201164640-c01_lc
C
science
172.001115
-4.946376
k2gap
201,164,640
1
lc
k2gap201165279-c01_lc
C
science
174.60981
-4.932191
k2gap
201,165,279
1
lc
k2gap201166446-c01_lc
C
science
173.34951
-4.904681
k2gap
201,166,446
1
lc
k2gap201166590-c01_lc
C
science
174.63555
-4.901342
k2gap
201,166,590
1
lc
k2gap201166796-c01_lc
C
science
176.749155
-4.895723
k2gap
201,166,796
1
lc
k2gap201166998-c01_lc
C
science
170.21589
-4.890969
k2gap
201,166,998
1
lc
k2gap201167767-c01_lc
C
science
172.046085
-4.872467
k2gap
201,167,767
1
lc
k2gap201168117-c01_lc
C
science
173.08263
-4.863591
k2gap
201,168,117
1
lc
k2gap201168216-c01_lc
C
science
170.824335
-4.860773
k2gap
201,168,216
1
lc
k2gap201168433-c01_lc
C
science
174.92718
-4.855409
k2gap
201,168,433
1
lc
k2gap201169086-c01_lc
C
science
173.57727
-4.838616
k2gap
201,169,086
1
lc
k2gap201169344-c01_lc
C
science
175.410555
-4.832421
k2gap
201,169,344
1
lc
k2gap201171453-c01_lc
C
science
170.13393
-4.782124
k2gap
201,171,453
1
lc
k2gap201171671-c01_lc
C
science
170.977665
-4.776613
k2gap
201,171,671
1
lc
k2gap201172463-c01_lc
C
science
170.19258
-4.75759
k2gap
201,172,463
1
lc
k2gap201173666-c01_lc
C
science
173.107575
-4.728419
k2gap
201,173,666
1
lc
k2gap201173667-c01_lc
C
science
173.478135
-4.728407
k2gap
201,173,667
1
lc
k2gap201173945-c01_lc
C
science
170.939595
-4.721251
k2gap
201,173,945
1
lc
k2gap201174338-c01_lc
C
science
172.94592
-4.712336
k2gap
201,174,338
1
lc
k2gap201174640-c01_lc
C
science
170.684535
-4.70579
k2gap
201,174,640
1
lc
k2gap201174783-c01_lc
C
science
171.859005
-4.702471
k2gap
201,174,783
1
lc
k2gap201175159-c01_lc
C
science
171.942975
-4.693772
k2gap
201,175,159
1
lc
k2gap201175402-c01_lc
C
science
173.38314
-4.68789
k2gap
201,175,402
1
lc
k2gap201175501-c01_lc
C
science
172.439085
-4.685096
k2gap
201,175,501
1
lc
k2gap201175557-c01_lc
C
science
175.471155
-4.683467
k2gap
201,175,557
1
lc
k2gap201177438-c01_lc
C
science
172.03326
-4.638818
k2gap
201,177,438
1
lc
k2gap201177817-c01_lc
C
science
168.92229
-4.629716
k2gap
201,177,817
1
lc
k2gap201177861-c01_lc
C
science
172.531845
-4.628539
k2gap
201,177,861
1
lc
k2gap201177907-c01_lc
C
science
174.78417
-4.627302
k2gap
201,177,907
1
lc
k2gap201178730-c01_lc
C
science
175.97667
-4.607545
k2gap
201,178,730
1
lc
End of preview. Expand in Data Studio

K2 Observation Catalog

Artist concept of NASA's Kepler space telescope observing along the ecliptic plane during its K2 mission

Credit: NASA/Ames/JPL-Caltech

Part of a dataset collection on Hugging Face.

Dataset description

The K2 Observation Catalog indexes every target observed by NASA's K2 mission — the repurposed Kepler spacecraft that flew between 2014 and 2018 after two of Kepler's four reaction wheels failed. Unable to hold its original Cygnus–Lyra field, K2 used solar radiation pressure as a "virtual third reaction wheel," rolling every ~80 days to observe a new ecliptic-plane field ("campaign"). 20 campaigns (C0–C19) were executed before the spacecraft exhausted its hydrazine fuel.

Each row is one K2 target observation. The dataset is drawn from MAST's dbo.caomobservation (collection = 'K2') and merges four observationid flavors that K2 uses to distinguish target-selection programs: ktwo (624K rows — the main per-target list from Guest Observer proposals), polar (121K rows — alternate-roll pointings that give slightly different sky coverage in the same campaign), k2gap (Kepler/K2 Galactic Archaeology Program — asteroseismology and stellar-population targets), and k2-c<NN> (20 rows of campaign-composite metadata). Each obs_id is parsed into its EPIC ID (the K2 equivalent of KIC), campaign number, and cadence (long or short).

K2 is the second-most prolific transit-discovery mission after Kepler prime, finding over 500 confirmed exoplanets across unusual hosts — M dwarfs, young stars in clusters, bright and easily-followed nearby systems — that the original Kepler field could not reach. It also produced rich stellar variability, asteroseismology, and solar-system (moving-target) archives.

This dataset is designed for cross-matching with exoplanet catalogs (K2 confirmed planets, K2 candidates, TESS TOI), for campaign-by-campaign target lists, for identifying long-baseline targets observed across multiple campaigns, and for selecting stellar-population samples via the k2gap prefix. It complements the Kepler prime-mission observations dataset in this collection. Raw and de-trended light curves for each target can be retrieved from MAST using the obs_id.

The catalog is derived from MAST's CAOM table dbo.caomobservation and is refreshed quarterly — K2 operations ended in 2018 but reprocessing (e.g., EVEREST, K2SFF detrended products) continues to land in the archive.

This dataset is suitable for tabular classification tasks.

Schema

Column Type Description Sample Null %
obs_id string MAST observation identifier (e.g., 'ktwo201121245-c01_lc'); encodes target type, EPIC ID, campaign, and cadence. Primary key. k2-c00 0.0%
obstype string CAOM observation type code: 'S' (simple) or 'C' (composite) C 0.0%
intent string Observation intent: 'science' or 'calibration' science 0.0%
target_ra float64 Target right ascension in decimal degrees (ICRS). Each K2 campaign covers roughly 100 sq. deg. along the ecliptic. 97.88560925269856 0.0%
target_dec float64 Target declination in decimal degrees (ICRS). All K2 campaigns fall within ±30° of the ecliptic plane. 21.86601254301791 0.0%
target_type string Category inferred from obs_id prefix: 'standard' (ktwo, main K2 target list), 'polar' (alternate-roll pointings with different sky coverage), 'k2gap' (Kepler/K2 Galactic Archaeology Program — asteroseismology / stellar populations), or 'campaign' (20 campaign-metadata rows) campaign 0.0%
epic_id Int64 Ecliptic Plane Input Catalog (EPIC) identifier (9-digit integer) for the target; null for campaign-composite rows 201121245 2.5%
campaign Int64 K2 campaign number (0–19); each campaign observed a different patch of the ecliptic for ~80 days. Null for some campaign-composite rows. 0 2.5%
cadence string Cadence type: 'lc' (long cadence, 29.4-minute integration) or 'sc' (short cadence, 58.9-second integration). Null for campaign composites. lc 2.5%

Quick stats

  • 764,820 K2 observations (2014–2018, campaigns C0–C19)
  • Target types: standard (624,135), polar (120,641), unknown (18,762), k2gap (1,262), campaign (20)
  • 24 distinct campaigns
  • 743,405 long cadence (29.4 min), 2,633 short cadence (58.9 s)
  • 562,900 distinct EPIC (Ecliptic Plane Input Catalog) targets

Usage

from datasets import load_dataset

ds = load_dataset("juliensimon/k2-observations", split="train")
df = ds.to_pandas()
from datasets import load_dataset

ds = load_dataset("juliensimon/k2-observations", split="train")
df = ds.to_pandas()

# Standard K2 targets observed across ≥5 campaigns (long baseline)
import pandas as pd
std = df[df["target_type"] == "standard"]
multi_campaign = std.groupby("epic_id").size()
long_baseline = multi_campaign[multi_campaign >= 5]
print(f"EPIC targets observed in ≥5 campaigns: {len(long_baseline):,}")

# K2 sky coverage (each campaign = different patch of ecliptic)
import matplotlib.pyplot as plt
sci = df[df["target_type"].isin(["standard", "polar", "k2gap"])]
plt.figure(figsize=(12, 6))
for c in sorted(sci["campaign"].dropna().unique()):
    subset = sci[sci["campaign"] == c]
    plt.scatter(subset["target_ra"], subset["target_dec"], s=0.2, alpha=0.3, label=f"C{int(c)}")
plt.xlabel("RA (deg)"); plt.ylabel("Dec (deg)")
plt.gca().invert_xaxis()
plt.title("K2 campaigns on the sky")
plt.legend(loc="upper right", fontsize=6, ncol=2)
plt.show()

# Targets per campaign
per_c = sci.groupby("campaign").size()
per_c.plot.bar()
plt.xlabel("Campaign"); plt.ylabel("Target observations")
plt.title("K2 target count per campaign")
plt.show()

Data source

https://archive.stsci.edu/missions-and-data/k2

Update schedule

Quarterly (1st of Jan/Apr/Jul/Oct at 15:00 UTC) via GitHub Actions.

Related datasets

If you find this dataset useful, please consider giving it a like on Hugging Face. It helps others discover it.

About the author

Created by Julien Simon — AI Operating Partner at Fortino Capital. Part of the Space Datasets collection.

Citation

@dataset{k2_observations,
  title = {K2 Observation Catalog},
  author = {juliensimon},
  year = {2026},
  url = {https://huggingface.co/datasets/juliensimon/k2-observations},
  publisher = {Hugging Face}
}

License

CC-BY-4.0

Downloads last month
35

Collection including juliensimon/k2-observations