Examples of header and global attributes from NetCDF files of climate data

CESM CAM

Finite Volume dycore 1 degree output

dimensions:
	lat = 192 ;
	lon = 288 ;
	slat = 191 ;
	slon = 288 ;
	lev = 26 ;
	ilev = 27 ;
	isccp_prs = 7 ;
	isccp_tau = 7 ;
	isccp_prstau = 49 ;
	time = UNLIMITED ; // (1 currently)
	tbnd = 2 ;
	chars = 8 ;

// global attributes:
		:Conventions = "CF-1.0" ;
		:source = "CAM" ;
		:case = "b40.1850.track1.1deg.006" ;
		:title = "UNSET" ;
		:logname = "" ;
		:host = "" ;
		:Version = "$Name$" ;
		:revision_Id = "$Id$" ;
		:initial_file = "1850_f09_g16_c090901.cam2.i.0001-01-01-00000.nc" ;
		:topography_file = "/fis/cgd/cseg/csm/inputdata/atm/cam/topo/USGS-gtopo30_0.9x1.25_remap_c051027.nc" ;

variables:
	float T(time, lev, lat, lon) ;
		T:units = "K" ;
		T:long_name = "Temperature" ;

	float FLNTC(time, lat, lon) ;
		FLNTC:Sampling_Sequence = "rad_lwsw" ;
		FLNTC:units = "W/m2" ;
		FLNTC:long_name = "Clearsky net longwave flux at top of model" ;

Spectral Eulerian T85

dimensions:
	lat = 128 ;
	lon = 256 ;
	lev = 26 ;
	ilev = 27 ;
	isccp_prs = 7 ;
	isccp_tau = 7 ;
	isccp_prstau = 49 ;
	time = UNLIMITED ; // (1 currently)
	tbnd = 2 ;
	chars = 8 ;

// global attributes:
		:Conventions = "CF-1.0" ;
		:source = "CAM" ;
		:case = "b30.009" ;
		:title = "b30.009 CCSM3 T85_gx1v3 control ccsm3_0_beta08 + ice albedo mods" ;
		:logname = "southern" ;
		:host =  ;
		:Version = "$Name: ccsm3_0_beta08 $" ;
		:revision_Id = "$Id: history.F90,v 1.26.2.37 2003/10/31 16:47:26 jmccaa Exp $" ;


variables:
	float FLNTC(time, lat, lon) ;
		FLNTC:units = "W/m2" ;
		FLNTC:long_name = "Clearsky net longwave flux at top of model" ;
		FLNTC:cell_method = "time: mean" ;
	float T(time, lev, lat, lon) ;
		T:units = "K" ;
		T:long_name = "Temperature" ;
		T:cell_method = "time: mean" ;

HOMME dycore 0.25 degree

dimensions:
	ncol = 777602 ;
	lev = 26 ;
	ilev = 27 ;
	isccp_prs = 7 ;
	isccp_tau = 7 ;
	isccp_prstau = 49 ;
	time = UNLIMITED ; // (1 currently)
	tbnd = 2 ;
	chars = 8 ;

// global attributes:
		:np = 4 ;
		:ne = 120 ;
		:Conventions = "CF-1.0  " ;
		:source = "CAM" ;
		:case = "f1850_ne120tx01     " ;
		:title = "UNSET     " ;
		:logname = "taylorm " ;
		:host = "                " ;
		:Version = "$Name$" ;
		:revision_Id = "$Id$" ;
		:initial_file = "/intrepid-fs0/users/taylorm/scratch/exe/f1850_ne120tx01/run/f1850_ne120tx01.cam2.i.0005-01-01-00000.nc     " ;
		:topography_file = "/intrepid-fs0/users/taylorm/scratch/USGS_gtopo30_0.23x0.31_smooth2000-100_ne120np4_c061107.nc                      
                                                                                                                                    
variables:
	float FLNTC(time, ncol) ;
		FLNTC:Sampling_Sequence = "r" ;
		FLNTC:units = "W   " ;
		FLNTC:long_name = "C   " ;
		FLNTC:cell_methods = "time: mean ":
	float T(time, lev, ncol) ;
		T:units = "K" ;
		T:long_name = "T" ;
		T:cell_methods = "time: mean";

CESM CLM land moel

1 degree FV grid

