Skip to content

Iris-flux computation #112

Description

@pletzer

Given a target line specified as a set of (lon, lat) points, compute the lateral flux across the line.

In file:
iris_flux.py

Write a class that implements

flux_calc = IrisMintFlux(src_mesh, src_flags, tgt_line)
value = flux_calc.evaluate(field_cube)

Here:
src_mesh: Iris mesh object
src_flags: flags to pass to the constructor, eg (1,1,1) for cubed-sphere
tgt_line: array of points [(x0,y0), (x1, y1), ...] where x0, y0 ... are longitude-latitude pairs
field_cube: field cube

  • Decide on the API
  • Implement the API
  • Test the API

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions