MetOffice / MetOffice/CSET

Remove all unwanted cube attributes in read.py

Open
#2,478 0 comments 0 reactions 1 assignee Claimed by @jwarner8 View on GitHub
cleanup
Dominant language
Python
Stars
33
Forks
19
Avg merge
1d 22h
Merged PRs (30d)
30

Description

### Something else
A few of our models contain unwanted attributes (like cube history, date of processing), which prevent merging of multiple cubes into a single cube (as the attributes differ). A fair number of attributes are useful (such as LFRic `time_origin` which is used to reconstruct `forecast_reference_time` and `forecast_period`), and `model_name`.

We could remove all attributes that don't match with `iris.util.equalise_attributes`, though we might end up removing useful attributes. We should have a list of attributes we want to preserve, and remove the rest.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.