dimensions:
	gridcell = 20975 ;
	landunit = 28110 ;
	column = 45689 ;
	pft = 277769 ;
	ocnrof = 17897 ;
	lndrof = 84511 ;
	allrof = 102408 ;
	levgrnd = 15 ;
	levlak = 10 ;
	numrad = 2 ;
	lon = 288 ;
	lat = 192 ;
	lonatm = 288 ;
	latatm = 192 ;
	lonrof = 720 ;
	latrof = 360 ;
	time = UNLIMITED ; // (1 currently)
	hist_interval = 2 ;
	string_length = 8 ;

// global attributes:
		:conventions = "CF-1.0" ;
		:history = "created on 10/29/09 19:38:21" ;
		:source = "Community Land Model CLM3.6" ;
		:hostname = "bluefire" ;
		:username = "mai" ;
		:version = "ccsm4_0_beta31" ;
		:revision_id = "$Id: histFileMod.F90 17503 2009-08-01 15:24:20Z erik $" ;
		:case_title = "UNSET" ;
		:case_id = "b40.1850_ramp.track1.1deg.001" ;
		:Surface_dataset = "surfdata_0.9x1.25_urb3den_simyr1850_c090702.nc" ;
		:Initial_conditions_dataset = "b40.1850.track1.1deg.006.clm2.r.0251-01-01-00000.nc" ;
		:PFT_physiological_constants_dataset = "pft-physiology.c081222" ;
		:RTM_input_dataset = "rdirc.05.061026" ;
		:Time_constant_3Dvars_filename = "./b40.1850_ramp.track1.1deg.001.clm2.h0.1994-01.nc" ;
		:Time_constant_3Dvars = "ZSOI:DZSOI:WATSAT:SUCSAT:BSW:HKSAT" ;

variables:
	float FCTR(time, lat, lon) ;
		FCTR:long_name = "canopy transpiration" ;
		FCTR:units = "watt/m^2" ;
		FCTR:cell_method = "time: mean" ;
		FCTR:_FillValue = 1.e+36f ;
		FCTR:missing_value = 1.e+36f ;
	float SNOWLIQ(time, lat, lon) ;
		SNOWLIQ:long_name = "snow liquid water" ;
		SNOWLIQ:units = "kg/m2" ;
		SNOWLIQ:cell_method = "time: instantaneous" ;
		SNOWLIQ:_FillValue = 1.e+36f ;
		SNOWLIQ:missing_value = 1.e+36f ;
	float TG(time, lat, lon) ;
		TG:long_name = "ground temperature" ;
		TG:units = "K" ;
		TG:cell_method = "time: mean" ;
		TG:_FillValue = 1.e+36f ;
		TG:missing_value = 1.e+36f ;

CESM CICE Model

gx1 grid

dimensions:
	d2 = 2 ;
	ni = 320 ;
	nj = 384 ;
	time = UNLIMITED ; // (1 currently)
	nvertices = 4 ;

// global attributes:
		:title = "b40.1850_ramp.track1.1deg.001" ;
		:contents = "Diagnostic and Prognostic Variables" ;
		:source = "sea ice model: Community Ice Code (CICE)" ;
		:comment = "All years have exactly 365 days" ;
		:comment2 = "File written on model date 19200401" ;
		:comment3 = "seconds elapsed into model date:      0" ;
		:conventions = "CF-1.0" ;
		:history = "This dataset was created on 2009-10-23 at 00:38:29.2" ;

variables:
	float TLON(nj, ni) ;
		TLON:long_name = "T grid center longitude" ;
		TLON:units = "degrees_east" ;
		TLON:missing_value = 1.e+30f ;
		TLON:_FillValue = 1.e+30f ;
		TLON:bounds = "lont_bounds" ;
	float TLAT(nj, ni) ;
		TLAT:long_name = "T grid center latitude" ;
		TLAT:units = "degrees_north" ;
		TLAT:missing_value = 1.e+30f ;
		TLAT:_FillValue = 1.e+30f ;
		TLAT:bounds = "latt_bounds" ;
	float lont_bounds(nj, ni, nvertices) ;
		lont_bounds:long_name = "longitude boundaries of T cells" ;
		lont_bounds:units = "degrees_east" ;
	float latt_bounds(nj, ni, nvertices) ;
		latt_bounds:long_name = "latitude boundaries of T cells" ;
		latt_bounds:units = "degrees_north" ;

	float Tsfc(time, nj, ni) ;
		Tsfc:units = "degC" ;
		Tsfc:long_name = "snow/ice surface temperature" ;
		Tsfc:coordinates = "TLON TLAT time" ;
		Tsfc:cell_measures = "area: tarea" ;
		Tsfc:missing_value = 1.e+30f ;
		Tsfc:_FillValue = 1.e+30f ;
		Tsfc:comment = "averaged with Tf if no ice is present" ;
		Tsfc:cell_methods = "time: mean" ;
		Tsfc:time_rep = "averaged" ;

