netcdf classic (CDF-1) {
dimensions:
	dim1 = 3 ;
	dim2 = 2 ;
// global attributes:
		:note = "Tests various cases of value masking (using _FillValue / missing_value)" ;
variables:
	float var1_fillval0(dim1) ;
		var1_fillval0:_FillValue = 0.0 ;
		var1_fillval0:note = "Ensures that values close to the _FillValue are not masked" ;
	int var2_noFillval(dim1) ;
		var2_noFillval:note = "Ensures that variables without a _FillValue or missing_value attribute are read correctly" ;
	int var3_fillvalAndMissingValue(dim1) ;
		var3_fillvalAndMissingValue:_FillValue = 1 ;
		var3_fillvalAndMissingValue:missing_value = 2 ;
		var3_fillvalAndMissingValue:note = "If a variable has both _FillValue and missing_value attributes, _FillValue should take precedence" ;
	int var4_missingValue(dim1) ;
		var4_missingValue:missing_value = 2 ;
		var4_missingValue:note = "If a variable has missing_value but no _FillValue, then use missing_value" ;
	double var5_fillvalNaN(dim1) ;
		var5_fillvalNaN:_FillValue = nan ;
		var5_fillvalNaN:note = "Ensures that we can process a _FillValue of NaN" ;
	char var6_char(dim1) ;
		var6_char:_FillValue = "b" ;
		var6_char:note = "Ensures that we handle missing values in character variables" ;
	int var7_2d(dim1, dim2) ;
		var7_2d:_FillValue = 1 ;
		var7_2d:note = "Ensures that we process missing values correctly for multi-dimensional variables" ;
}