 		return;
 	}
 
+	// Special case for static grid
+	if (coefficients.bitsPerValue == 0)
+	{
+		if (NFmiGribPacking::IsHostPointer(arr))
+		{
+			std::fill(arr, N, coefficients.referenceValue);			
+		}
+		else
+		{
+			NFmiGribPacking::Fill(arr, N, coefficients.referenceValue);
+		}
+		return;
+	}
+	
 	// We need to create a stream if no stream is specified since dereferencing
 	// a null pointer is, well, not a good thing.
 

#include "cuda_helper.h"
#include <cub/cub.cuh>
#include <grib_api.h>

#define BitTest(n,i)	!!((n) & BitMask1(i))
#define BitMask1(i)	(1u << i)

__host__
void simple_packed::Unpack(double* arr, size_t N, cudaStream_t* stream)
{
	assert(arr);
	assert(N > 0);

	if (!packedLength)
	{
		return;