CESM POP Model

1 deg gx1 grid

dimensions:
	d2 = 2 ;
	time = UNLIMITED ; // (1 currently)
	nchar = 256 ;
	moc_comp = 3 ;
	transport_comp = 5 ;
	transport_reg = 2 ;
	z_t = 60 ;
	z_t_150m = 15 ;
	z_w = 60 ;
	z_w_top = 60 ;
	z_w_bot = 60 ;
	lat_aux_grid = 395 ;
	moc_z = 61 ;
	nlon = 320 ;
	nlat = 384 ;
// global attributes:
		:title = "b40.1850_ramp.track1.1deg.001" ;
		:history = "none" ;
		:conventions = "CF-1.0; http://www.cgd.ucar.edu/cms/eaton/netcdf/CF-current.htm" ;
		:contents = "Diagnostic and Prognostic Variables" ;
		:source = "CCSM POP2, the CCSM Ocean Component" ;
		:revision = "$Id: tavg.F90 18726 2009-10-02 19:44:59Z njn01 $" ;
		:calendar = "All years have exactly  365 days." ;
		:start_time = "This dataset was created on 2009-10-28 at 16:12:41.1" ;
		:cell_methods = "cell_methods = time: mean ==> the variable values are averaged over the time interval between the previous time coordinate and the current one. 
                                            cell_methods  absent  ==> the variable values are at the time given by the current time coordinate." ;
		:nsteps_total = 1199125 ;
		:tavg_sum = 2678400. ;
		:tavg_sum_qflux = 2678400. ;

