Nowcast Platform

Getting started

  • Installation
    • What you need
    • Clone and set up
    • How the workspace is laid out
    • Run the checks
      • Tests that skip, and why
    • Building the documentation
    • Known environment problems
    • Next
  • Quickstart
    • 1. Generate a project
    • 2. Install it
    • 3. Watch it pass conformance
    • 4. Make some observations
    • 5. Publish a forecast
    • 6. Look at what came out
    • 7. Read the provenance record
    • What just happened
    • Next

Tutorials

  • Your first model
    • Before you start
    • Step 1: declare what your bundle contains
    • Step 2: put your real artifacts in place
    • Step 3: replace the predictor
      • Declare the dependency
    • Step 4: describe your input format
    • Step 5: set your domain
    • Step 6: add stages, if you need any
    • Step 7: run it for real
    • Step 8: write the tests only you can write
    • Checklist
    • Next
  • Adding a new data source
    • A new format, without writing a decoder
      • File names
    • A format that is not a raw block
    • A new source
    • Wiring it in
  • Ensembles and several variables
    • Several output variables
    • Ensemble members
    • Quantiles
    • The mask
    • Cost
    • A worked example
  • Running in a container
    • What is in the image, and what is not
    • The build context is the workspace root
    • Two details that are easy to get wrong
    • Running it
    • What the service does
    • Mounts and permissions
    • Checking an image before trusting it
    • Kubernetes
  • Scheduling and operations
    • What a poll does
    • Reading the logs
    • Three ways to drive it
      • A systemd timer
      • The container loop
      • An external orchestrator
    • Choosing an interval
    • Worth measuring
    • Failure modes
    • Cache retention
    • Backfilling
  • Porting a published model: IRENE
    • 1. Read the model before writing anything
    • 2. Scaffold, then replace
    • 3. Shrink the checkpoint before it reaches production
    • 4. Vendor only what you need
    • 5. Declare the transform rather than hiding it
    • 6. Write a decoder for the real format
    • 7. Configure the deployment
    • 8. Run it
      • On real radar
    • 9. Going operational
      • A source without a listing
      • The second decoder checks what the first one assumed
      • Configuration
      • Run it
      • Test it without the network
    • What this cost the platform
      • One runtime change, for the port
      • A second one, on going operational
      • Two conformance suite changes
      • Nothing else
    • What this does not show
      • A limitation the port actually hit

Concepts

  • How it works
    • The spine
    • What the runtime guarantees
    • Ports and composition
      • Where composition lives
      • Composition is two-phase
    • Built-in adapters are configuration
    • What stays yours
    • Why these seams and not others
    • Reading on
  • The ports
    • Value objects
      • Grid
      • WindowSpec
      • Frame
      • Prediction
    • Source
    • Decoder
    • Preprocess and Postprocess
    • Transform
    • Predictor
    • Sink
    • ModelPlugin
    • How conformance is enforced
  • Grids and windows
    • Grid
      • Negotiation between what you want and what exists
      • A worked example
    • WindowSpec
      • Why offsets rather than a step and a count
      • Resolving a window
    • Masks
    • Time in outputs
  • Processing stages
    • Why these are ports at all
    • The contract
    • Ordering is fixed, not composed
    • Where does a new stage belong?
    • Built-in stages
      • ClipNegative(floor=0.0)
      • MissingPolicy(policy, max_fraction, fill=0.0)
      • FlipLatitude()
    • Transforms
  • Artifacts and manifests
    • The artifact bundle
      • Roles are declared by the plugin
      • Artifacts stay out of the image
    • The run manifest
      • Fields worth knowing
    • Idempotency
    • Atomic publication

Guides

  • Configuration
    • A complete example
    • Fields
    • What is deliberately not here
    • The rule for anything new
    • Validating without running
    • Several deployments of one model
    • Where this is going
  • Proving conformance
    • Wiring it up
    • Where the data comes from
    • What it checks
    • What it cannot check
    • Cost
    • The reference deployment
  • Troubleshooting
    • Composition and configuration
    • Acquisition
    • Processing
    • Inference and output
    • Tests
    • Containers
    • When nothing matches

