netcdf EUREC4A/BARBADOS/BCO/Ceilometer/ncfiles/20200205_BCO_CHM140102.nc {
  dimensions:
    time = UNLIMITED;   // (8640 currently)
    range = 1024;
    range_hr = 32;
    layer = 3;
  variables:
    double time(time=8640);
      :units = "seconds since 1904-01-01 00:00:00.000 00:00";
      :long_name = "time UTC";
      :axis = "T";

    float range(range=1024);
      :units = "m";
      :long_name = "distance from lidar";
      :axis = "Z";

    float range_hr(range_hr=32);
      :units = "m";
      :long_name = "high resolution distance from lidar";

    int layer(layer=3);
      :long_name = "layer index";

    float latitude;
      :units = "degrees_north";
      :long_name = "latitude of site";

    float longitude;
      :units = "degrees_east";
      :long_name = "longitude of site";

    float azimuth;
      :units = "degree";
      :long_name = "laser direction of site";

    float zenith;
      :units = "degree";
      :long_name = "laser direction of site";

    float altitude;
      :units = "m";
      :long_name = "altitude of ceilometer\nabove mean sea level";

    float wavelength;
      :units = "nm";
      :long_name = "laser wavelength";

    int life_time(time=8640);
      :units = "h";
      :long_name = "laser life time";

    float range_gate;
      :units = "m";
      :long_name = "length of range gate, binwidth";

    float range_gate_hr;
      :units = "m";
      :long_name = "length of range gate with high resolution, binwidth";

    int average_time(time=8640);
      :units = "ms";
      :long_name = "average time per record";

    int laser_pulses(time=8640);
      :long_name = "number of laser pulses per record (lp)";

    int error_ext(time=8640);
      :long_name = "32 bit service code";

    short temp_int(time=8640);
      :units = "K";
      :long_name = "internal temperature";
      :scale_factor = 0.1; // double

    short temp_ext(time=8640);
      :units = "K";
      :long_name = "external temperature";
      :scale_factor = 0.1; // double

    short temp_det(time=8640);
      :units = "K";
      :long_name = "detector temperature";
      :scale_factor = 0.1; // double

    short temp_lom(time=8640);
      :units = "K";
      :long_name = "laser optic module temperature";
      :scale_factor = 0.1; // double

    byte state_laser(time=8640);
      :units = "percent";
      :long_name = "laser quality index";

    byte state_detector(time=8640);
      :units = "percent";
      :long_name = "quality of detector signal";

    byte state_optics(time=8640);
      :units = "percent";
      :long_name = "transmission of optics";

    float base(time=8640);
      :units = "counts";
      :long_name = "baseline raw signal in photons per shot (b)";

    float stddev(time=8640);
      :units = "counts";
      :long_name = "standard deviation raw signal in photons per shot";

    short p_calc(time=8640);
      :units = "counts";
      :long_name = "calibration pulse in photons per shot";
      :scale_factor = 1.0E-5; // double

    float scaling;
      :long_name = "scaling factor (cs)";

    float beta_raw(time=8640, range=1024);
      :units = "";
      :long_name = "normalized range corrected signal\n((P_raw / lp) - b) / (cs * o(r) * p_calc) * r * r\nwith P_raw = sum(P_raw_hr) * range_gate_hr / range_gate";

    float beta_raw_hr(time=8640, range_hr=32);
      :units = "";
      :long_name = "normalized range corrected signal (high resolution)\n((P_raw_hr / lp) - b) / (cs * o(r) * p_calc) * r * r";

    short nn1(time=8640);
      :long_name = "nn1";

    short nn2(time=8640);
      :long_name = "nn2";

    short nn3(time=8640);
      :long_name = "nn3";

    short pbl(time=8640, layer=3);
      :units = "m";
      :long_name = "aerosol layer in PBL";

    byte pbs(time=8640, layer=3);
      :long_name = "quality score for aerosol layer in PBL";

    byte tcc(time=8640);
      :long_name = "total cloud cover";

    byte bcc(time=8640);
      :long_name = "base cloud cover";

    byte sci(time=8640);
      :long_name = "sky condition index\n(0: nothing, 1: rain, 2: fog, 3: snow,\n4: precipitation or particles on window)";

    short vor(time=8640);
      :units = "m";
      :long_name = "vertical optical range";

    short voe(time=8640);
      :units = "m";
      :long_name = "vertical optical range error";

    short mxd(time=8640);
      :units = "m";
      :long_name = "maximum detection height";

    short cbh(time=8640, layer=3);
      :units = "m";
      :long_name = "cloud base height";

    short cbe(time=8640, layer=3);
      :units = "m";
      :long_name = "cloud base height variation";

    short cdp(time=8640, layer=3);
      :units = "m";
      :long_name = "cloud depth";

    short cde(time=8640, layer=3);
      :units = "m";
      :long_name = "cloud depth variation";

    short cho;
      :units = "m";
      :long_name = "cloud height offset";

  // global attributes:
  :title = "CHM15k Nimbus";
  :source = "CHM140102";
  :device_name = "CHM140102";
  :serlom = "TUB140008";
  :day = 5; // int
  :month = 2; // int
  :year = 2020; // int
  :location = "BCO";
  :institution = "MPIM";
  :wmo_id = 0; // int
  :software_version = "12.12.1 2.13 0.747 0";
  :comment = "";
  :overlap_file = "TUB140008 (2014-11-27 14:40:39)";
}