Skip to content

Examples#108

Open
JordanLaserGit wants to merge 2 commits into
mainfrom
examples
Open

Examples#108
JordanLaserGit wants to merge 2 commits into
mainfrom
examples

Conversation

@JordanLaserGit

@JordanLaserGit JordanLaserGit commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Adds a Getting Started guide that walks a first-time user through a DataStreamCLI (NextGen internally) run one CLI argument at a time. Closes #78.

This guide closely mimics the 2024 and 2025 CIROH developers conference tutorials materials that are still available in this repository. This getting started guide is more detailed and will be maintained, whereas the tutorials may become outdated overtime as the tool evolves.

Additions

  • docs/GETTING_STARTED.md
  • README Getting started bullet linking to the new guide.

Removals

Changes

Testing

Screenshots

N/A — documentation only.

Notes

Todos

Checklist

  • PR has an informative and human-readable title
  • Changes are limited to a single goal (no scope creep)
  • Code can be automatically merged (no conflicts)
  • Code follows project standards (link if applicable)
  • Passes all existing automated tests
  • Any change in functionality is tested
  • New functions are documented (with a description, list of inputs, and expected output)
  • Placeholder code is flagged / future todos are captured in comments
  • Visually tested in supported browsers and devices (see checklist below 👇)
  • Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
  • Reviewers requested with the Reviewers tool ➡️

Testing checklist

Target Environment support

  • Windows
  • Linux
  • Browser

Accessibility

  • Keyboard friendly
  • Screen reader friendly

Other

  • Is useable without CSS
  • Is useable without JS
  • Flexible from small to large screens
  • No linting errors or warnings
  • JavaScript tests are passing

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new “Getting Started” guide to provide a first-time, example-driven walkthrough of running DataStreamCLI (NextGen) and links to it from the README, addressing issue #78.

Changes:

  • Add docs/GETTING_STARTED.md with a step-by-step sequence of runnable examples that introduce CLI arguments progressively.
  • Add a README “Getting started” bullet linking to the new guide.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
README.md Adds a “Getting started” link to the new guide to improve discoverability for new users.
docs/GETTING_STARTED.md Introduces a comprehensive, example-based Getting Started document covering common workflows and options.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/GETTING_STARTED.md
-n 4
```

- **`-D PALISADE_COLORADO`** (`--DOMAIN_NAME`) — a human-readable label for the spatial domain. It's recorded in the run metadata and helps you tell runs apart later. Omit it and DataStreamCLI uses the geopackage's base filename. Adding this option does not impact the processing in anyway.
Comment thread docs/GETTING_STARTED.md

**Step 1 — grab the forcings produced by the Example 1 run** (they already match our time window):
```bash
cp $(pwd)/data/palisade_intro/datastream-resources/ngen-forcings/*.nc $(pwd)/palisade_forcings.nc
Comment thread docs/GETTING_STARTED.md
```

- **`-R …/realization_rust_lstm.json`** — a realization that runs the LSTM model (the pretrained models ship inside the NGIAB container, so there's nothing extra to download).
- **`-L 025`** (`--LSTM_ENS_MEMBERS`) — run ensemble members **0, 2, and 5**. You concatenate the member indices; `-L 0` runs a single member, `-L 012345` runs all six. The index-to-model mapping is documented in [DATASTREAM_OPTIONS.md](DATASTREAM_OPTIONS.md#lstm-enesmble-member-mapping).
@quinnylee

Copy link
Copy Markdown
Collaborator

will review on Monday!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

Development

Successfully merging this pull request may close these issues.

Add datastreamcli examples

3 participants