MetOffice / MetOffice/lfric_apps

Diagnostics: Tropopause pressure, temperature, height and icao height

Open
#711 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Fortran
Stars
31
Forks
118
Avg merge
2d 4h
Merged PRs (30d)
8

Description

This ticket was created to explore the AI Code gen workflow.

Migrate the tropopause diagnostics of pressure, temperature, height and icao height from UM to LFRic.
The UM code can be found in _atmosphere/PWS_diagnostics/pws_tropoht_mod.F90_.

Notes for Claude since our first attempt:
- The UM has updated the maximum tropopause height permitted in the operational UM code from 22km to 32km, and this must be reflected in LFRic.
- Ignore the existing LFRic code which searches from tropopause using a different approach. We want to reproduce the UM logic.

My latest _claude.md_ should now ensure that any code review will compare the new kernel logic against the original UM logic.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with _atmosphere/PWS_diagnostics/pws_tropoht_mod.F90_ and trace the UM logic for tropopause pressure, temperature, height and ICAO height. Compare the resulting kernel logic against the original UM behavior, including the updated 32 km maximum, and verify that all four diagnostics are reproduced in LFRic.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.