Norwegian Service Centre for Climate Modelling -> Format Conversion Tools -> CDL-file generated by gribtocdl
 
 

 

     

CDL-file generated by gribtocdl

Below is shown the CDL-file grdh12r.cdl

netcdf Noserc{ 


dimensions:
        record = UNLIMITED ;    // (reference time, forecast time)
        lat = 152 ;
        lon = 188 ;
        level = 15 ;
        hybr = 31 ;
        fh = 1 ;
        fhg = 5 ;
        datetime_len = 21 ;
        nmodels = 1 ;
        ngrids = 2 ;
        nav = 1 ;
        nav_len = 100 ;

variables:

	double	reftime(record) ;	// reference time of the model
		reftime:long_name = "reference time" ;
		reftime:units = "hours since 1992-1-1" ;

	double	valtime(record) ;	// forecast time ("valid" time)
		valtime:long_name = "valid time" ;
		valtime:units = "hours since 1992-1-1" ;

	:record = "reftime, valtime" ;	// "dimension attribute" -- means
					// (reftime, valtime) uniquely
					// determine record

	char	datetime(record, datetime_len) ; // derived from reftime
		datetime:long_name = "reference date and time" ;
		// units YYYY-MM-DD hh:mm:ssZ  (ISO 8601)

	float	valtime_offset(record) ; // derived as valtime-reftime
		valtime_offset:long_name = "hours from reference time" ;
		valtime_offset:units = "hours" ;

       float   level(level) ;
               level:long_name = "level" ;
               level:units = "hectopascals" ;

       float   hybr(hybr) ;
               hybr:long_name = "Hybrid level" ;
               hybr:units = "" ;

       float   fh(fh) ;
               fh:long_name = "fixed height level" ;
               fh:units = "meters" ;

       float   fhg(fhg) ;
               fhg:long_name = "fixed height above ground" ;
               fhg:units = "meters" ;


	// The following lat and lon coordinate variables are redundant,
	// since the navigation variables provide the necessary information.
	// The extra information is included here for human readability.

	float	lat(lat) ;
		lat:long_name = "latitude" ;
		lat:units = "degrees_north" ;

	float	lon(lon) ;
		lon:long_name = "longitude" ;
		lon:units = "degrees_east" ;

	long	model_id(nmodels) ;
		model_id:long_name = "generating process ID number" ;

	// navigation variables all use nav dimension

	char	nav_model(nav, nav_len) ;        // navigation parameterization
		nav_model:long_name = "navigation model name" ;

	int	grid_type_code(nav) ;
		grid_type_code:long_name = "GRIB-1 GDS data representation type" ;

	char	grid_type(nav, nav_len) ;
		grid_type:long_name = "GRIB-1 grid type" ;

	char	grid_name(nav, nav_len) ;
		grid_name:long_name = "grid name" ;

	int	grid_center(nav) ;
		grid_center:long_name = "GRIB-1 originating center ID" ;

	int	grid_number(nav, ngrids) ;
		grid_number:long_name = "GRIB-1 catalogued grid numbers" ;
		grid_number:_FillValue = -9999 ;

	char	i_dim(nav, nav_len) ;
		i_dim:long_name = "longitude dimension name" ;

	char	j_dim(nav, nav_len) ;
		j_dim:long_name = "latitude dimension name" ;

	int	Ni(nav) ;
		Ni:long_name = "number of points along a latitude circle" ;

	int	Nj(nav) ;
		Nj:long_name =	"number of points along a longitude circle" ;

	float	La1(nav) ;
		La1:long_name = "latitude of first grid point" ;
		La1:units = "degrees_north" ;

	float	Lo1(nav) ;
		Lo1:long_name = "longitude of first grid point" ;
		Lo1:units = "degrees_east" ;

	float	La2(nav) ;
		La2:long_name = "latitude of last grid point" ;
		La2:units = "degrees_north" ;

	float	Lo2(nav) ;
		Lo2:long_name = "longitude of last grid point" ;
		Lo2:units = "degrees_east" ;

	float	Di(nav) ;
		Di:long_name = "Longitudinal direction increment" ;
		Di:units = "degrees" ;

	float	Dj(nav) ;
		Dj:long_name = "Latitudinal direction increment" ;
		Dj:units = "degrees" ;

	float	RotAngle(nav) ;
		RotAngle:long_name = "Angle of rotation" ;
		RotAngle:units = "degrees" ;

	float	RotLat(nav) ;
		RotLat:long_name = "Lat of S. pole of rotation" ;
		RotLat:units = "degrees" ;

	float	RotLon(nav) ;
		RotLon:long_name = "Lon of S. pole of rotation" ;
		RotLon:units = "degrees" ;

	byte	ResCompFlag(nav) ;
		ResCompFlag:long_name = "resolution and component flags" ;

	// end of navigation variables
          float  gpt(record,level,lat,lon) ;
                 gpt:long_name = "Geopotential, m2/s2" ;
                 gpt:units = "m2/s2" ;
                 gpt:navigation_var = "nav" ;

          float  gpt_fhg(record,fhg,lat,lon) ;
                 gpt_fhg:long_name = "Geopotential, m2/s2" ;
                 gpt_fhg:units = "m2/s2" ;
                 gpt_fhg:navigation_var = "nav" ;

          float  u(record,level,lat,lon) ;
                 u:long_name = "u-component of wind, m/s" ;
                 u:units = "m/s" ;
                 u:navigation_var = "nav" ;

          float  u_hybr(record,hybr,lat,lon) ;
                 u_hybr:long_name = "u-component of wind, m/s" ;
                 u_hybr:units = "m/s" ;
                 u_hybr:navigation_var = "nav" ;

          float  u_fhg(record,fhg,lat,lon) ;
                 u_fhg:long_name = "u-component of wind, m/s" ;
                 u_fhg:units = "m/s" ;
                 u_fhg:navigation_var = "nav" ;

          float  v(record,level,lat,lon) ;
                 v:long_name = "v-component of wind, m/s" ;
                 v:units = "m/s" ;
                 v:navigation_var = "nav" ;

          float  v_hybr(record,hybr,lat,lon) ;
                 v_hybr:long_name = "v-component of wind, m/s" ;
                 v_hybr:units = "m/s" ;
                 v_hybr:navigation_var = "nav" ;

          float  v_fhg(record,fhg,lat,lon) ;
                 v_fhg:long_name = "v-component of wind, m/s" ;
                 v_fhg:units = "m/s" ;
                 v_fhg:navigation_var = "nav" ;

          float  RH(record,level,lat,lon) ;
                 RH:long_name = "Relative humidity, %" ;
                 RH:units = "percent" ;
                 RH:navigation_var = "nav" ;

          float  RH_fhg(record,fhg,lat,lon) ;
                 RH_fhg:long_name = "Relative humidity, %" ;
                 RH_fhg:units = "percent" ;
                 RH_fhg:navigation_var = "nav" ;

          float  theta(record,level,lat,lon) ;
                 theta:long_name = "Potential temperature, deg. K" ;
                 theta:units = "degK" ;
                 theta:navigation_var = "nav" ;

          float  theta_hybr(record,hybr,lat,lon) ;
                 theta_hybr:long_name = "Potential temperature, deg. K" ;
                 theta_hybr:units = "degK" ;
                 theta_hybr:navigation_var = "nav" ;

          float  omega(record,level,lat,lon) ;
                 omega:long_name = "Pressure Vertical velocity, Pa/s" ;
                 omega:units = "Pa/s" ;
                 omega:navigation_var = "nav" ;

          float  omega_hybr(record,hybr,lat,lon) ;
                 omega_hybr:long_name = "Pressure Vertical velocity, Pa/s" ;
                 omega_hybr:units = "Pa/s" ;
                 omega_hybr:navigation_var = "nav" ;

          float  spec_hum_hybr(record,hybr,lat,lon) ;
                 spec_hum_hybr:long_name = "Specific humidity, kg/kg" ;
                 spec_hum_hybr:units = "kg/kg" ;
                 spec_hum_hybr:navigation_var = "nav" ;

          float  w_hybr(record,hybr,lat,lon) ;
                 w_hybr:long_name = "Geometric Vertical velocity, m/s" ;
                 w_hybr:units = "m/s" ;
                 w_hybr:navigation_var = "nav" ;

          float  cloud_wat_hybr(record,hybr,lat,lon) ;
                 cloud_wat_hybr:long_name = "Cloud water, kg/m2" ;
                 cloud_wat_hybr:units = "kg/m2" ;
                 cloud_wat_hybr:navigation_var = "nav" ;

          float  cloud_wat_sfc(record,lat,lon) ;
                 cloud_wat_sfc:long_name = "Cloud water, kg/m2" ;
                 cloud_wat_sfc:units = "kg/m2" ;
                 cloud_wat_sfc:navigation_var = "nav" ;

          float  P_fh(record,fh,lat,lon) ;
                 P_fh:long_name = "Pressure, Pa" ;
                 P_fh:units = "Pa" ;
                 P_fh:navigation_var = "nav" ;

          float  P_fhg(record,fhg,lat,lon) ;
                 P_fhg:long_name = "Pressure, Pa" ;
                 P_fhg:units = "Pa" ;
                 P_fhg:navigation_var = "nav" ;

          float  PRECIP_fhg(record,fhg,lat,lon) ;
                 PRECIP_fhg:long_name = "Total precipitation, kg/m2" ;
                 PRECIP_fhg:units = "kg/m2" ;
                 PRECIP_fhg:navigation_var = "nav" ;

          float  T_fhg(record,fhg,lat,lon) ;
                 T_fhg:long_name = "Temperature, deg. K" ;
                 T_fhg:units = "degK" ;
                 T_fhg:navigation_var = "nav" ;

          float  T_msl(record,lat,lon) ;
                 T_msl:long_name = "Temperature, deg. K" ;
                 T_msl:units = "degK" ;
                 T_msl:navigation_var = "nav" ;

          float  precip_ls_fhg(record,fhg,lat,lon) ;
                 precip_ls_fhg:long_name = "Large scale precipitation, kg/m2" ;
                 precip_ls_fhg:units = "kg/m2" ;
                 precip_ls_fhg:navigation_var = "nav" ;

          float  precip_cn_fhg(record,fhg,lat,lon) ;
                 precip_cn_fhg:long_name = "Convective precipitation, kg/m2" ;
                 precip_cn_fhg:units = "kg/m2" ;
                 precip_cn_fhg:navigation_var = "nav" ;

          float  N_fhg(record,fhg,lat,lon) ;
                 N_fhg:long_name = "Total cloud cover, %" ;
                 N_fhg:units = "percent" ;
                 N_fhg:navigation_var = "nav" ;

          float  N_sfc(record,lat,lon) ;
                 N_sfc:long_name = "Total cloud cover, %" ;
                 N_sfc:units = "percent" ;
                 N_sfc:navigation_var = "nav" ;

          float  snow_fhg(record,fhg,lat,lon) ;
                 snow_fhg:long_name = "Snow depth, m" ;
                 snow_fhg:units = "m" ;
                 snow_fhg:navigation_var = "nav" ;

          float  srf_rn_msl(record,lat,lon) ;
                 srf_rn_msl:long_name = "Surface roughness, m" ;
                 srf_rn_msl:units = "m" ;
                 srf_rn_msl:navigation_var = "nav" ;

          float  srf_rn_fhg(record,fhg,lat,lon) ;
                 srf_rn_fhg:long_name = "Surface roughness, m" ;
                 srf_rn_fhg:units = "m" ;
                 srf_rn_fhg:navigation_var = "nav" ;

          float  soil_mst_fhg(record,fhg,lat,lon) ;
                 soil_mst_fhg:long_name = "Soil moisture content, kg/m2" ;
                 soil_mst_fhg:units = "kg/m2" ;
                 soil_mst_fhg:navigation_var = "nav" ;

          float  land_mask_fhg(record,fhg,lat,lon) ;
                 land_mask_fhg:long_name = "Land-sea mask (1=land; 0=sea), 1/0" ;
                 land_mask_fhg:units = "bit" ;
                 land_mask_fhg:navigation_var = "nav" ;

          float  ice_conc_msl(record,lat,lon) ;
                 ice_conc_msl:long_name = "Ice concentration (ice=l; no ice=O), 1/0" ;
                 ice_conc_msl:units = "bit" ;
                 ice_conc_msl:navigation_var = "nav" ;


// global attributes
                :history = "created by gribtocdl/dnmi" ; 
                :title = " " ;
                :Conventions = "NUWG" ;
                :version = 0.0 ;

data:

model_id = 67 ;

 // Navigation
 nav_model = "GRIB1" ;
 grid_type_code = 10 ;
 grid_type = "Rotated latitude/longitude" ;
 grid_name = " " ;
 grid_center = 88 ;
 grid_number = 1,2 ;
 i_dim = "lon" ;
 j_dim = "lat" ;
 Ni = 188 ;
 Nj = 152 ;
 La1 = -36.500000 ;
 Lo1 = -46.500000 ;
 La2 = 39.000000 ;
 Lo2 = 47.000000 ;
 Di = 0.500000 ;
 Dj = 0.500000 ;
 RotLat = -25.000000 ;
 RotLon = 0.000000 ;
 RotAngle = 0.000000 ;
 ResCompFlag = 1 ;


 level = 100.0,150.0,200.0,250.0,300.0,400.0,500.0,700.0,
      850.0,925.0,1000.0,10.0,30.0,50.0,70.0 ;
 hybr = 1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,
      9.0,10.0,11.0,12.0,13.0,14.0,15.0,16.0,
      17.0,18.0,19.0,20.0,21.0,22.0,23.0,24.0,
      25.0,26.0,27.0,28.0,29.0,30.0,31.0 ;
 fh = 0.0 ;
 fhg = 0.0,2.0,10.0,999.0,998.0 ;

lon = -46.50,-46.00,-45.50,-45.00,-44.50,-44.00,-43.50,-43.00,
      -42.50,-42.00,-41.50,-41.00,-40.50,-40.00,-39.50,-39.00,
      -38.50,-38.00,-37.50,-37.00,-36.50,-36.00,-35.50,-35.00,
      -34.50,-34.00,-33.50,-33.00,-32.50,-32.00,-31.50,-31.00,
      -30.50,-30.00,-29.50,-29.00,-28.50,-28.00,-27.50,-27.00,
      -26.50,-26.00,-25.50,-25.00,-24.50,-24.00,-23.50,-23.00,
      -22.50,-22.00,-21.50,-21.00,-20.50,-20.00,-19.50,-19.00,
      -18.50,-18.00,-17.50,-17.00,-16.50,-16.00,-15.50,-15.00,
      -14.50,-14.00,-13.50,-13.00,-12.50,-12.00,-11.50,-11.00,
      -10.50,-10.00, -9.50, -9.00, -8.50, -8.00, -7.50, -7.00,
       -6.50, -6.00, -5.50, -5.00, -4.50, -4.00, -3.50, -3.00,
       -2.50, -2.00, -1.50, -1.00, -0.50,  0.00,  0.50,  1.00,
        1.50,  2.00,  2.50,  3.00,  3.50,  4.00,  4.50,  5.00,
        5.50,  6.00,  6.50,  7.00,  7.50,  8.00,  8.50,  9.00,
        9.50, 10.00, 10.50, 11.00, 11.50, 12.00, 12.50, 13.00,
       13.50, 14.00, 14.50, 15.00, 15.50, 16.00, 16.50, 17.00,
       17.50, 18.00, 18.50, 19.00, 19.50, 20.00, 20.50, 21.00,
       21.50, 22.00, 22.50, 23.00, 23.50, 24.00, 24.50, 25.00,
       25.50, 26.00, 26.50, 27.00, 27.50, 28.00, 28.50, 29.00,
       29.50, 30.00, 30.50, 31.00, 31.50, 32.00, 32.50, 33.00,
       33.50, 34.00, 34.50, 35.00, 35.50, 36.00, 36.50, 37.00,
       37.50, 38.00, 38.50, 39.00, 39.50, 40.00, 40.50, 41.00,
       41.50, 42.00, 42.50, 43.00, 43.50, 44.00, 44.50, 45.00,
       45.50, 46.00, 46.50, 47.00 ;

lat = -36.50,-36.00,-35.50,-35.00,-34.50,-34.00,-33.50,-33.00,
      -32.50,-32.00,-31.50,-31.00,-30.50,-30.00,-29.50,-29.00,
      -28.50,-28.00,-27.50,-27.00,-26.50,-26.00,-25.50,-25.00,
      -24.50,-24.00,-23.50,-23.00,-22.50,-22.00,-21.50,-21.00,
      -20.50,-20.00,-19.50,-19.00,-18.50,-18.00,-17.50,-17.00,
      -16.50,-16.00,-15.50,-15.00,-14.50,-14.00,-13.50,-13.00,
      -12.50,-12.00,-11.50,-11.00,-10.50,-10.00, -9.50, -9.00,
       -8.50, -8.00, -7.50, -7.00, -6.50, -6.00, -5.50, -5.00,
       -4.50, -4.00, -3.50, -3.00, -2.50, -2.00, -1.50, -1.00,
       -0.50,  0.00,  0.50,  1.00,  1.50,  2.00,  2.50,  3.00,
        3.50,  4.00,  4.50,  5.00,  5.50,  6.00,  6.50,  7.00,
        7.50,  8.00,  8.50,  9.00,  9.50, 10.00, 10.50, 11.00,
       11.50, 12.00, 12.50, 13.00, 13.50, 14.00, 14.50, 15.00,
       15.50, 16.00, 16.50, 17.00, 17.50, 18.00, 18.50, 19.00,
       19.50, 20.00, 20.50, 21.00, 21.50, 22.00, 22.50, 23.00,
       23.50, 24.00, 24.50, 25.00, 25.50, 26.00, 26.50, 27.00,
       27.50, 28.00, 28.50, 29.00, 29.50, 30.00, 30.50, 31.00,
       31.50, 32.00, 32.50, 33.00, 33.50, 34.00, 34.50, 35.00,
       35.50, 36.00, 36.50, 37.00, 37.50, 38.00, 38.50, 39.00 ;

}

 

Send comments to webmaster