stilt.footprint.FootprintStage.resolve#
- FootprintStage.resolve(config, model, model_settings, directory)[source]#
Return the footprint settings a variant’s simulations run with.
The geometry is read, once however many variants name it, and its hash recorded (
geometry_hash); the grid of a footprint given only by a geometry is derived from it (stilt.Mesh.to_grid()). A relative geometry file starts from directory.When the footprint is made from the transport model’s own
foot(pbl_heightunset, and a model that records the depth it madefootwith, HYSPLIT’sveght),footprint_depthbecomes that depth: the near-field correction reads it, and the footprint records it.- Raises:
ValueError – If the settings have neither a grid nor a geometry, the near-field correction is on and the transport model is not asked for a particle column it reads (HYSPLIT’s
varsiwant), or afootprint_depthis written for a footprint made from the model’sfootand differs from the model’s depth.- Return type:
FootprintConfig- Parameters: