Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Contributors

| GitHub user | Real Name | Affiliation | Date |
| ----------- | --------- | ----------- | ---- |
| james-bruten-mo | James Bruten | Met Office | 2025-12-09 |
| jennyhickson | Jenny Hickson | Met Office | 2026-03-02 |
| GitHub user | Real Name | Affiliation | Date |
| --------------- | ------------- | ----------- | ---------- |
| james-bruten-mo | James Bruten | Met Office | 2025-12-09 |
| jennyhickson | Jenny Hickson | Met Office | 2026-03-02 |
| r-sharp | R Sharp | Met Office | 2026-04-09 |
10 changes: 8 additions & 2 deletions mule/lib/mule/pp.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,17 @@ def fields_to_pp_file(pp_file_obj_or_path, field_or_fields,

# If the field appears to be variable resolution, attach the
# relevant extra data (requires that a UM file object was given)
not_timeseries = field.lbcode not in [31320, ]
if not_timeseries:
print(f" : NOT a timeseries.")
else:
print(f" : TimeSeries data assumed - skipping adding variable resolution data.")
vector = {}
if (field.bzx == field.bmdi
if ( not_timeseries and
( field.bzx == field.bmdi
or field.bzy == field.bmdi
or field.bdx == field.bmdi
or field.bdy == field.bmdi):
or field.bdy == field.bmdi) ):

# The variable resolution data can either be already attached
# to the field (most likely if it has already come from an existing
Expand Down
Loading