Summary
Add a sharing feature that allows users to publish a completed fire model and its results to a national central database. The database URL is configurable (via .env), enabling different deployments to point at different sharing endpoints.
Motivation
Fire modeling results have value beyond the individual user or agency that produced them. A national central database enables knowledge sharing across organizations — if someone in BC runs a model for a fire that Alberta is also watching, that work should be discoverable and shareable rather than siloed.
Design
Configuration
- Sharing database URL configured in
.env (e.g., NOMAD_SHARING_DB_URL=https://cdn.example.ca/api)
- Feature is available only when a sharing URL is configured
- If no URL configured, the sharing UI elements are hidden/disabled
User Flow
- User completes a model run and is viewing results
- User clicks "Share" / "Publish" action
- Nomad shows what will be published (model configuration + results summary)
- User confirms
- Model and results are pushed to the central database
- User receives confirmation with a reference/link
What Gets Published
- Model configuration (inputs, parameters, spatial extent, weather data used)
- Model results (outputs, fire perimeters, statistics)
- Metadata (who published, when, from which Nomad instance)
Acceptance Criteria