MetOffice / MetOffice/CDDS

Ensure only netCDF or PP ancillary files are passed to Iris

Open
#561 0 comments 0 reactions 0 assignees View on GitHub
migrated
Dominant language
Python
Stars
8
Forks
7
Avg merge
1d 15h
Merged PRs (30d)
23

Description

Migrated Jira Issue CDDSO-17
Jira creation date 21/04/2022 15:23
-------
When processing PP //model output files//, the warning `Unable to interpret field 0. Unsupported header release number: -333512704. Skipping the remainder of the file.` is issued. This is due to the fact that the `ancil_files` list contains both netCDF and PP files (this warning occurs when the PP loader attempts to load netCDF files). It should be possible to pass only PP or netCDF ancillary files to Iris, depending on the extension of the //model output files//.
-------

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing where the ancil_files list is assembled and how the model output file extension is identified. Confirm that Iris receives only ancillary files matching the model output format, and verify that the unsupported-header warning no longer occurs when processing PP output.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.