variables:
         (the vertical levels)
	float z_t(z_t) ;
		z_t:long_name = "depth from surface to midpoint of layer" ;
		z_t:units = "centimeters" ;
		z_t:positive = "down" ;
		z_t:valid_min = 500.f ;
		z_t:valid_max = 537500.f ;
	float z_w(z_w) ;
		z_w:long_name = "depth from surface to top of layer" ;
		z_w:units = "centimeters" ;
		z_w:positive = "down" ;
		z_w:valid_min = 0.f ;
		z_w:valid_max = 525000.9f ;
	float dz(z_t) ;
		dz:long_name = "thickness of layer k" ;
		dz:units = "centimeters" ;
		dz:missing_value = 9.96921e+36f ;
	float dzw(z_w) ;
		dzw:long_name = "midpoint of k to midpoint of k+1" ;
		dzw:units = "centimeters" ;
		dzw:missing_value = 9.96921e+36f ;

         (horizontal coordinate variables since this is not a rectangular grid)

	double ULONG(nlat, nlon) ;
		ULONG:long_name = "array of u-grid longitudes" ;
		ULONG:units = "degrees_east" ;
	double ULAT(nlat, nlon) ;
		ULAT:long_name = "array of u-grid latitudes" ;
		ULAT:units = "degrees_north" ;
	double TLONG(nlat, nlon) ;
		TLONG:long_name = "array of t-grid longitudes" ;
		TLONG:units = "degrees_east" ;
	double TLAT(nlat, nlon) ;
		TLAT:long_name = "array of t-grid latitudes" ;
		TLAT:units = "degrees_north" ;
	double UAREA(nlat, nlon) ;
		UAREA:long_name = "area of U cells" ;
		UAREA:units = "centimeter^2" ;
		UAREA:coordinates = "ULONG ULAT" ;
		UAREA:missing_value = 9.96920996838687e+36 ;
	double TAREA(nlat, nlon) ;
		TAREA:long_name = "area of T cells" ;
		TAREA:units = "centimeter^2" ;
		TAREA:coordinates = "TLONG TLAT" ;
		TAREA:missing_value = 9.96920996838687e+36 ;
	double DXU(nlat, nlon) ;
		DXU:long_name = "x-spacing centered at U points" ;
		DXU:units = "centimeters" ;
		DXU:coordinates = "ULONG ULAT" ;
		DXU:missing_value = 9.96920996838687e+36 ;
	double DYU(nlat, nlon) ;
		DYU:long_name = "y-spacing centered at U points" ;
		DYU:units = "centimeters" ;
		DYU:coordinates = "ULONG ULAT" ;
		DYU:missing_value = 9.96920996838687e+36 ;
	double DXT(nlat, nlon) ;
		DXT:long_name = "x-spacing centered at T points" ;
		DXT:units = "centimeters" ;
		DXT:coordinates = "TLONG TLAT" ;
		DXT:missing_value = 9.96920996838687e+36 ;
	double DYT(nlat, nlon) ;
		DYT:long_name = "y-spacing centered at T points" ;
		DYT:units = "centimeters" ;
		DYT:coordinates = "TLONG TLAT" ;
		DYT:missing_value = 9.96920996838687e+36 ;
	double HTN(nlat, nlon) ;
		HTN:long_name = "cell widths on North sides of T cell" ;
		HTN:units = "centimeters" ;
		HTN:coordinates = "TLONG TLAT" ;
		HTN:missing_value = 9.96920996838687e+36 ;
	double HTE(nlat, nlon) ;
		HTE:long_name = "cell widths on East sides of T cell" ;
		HTE:units = "centimeters" ;
		HTE:coordinates = "TLONG TLAT" ;
		HTE:missing_value = 9.96920996838687e+36 ;
	double HUS(nlat, nlon) ;
		HUS:long_name = "cell widths on South sides of U cell" ;
		HUS:units = "centimeters" ;
		HUS:coordinates = "ULONG ULAT" ;
		HUS:missing_value = 9.96920996838687e+36 ;
	double HUW(nlat, nlon) ;
		HUW:long_name = "cell widths on West sides of U cell" ;
		HUW:units = "centimeters" ;
		HUW:coordinates = "ULONG ULAT" ;
		HUW:missing_value = 9.96920996838687e+36 ;
	double ANGLE(nlat, nlon) ;
		ANGLE:long_name = "angle grid makes with latitude line" ;
		ANGLE:units = "radians" ;
		ANGLE:coordinates = "ULONG ULAT" ;
		ANGLE:missing_value = 9.96920996838687e+36 ;
	double ANGLET(nlat, nlon) ;
		ANGLET:long_name = "angle grid makes with latitude line on T grid" ;
		ANGLET:units = "radians" ;
		ANGLET:coordinates = "TLONG TLAT" ;
		ANGLET:missing_value = 9.96920996838687e+36 ;
       
         (model variables)
	float VVEL(time, z_t, nlat, nlon) ;
		VVEL:long_name = "Velocity in grid-y direction" ;
		VVEL:units = "centimeter/s" ;
		VVEL:coordinates = "ULONG ULAT z_t time" ;
		VVEL:grid_loc = "3221" ;
		VVEL:cell_methods = "time: mean" ;
		VVEL:_FillValue = 9.96921e+36f ;
		VVEL:missing_value = 9.96921e+36f ;
	float SSH(time, nlat, nlon) ;
		SSH:long_name = "Sea Surface Height" ;
		SSH:units = "centimeter" ;
		SSH:coordinates = "TLONG TLAT time" ;
		SSH:grid_loc = "2110" ;
		SSH:cell_methods = "time: mean" ;
		SSH:_FillValue = 9.96921e+36f ;
		SSH:missing_value = 9.96921e+36f ;
	float UISOP(time, z_t, nlat, nlon) ;
		UISOP:long_name = "Bolus Velocity in grid-x direction (diagnostic)" ;
		UISOP:units = "cm/s" ;
		UISOP:coordinates = "ULONG TLAT z_t time" ;
		UISOP:grid_loc = "3211" ;
		UISOP:cell_methods = "time: mean" ;
		UISOP:_FillValue = 9.96921e+36f ;
		UISOP:missing_value = 9.96921e+36f ;
	float PV(time, z_t, nlat, nlon) ;
		PV:long_name = "Potential Vorticity" ;
		PV:units = "1/s" ;
		PV:coordinates = "TLONG TLAT z_t time" ;
		PV:grid_loc = "3111" ;
		PV:cell_methods = "time: mean" ;
		PV:_FillValue = 9.96921e+36f ;
		PV:missing_value = 9.96921e+36f ;