read_run_log
Retrieve recent log lines from CESM or MOM6 model runs by specifying the case directory and optional component filter.
Instructions
Return recent lines from a CESM or MOM6 run log.
component: 'cesm', 'ocn' (MOM6), 'atm', 'ice', 'rof', or 'all'. Searches case_dir and case_dir/run/ for log files. Returns the most recent match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_dir | Yes | ||
| component | No | cesm | |
| lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |