reana-cmd-plot-workflow

Automate REANA workflow creation and hex-bin plotting for Parquet datasets.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires dask[dataframe], s3fs, matplotlib, seaborn, pyarrow.

What problem does it solve?

Automates the setup and execution of a self-contained REANA workflow that fetches a public Parquet dataset from S3, caches it locally, and generates a visual hex-bin plot for large astronomical samples.

Core Features & Use Cases

  • Self-contained REANA workflow: creates a reana_cmd folder with plot_cmd.py and reana.yaml for reproducible experiments.
  • Data access and caching: pulls the public shboost2024 Parquet dataset from S3 (anon) and caches ~200k-rows for fast plotting.
  • Visualization: produces a 512x512 hex-bin PNG of bprp0 vs mg0 with the y-axis inverted.
  • REANA workflow management: provides exact REANA‑client commands to create, start, monitor, and retrieve the output.

Quick Start

Create the reana_cmd workspace with the two files and run the REANA client to manage the workflow from creation to download.

Frequently Asked Questions about reana-cmd-plot-workflow

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

FAQPage Schema
How do I plot large Parquet datasets from S3 using a reproducible REANA workflow?

To plot large Parquet datasets from S3 using a reproducible REANA workflow, this Skill automates fetching and caching public data locally, then generates a hex-bin visualization using Dask, Matplotlib, and Seaborn.

What dependencies do I need to visualize Parquet data and generate hex-bin plots?

Visualizing Parquet data and generating hex-bin plots requires a Python 3.12 environment with dask[dataframe], s3fs, matplotlib, seaborn, and pyarrow installed to handle S3 access and rendering.

Can I use REANA to cache astronomical datasets locally for fast visualization?

Yes, you can use REANA to cache astronomical datasets locally for fast visualization; this workflow pulls a public Parquet dataset from S3 and caches approximately 200,000 rows for rapid plotting.

How does Dask handle S3 Parquet data access for astronomical plotting?

Dask handles S3 Parquet data access for astronomical plotting by using the s3fs and pyarrow libraries to anonymously fetch the dataset, which is then cached locally for efficient hex-bin rendering.

What is the best way to manage a REANA workflow for generating dataset plots?

The best way to manage a REANA workflow for generating dataset plots is using the local REANA client to create, start, monitor, and retrieve the output cmd.png file generated by the plot_cmd.py script.

Does this plotting workflow support custom visualization outputs beyond hex-bin plots?

This plotting workflow currently focuses on generating a 512x512 hex-bin PNG plot with an inverted y-axis for astronomical samples, and does not explicitly support custom visualization outputs beyond this specific rendering.