Reference

  • Command line reference
    • Runtime commands
      • nowcast-new-model
      • nowcast-download-artifacts
    • Model commands
      • Running the pipeline
      • Exit codes
      • Scheduled poll outcomes
    • Environment
  • API reference
    • Contracts
      • Grid
      • WindowSpec
      • Frame
      • Prediction
      • Observation
      • Source
      • Decoder
      • Preprocess
      • Postprocess
      • Transform
      • Predictor
      • Sink
      • ModelPlugin
    • Composition
      • Loaded
      • Deployment
    • Orchestration
      • default_cache_dir()
      • parser()
      • validate_runtime()
      • forecast_directory()
      • require_fresh()
      • prune()
      • resolved_device()
      • apply_stages()
      • run()
      • tags()
      • manifest()
      • main()
      • poll_lock()
      • completed_run()
      • poll_once()
      • DataNotReady
      • parse_time()
      • catalog()
      • select_window()
      • latest_time()
    • Configuration and artifacts
      • Bounds
      • Config
      • MissingArtifact
      • sha256()
      • verify_bundle()
    • Built-in adapters
      • TimestampedName
      • RawBinaryDecoder
      • gsmap()
      • IncompleteDownload
      • RetryPolicy
      • Credentials
      • LocalFiles
      • FtpSource
      • ClipNegative
      • MissingPolicy
      • FlipLatitude
      • Identity
      • LogZScore
      • GeoTiffSink
    • Operations
      • poll_interval_seconds()
      • run_loop()
      • serve()
      • exclusive_lock()
      • default_bundle()
      • sha256()
      • bundle_files()
      • file_url()
      • download_one()
      • parser()
      • main()
    • Testing and scaffolding
      • ConformanceSuite
      • Plan
      • sha256()
      • runtime_source()
      • render()
      • write_bundle()
      • plan_from()
      • generate()
      • parser()
      • main()

About

  • Scope and limits
    • What this is for
    • What the contracts admit
    • What is out of scope
    • What the runtime will never do for you
    • Honest status
  • Decision records
    • 0001 — Pipeline shape: what the contracts admit
      • Context
      • Decision
      • Consequences
      • Alternatives rejected
    • 0002 — A workspace for the runtime, isolated projects for models
      • Context
      • Decision
      • Consequences
      • Alternatives rejected
      • Reversal
    • 0003 — The ports, and how many of them there are
      • Context
      • Decision
      • What is deliberately not a port
      • Consequences
      • Alternatives rejected
    • 0004 — Optional stages, and adapters that are configuration
      • Context
      • Decision
      • Consequences
      • Alternatives rejected
    • 0005 — Conformance is where the contract is actually enforced
      • Context
      • Decision
      • Consequences
      • What it still does not do
      • Alternatives rejected
    • 0006 — Scaffold something that already works, and keep the runtime framework free
      • Context
      • Decision
      • Consequences
      • Alternatives rejected
    • A note on corrections
Nowcast Platform
  • Overview: module code

All modules for which code is available

  • builtins
  • nowcast_runtime.acquisition
  • nowcast_runtime.artifacts
  • nowcast_runtime.builtin.decoders
  • nowcast_runtime.builtin.sinks
  • nowcast_runtime.builtin.sources
  • nowcast_runtime.builtin.stages
  • nowcast_runtime.builtin.transforms
  • nowcast_runtime.composition
  • nowcast_runtime.config
  • nowcast_runtime.download_artifacts
  • nowcast_runtime.locking
  • nowcast_runtime.pipeline
  • nowcast_runtime.ports
  • nowcast_runtime.scaffold
  • nowcast_runtime.scheduler
  • nowcast_runtime.service
  • nowcast_runtime.testing

© Copyright 2026, Adriano P. Almeida.

Built with Sphinx using a theme provided by Read the Docs.