From aba655a3db3387dddde8aeb9faaa7b389f7364f2 Mon Sep 17 00:00:00 2001 From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de> Date: Fri, 14 Mar 2025 17:52:23 +0100 Subject: [PATCH] enable-hirlam-extensions failed since release 2.5.1 (bug fix) --- ChangeLog | 4 ++++ src/grb_write.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b1e9272c0..8ba6f4450 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2025-03-14 Uwe Schulzweida + + * enable-hirlam-extensions failed since release 2.5.1 (bug fix) + 2025-03-05 Uwe Schulzweida * Version 2.5.1 released diff --git a/src/grb_write.c b/src/grb_write.c index 217904313..7f699aac7 100644 --- a/src/grb_write.c +++ b/src/grb_write.c @@ -316,8 +316,8 @@ grbCopyField(stream_t *streamptr2, stream_t *streamptr1) size_t numMissVals = 0; int vlistID = streamptr1->vlistID; - int varID = record->varID; - int levelID = record->levelID; + int varID = recinfo->varID; + int levelID = recinfo->levelID; int gridID = vlistInqVarGrid(vlistID, varID); size_t gridsize = gridInqSize(gridID); -- GitLab