Skip to content

make bit shaving work on nc4 tile space output#4190

Merged
mathomp4 merged 2 commits intodevelopfrom
feature/wjiang/tile_bitshave
Nov 20, 2025
Merged

make bit shaving work on nc4 tile space output#4190
mathomp4 merged 2 commits intodevelopfrom
feature/wjiang/tile_bitshave

Conversation

@weiyuan-jiang
Copy link
Contributor

@weiyuan-jiang weiyuan-jiang commented Nov 19, 2025

Types of change(s)

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Trivial change (affects only documentation or cleanup)
  • Refactor (no functional changes, no api changes)

Checklist

  • Tested this change with a run of GEOSgcm
  • Ran the Unit Tests (make tests)

Description

This PR makes bit shaving work For nc4 format output in tile space, which matches that in gridded space.

Related Issue

Background

Bit shaving for 1d (tile-space) nc4 output is needed for GEOSldas, which routinely outputs diagnostics in 1d when running on the EASE tile space. In the past, GEOSldas has been writing binary output and applied a separate binary-to-nc4 script to generate tile-space nc4 output. With the recent addition of the EASE grid factory, GEOSldas is switching to writing tile-space output directly into nc4 via MAPL, see GEOS-ESM/GEOSldas_GridComp#144

@weiyuan-jiang weiyuan-jiang added the 0 Diff The changes in this pull request have verified to be zero-diff with the target branch. label Nov 19, 2025
@weiyuan-jiang weiyuan-jiang requested a review from a team as a code owner November 19, 2025 16:49
@mathomp4 mathomp4 merged commit 8403dd0 into develop Nov 20, 2025
40 checks passed
@mathomp4 mathomp4 deleted the feature/wjiang/tile_bitshave branch November 20, 2025 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0 Diff The changes in this pull request have verified to be zero-diff with the target branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants