-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
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
Labels
No labels