shboost-plot-s3

Sample parquet rows from public S3 and render a scatter plot.

4|1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/arm2arm/AstroAgentAssistant --skill shboost-plot-s3
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shboost-plot-s3
Source: https://github.com/arm2arm/AstroAgentAssistant/tree/main/data-science/shboost-plot-s3
Command: npx skills add https://github.com/arm2arm/AstroAgentAssistant --skill shboost-plot-s3

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Plot a sampled subset of the ShBoost 2024 star dataset stored on a public S3 bucket.

Core Features & Use Cases

  • Sampled plotting: read parquet files from public S3, sample to a target row count, and generate a scatter plot.
  • Flexible visualization: select x/y columns (e.g., mg0 vs bprp0) and color by category if present.
  • Use case: astronomers quickly visualize distributions and correlations in public ShBoost data without local data transfer.

Quick Start

Run the shboost_plot.py script with a prepared environment to generate the scatter plot from the public ShBoost S3 dataset.

Frequently Asked Questions about shboost-plot-s3

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I plot a sample of parquet data stored on a public S3 bucket?

To plot parquet data from public S3, this Skill reads remote files using dask and s3fs, samples rows to a target count, and renders a scatter plot with matplotlib and seaborn. It transfers only the sampled subset locally.

Can I visualize astronomy star data from ShBoost without downloading the entire dataset?

Yes, you can visualize ShBoost astronomy data without full download. The Skill reads parquet files remotely from S3, applies deterministic sampling to a target row count, and generates a scatter plot from the sampled subset.

What Python packages do I need to read parquet files from S3 and generate a scatter plot?

You need Python 3.8+ with dask[dataframe], s3fs, matplotlib, seaborn, and pandas. These packages read parquet files from S3, sample rows, and render the scatter plot for exploratory visualization.

How do I select specific columns like mg0 and bprp0 for a scatter plot from remote S3 data?

You select x/y columns such as mg0 and bprp0 for the scatter plot when running the script. The Skill reads the sampled parquet subset from S3 and renders the plot, coloring by category if a categorical column is present.

What's the best way to do quick exploratory visualization of large remote astronomy datasets?

Quick exploratory visualization of remote astronomy datasets is done by sampling parquet files directly on S3 with dask, minimizing data transfer. The Skill renders a scatter plot from the deterministic sample for immediate distribution analysis.

Are there limitations when sampling parquet files from S3 for data visualization?

A limitation of sampling parquet from S3 for visualization is that only a subset of rows is plotted, not the full dataset. The scatter plot reflects the sampled distribution, requiring an available public S3 bucket and installed Python dependencies.