stilt.footprint.FootprintStage#

class stilt.footprint.FootprintStage[source]#

The stage that grids each simulation’s particles into its footprint.

Name it as the class of a block under stages: in config.yaml. The block’s other keys are the footprint settings (FootprintConfig), the defaults of every variant; a variant changes some under its own stages key, or sets the stage to null to make particles only.

stages:
  footprint:
    class: stilt.footprint.FootprintStage
    grid: {xmin: -113.0, xmax: -110.5, ymin: 40.0, ymax: 42.0, xres: 0.01, yres: 0.01}

variants:
  hrrr: {}
  hrrr-coarse: {stages: {footprint: {grid: {xres: 0.05, yres: 0.05}}}}
  hrrr-particles: {stages: {footprint: null}}

Methods#

check(config, releases, directory)

Return what would stop the footprints of releases, found without a run.

resolve(config, model, model_settings, directory)

Return the footprint settings a variant's simulations run with.

run(config, sim, path)

Calculate a simulation's footprint from its particles and write it at path.

settings(config)

Return the settings that identify a footprint, besides its particles (footprint_settings()).