From 3c85156a0cb56bba506f253ceea17d80b6693ee3 Mon Sep 17 00:00:00 2001 From: Oliver Heidmann <oliver.heidmann@mpimet.mpg.de> Date: Thu, 6 Mar 2025 11:28:58 +0100 Subject: [PATCH] memory streams are now dependent on netcdf5 --- src/stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stream.c b/src/stream.c index f3a11f7c8..7c674bbf4 100644 --- a/src/stream.c +++ b/src/stream.c @@ -721,7 +721,7 @@ streamOpenNCMem(int ncidp, char mode) stream_t *streamptr = stream_new_entry(CDI_UNDEFID); int streamID = CDI_ESYSTEM; -#ifdef HAVE_NETCDF4 +#ifdef HAVE_NETCDF5 streamID = streamptr->self; if (streamID < 0) return CDI_ELIMIT; @@ -733,7 +733,7 @@ streamOpenNCMem(int ncidp, char mode) streamptr->filename = strdup(filename); streamptr->filemode = mode; - streamptr->filetype = CDI_FILETYPE_NC4; + streamptr->filetype = CDI_FILETYPE_NC5; streamptr->fileID = ncidp; if (mode == 'r') -- GitLab