-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started with Zyra
Eric Hackathorn edited this page Sep 13, 2025
·
2 revisions
Welcome to Zyra! 🌿 This page will help you install Zyra, explore its CLI, and run your first simple workflow.
Zyra is available on PyPI, so you can install it with:
pip install zyra
✅ Requires Python 3.10+.
For developer setup, see the Contributing Guide.
Zyra comes with a command-line interface (CLI) for building workflows quickly.
Check available commands:
zyra --help
You’ll see options for:
- Data acquisition
- Processing and transformations
- Visualization (plots, maps, animations)
- Export
Here’s a simple, realistic flow using the CLI’s groups:
# Step 1. Acquire a file (HTTP → local path)
zyra acquire http https://example.com/sample.grib2 -o sample.grib2
# Step 2. Convert GRIB2 → NetCDF (streams stdout to file)
zyra process convert-format sample.grib2 netcdf --stdout > sample.nc
# Step 3. Visualize (choose a variable present in the file)
zyra visualize heatmap --input sample.nc --var VAR --output weather_plot.png
Notes
- Replace the URL with your data source.
- Use a variable that exists in your file for
--var
(e.g.,T2M
). - Many subcommands support stdin/stdout for piping (
-
as input/output).
- 🌐 Introduction – Deeper context and design overview
- 🧩 Pipeline Patterns – Reusable workflow templates
- 🎨 Visualization Module – Plots, maps, and animations
- 🔧 Processing Module – GRIB, NetCDF, and data transformations
- 🔌 Connectors – HTTP/FTP/S3/Vimeo transfer helpers
- 🛠️ Utilities – File management, credentials, and helpers
✨ You just grew your first insight with Zyra!
- Connectors (docs): https://noaa-gsl.github.io/zyra/api/zyra.connectors.html
- Processing (docs): https://noaa-gsl.github.io/zyra/api/zyra.processing.html
- Visualization (docs): https://noaa-gsl.github.io/zyra/api/zyra.visualization.html
- Transform (docs): https://noaa-gsl.github.io/zyra/api/zyra.transform.html
- Utils (docs): https://noaa-gsl.github.io/zyra/api/zyra.utils.html