pvtend.collect_term_fields
- pvtend.collect_term_fields(fields_dict: Dict[str, ndarray], include_terms: Iterable[str] | None = None) Dict[str, ndarray][source]
Collect and sign-correct PV budget term fields.
- Parameters:
fields_dict – Dict of field_name → 2D array.
include_terms – Terms to include (default: all advection + pv_dt, Q).
- Returns:
Dict of term_name → 2D numpy array (sign-corrected).