netcdf K0104.accelerometer.realtime {
dimensions:
	lat = 1 ;
	lon = 1 ;
	depth = 1 ;
	time = 168 ;
variables:
	double lat(lat) ;
		lat:long_name = "Latitude" ;
		lat:short_name = "lat" ;
		lat:units = "degrees_north" ;
		lat:scale_factor = 1. ;
		lat:add_offset = 0. ;
		lat:_FillValue = -999. ;
		lat:valid_range = -90., 90. ;
		lat:Comment = "Coordinate variable" ;
		lat:epic_code = 500 ;
	double lon(lon) ;
		lon:long_name = "Longitude" ;
		lon:short_name = "lon" ;
		lon:modulo = 360. ;
		lon:units = "degrees_east" ;
		lon:scale_factor = 1. ;
		lon:add_offset = 0. ;
		lon:_FillValue = -999. ;
		lon:valid_range = -180., 180. ;
		lon:epic_code = 502 ;
		lon:Comment = "Coordinate variable" ;
	double depth(depth) ;
		depth:long_name = "Depth" ;
		depth:standard_name = "depth" ;
		depth:short_name = "D" ;
		depth:units = "meters" ;
		depth:positive = "down" ;
		depth:scale_factor = 1. ;
		depth:add_offset = 0. ;
		depth:_FillValue = -999. ;
		depth:valid_range = -10000., 100. ;
		depth:epic_code = 3 ;
		depth:Comment = "Coordinate variable" ;
	double time(time) ;
		time:long_name = "Time" ;
		time:standard_name = "time" ;
		time:short_name = "time" ;
		time:units = "days since -4713-01-01 00:00:00" ;
		time:scale_factor = 1. ;
		time:add_offset = 0. ;
		time:_FillValue = -999. ;
		time:valid_range = 0., 2460000. ;
		time:epic_code = 624 ;
		time:Comment = "Coordinate variable" ;
	float significant_wave_height(time, depth, lat, lon) ;
		significant_wave_height:long_name = "Significant Wave Height" ;
		significant_wave_height:standard_name = "significant_height_of_wind_and_swell_waves" ;
		significant_wave_height:short_name = "SWH" ;
		significant_wave_height:scale_factor = 1.f ;
		significant_wave_height:add_offset = 0.f ;
		significant_wave_height:_FillValue = -999.f ;
		significant_wave_height:units = "m" ;
		significant_wave_height:valid_range = 0.f, 40.f ;
		significant_wave_height:is_dead = 0. ;
		significant_wave_height:sensor_depth = 0. ;
		significant_wave_height:epic_code = 4061 ;
		significant_wave_height:ancillary_variables = "significant_wave_height_qc" ;
	byte significant_wave_height_qc(time, depth, lat, lon) ;
		significant_wave_height_qc:long_name = "Significant Wave Height Quality Control" ;
		significant_wave_height_qc:short_name = "SWHQC" ;
		significant_wave_height_qc:_FillValue = 128s ;
		significant_wave_height_qc:units = "1" ;
		significant_wave_height_qc:valid_range = -127s, 127s ;
		significant_wave_height_qc:flag_values = 0s, 1s, 2s, 3s ;
		significant_wave_height_qc:flag_meanings = "quality_good out_of_range sensor_nonfunctional algorithm_failure_no_infl_pt" ;
		significant_wave_height_qc:intent = "data_quality" ;
		significant_wave_height_qc:standard_name = "significant_wave_height data_quality" ;
	float dominant_wave_period(time, depth, lat, lon) ;
		dominant_wave_period:long_name = "Dominant Wave Period" ;
		dominant_wave_period:standard_name = "period" ;
		dominant_wave_period:short_name = "DWP" ;
		dominant_wave_period:scale_factor = 1.f ;
		dominant_wave_period:add_offset = 0.f ;
		dominant_wave_period:_FillValue = -999.f ;
		dominant_wave_period:units = "s" ;
		dominant_wave_period:valid_range = 0.f, 32.f ;
		dominant_wave_period:is_dead = 0. ;
		dominant_wave_period:sensor_depth = 0. ;
		dominant_wave_period:epic_code = 4063 ;
		dominant_wave_period:ancillary_variables = "dominant_wave_period_qc" ;
	byte dominant_wave_period_qc(time, depth, lat, lon) ;
		dominant_wave_period_qc:long_name = "Dominant Wave Period Quality" ;
		dominant_wave_period_qc:short_name = "DWPQ" ;
		dominant_wave_period_qc:_FillValue = 128s ;
		dominant_wave_period_qc:units = "1" ;
		dominant_wave_period_qc:valid_range = -127s, 127s ;
		dominant_wave_period_qc:flag_values = 0s, 1s, 2s, 3s ;
		dominant_wave_period_qc:flag_meanings = "quality_good out_of_range sensor_nonfunctional algorithm_failure_no_infl_pt" ;
		dominant_wave_period_qc:intent = "data_quality" ;
		dominant_wave_period_qc:standard_name = "dominant_wave_period data_quality" ;

// global attributes:
		:title = "Gulf of Maine Ocean Observing System: Realtime Buoy Observations" ;
		:institution = "Department of Physical Oceanography, School of Marine Sciences, University of Maine" ;
		:institution_url = "http://gyre.umeoce.maine.edu" ;
		:history = "27-Jun-2003 12:57:38:  Added ancillary_variables, intent attributes for CF compliance." ;
		:source = "surface observation" ;
		:references = "http://gyre.umeoce.maine.edu/data/gomoos/buoy/doc/buoy_system_doc/buoy_system/book1.html" ;
		:comment = "processed with MATLAB" ;
		:latitude = 45.2058 ;
		:longitude = -66.0208 ;
		:Conventions = "CF-1.0" ;
		:project = "GOMOOS" ;
		:project_url = "http://gomoos.org" ;
		:contact = "nealp@maine.edu,ljm@umeoce.maine.edu,jevans@umeoce.maine.edu" ;
		:time_zone = "UTC" ;
		:julian_day_convention = "Julian date convention begins at 00:00:00 UTC on 1 January 4713 BC" ;
		:buffer_type = "accelerometer" ;
		:instrument_number = 0 ;
		:processing = "realtime" ;
		:water_depth = 25. ;
		:mooring_site_id = "K0104" ;
		:mooring_site_desc = "St. John" ;
		:breakout_id = 7 ;
		:delta_t = 60 ;
		:magnetic_variation = -19.1 ;
		:last_mysql_update_index = -1 ;
		:starting_julian_day_number = 2452890.00000579 ;
		:starting_julian_day_string = "2003-09-07 00:00:00" ;
		:ending_julian_day_number = 2452896.95833912 ;
		:ending_julian_day_string = "2003-09-13 23:00:00" ;
		:significant_wave_height_algorithm_id = "$Id: calculate_wave_parameters.m,v 1.11 2003/04/09 14:12:40 jevans Exp $" ;
		:dominant_wave_period_algorithm_id = "$Id: calculate_wave_parameters.m,v 1.11 2003/04/09 14:12:40 jevans Exp $" ;
		:algorithm_ids = "Waves_SWH_DWP_1.12:  27-Aug-2003 13:25:30" ;
data:

 lat = 45.2058 ;

 lon = -66.0208 ;

 depth = 0 ;

 time = 2452890, 2452890.04166667, 2452890.08333333, 2452890.125, 
    2452890.16666667, 2452890.20833333, 2452890.25, 2452890.29166667, 
    2452890.33333333, 2452890.375, 2452890.41666667, 2452890.45833333, 
    2452890.5, 2452890.54166667, 2452890.58333333, 2452890.625, 
    2452890.66666667, 2452890.70833333, 2452890.75, 2452890.79166667, 
    2452890.83333333, 2452890.875, 2452890.91666667, 2452890.95833333, 
    2452891, 2452891.04166667, 2452891.08333333, 2452891.125, 
    2452891.16666667, 2452891.20833333, 2452891.25, 2452891.29166667, 
    2452891.33333333, 2452891.375, 2452891.41666667, 2452891.45833333, 
    2452891.5, 2452891.54166667, 2452891.58333333, 2452891.625, 
    2452891.66666667, 2452891.70833333, 2452891.75, 2452891.79166667, 
    2452891.83333333, 2452891.875, 2452891.91666667, 2452891.95833333, 
    2452892, 2452892.04166667, 2452892.08333333, 2452892.125, 
    2452892.16666667, 2452892.20833333, 2452892.25, 2452892.29166667, 
    2452892.33333333, 2452892.375, 2452892.41666667, 2452892.45833333, 
    2452892.5, 2452892.54166667, 2452892.58333333, 2452892.625, 
    2452892.66666667, 2452892.70833333, 2452892.75, 2452892.79166667, 
    2452892.83333333, 2452892.875, 2452892.91666667, 2452892.95833333, 
    2452893, 2452893.04166667, 2452893.08333333, 2452893.125, 
    2452893.16666667, 2452893.20833333, 2452893.25, 2452893.29166667, 
    2452893.33333333, 2452893.375, 2452893.41666667, 2452893.45833333, 
    2452893.5, 2452893.54166667, 2452893.58333333, 2452893.625, 
    2452893.66666667, 2452893.70833333, 2452893.75, 2452893.79166667, 
    2452893.83333333, 2452893.875, 2452893.91666667, 2452893.95833333, 
    2452894, 2452894.04166667, 2452894.08333333, 2452894.125, 
    2452894.16666667, 2452894.20833333, 2452894.25, 2452894.29166667, 
    2452894.33333333, 2452894.375, 2452894.41666667, 2452894.45833333, 
    2452894.5, 2452894.54166667, 2452894.58333333, 2452894.625, 
    2452894.66666667, 2452894.70833333, 2452894.75, 2452894.79166667, 
    2452894.83333333, 2452894.875, 2452894.91666667, 2452894.95833333, 
    2452895, 2452895.04166667, 2452895.08333333, 2452895.125, 
    2452895.16666667, 2452895.20833333, 2452895.25, 2452895.29166667, 
    2452895.33333333, 2452895.375, 2452895.41666667, 2452895.45833333, 
    2452895.5, 2452895.54166667, 2452895.58333333, 2452895.625, 
    2452895.66666667, 2452895.70833333, 2452895.75, 2452895.79166667, 
    2452895.83333333, 2452895.875, 2452895.91666667, 2452895.95833333, 
    2452896, 2452896.04166667, 2452896.08333333, 2452896.125, 
    2452896.16666667, 2452896.20833333, 2452896.25, 2452896.29166667, 
    2452896.33333333, 2452896.375, 2452896.41666667, 2452896.45833333, 
    2452896.5, 2452896.54166667, 2452896.58333333, 2452896.625, 
    2452896.66666667, 2452896.70833333, 2452896.75, 2452896.79166667, 
    2452896.83333333, 2452896.875, 2452896.91666667, 2452896.95833333 ;

 significant_wave_height =
  0.2640572,
  0.2932275,
  0.3606188,
  0.2339096,
  0.3595058,
  0.3314957,
  0.2777557,
  0.2550577,
  0.3098119,
  0.2766461,
  0.3212618,
  0.2959567,
  0.2674037,
  0.2318433,
  0.3008882,
  0.1939896,
  0.2148565,
  0.2645689,
  0.329618,
  0.3382726,
  0.3171669,
  0.3102974,
  0.3023371,
  0.2616045,
  0.1986047,
  0.4512311,
  0.3256868,
  0.1954071,
  0.1798279,
  0.1891306,
  0.1207944,
  0.09662285,
  0.1216988,
  0.1832522,
  0.2322114,
  0.1437496,
  0.3801183,
  0.2719392,
  0.2316592,
  0.2065096,
  0.147418,
  0.1497641,
  0.1759438,
  0.1180273,
  0.1681769,
  0.3074261,
  0.2721606,
  0.2474647,
  0.3087029,
  0.2262709,
  0.2109695,
  0.2679781,
  0.1518111,
  0.07939073,
  0.09705882,
  0.04512756,
  0.03831897,
  0.04038068,
  0.09301879,
  0.1865727,
  0.1008216,
  0.1748967,
  0.1564145,
  0.1479119,
  0.2155612,
  0.125469,
  0.144107,
  0.2268342,
  0.203739,
  0.3109789,
  0.3756315,
  0.2846709,
  0.3099256,
  0.2394902,
  0.2253509,
  0.192041,
  0.1601938,
  0.2681627,
  0.2965356,
  0.3527886,
  0.4348527,
  0.3809627,
  0.3180523,
  0.415702,
  0.577908,
  0.6348604,
  0.6580673,
  0.6571677,
  0.6206526,
  0.7623896,
  0.5665044,
  0.6279408,
  0.857931,
  0.6894926,
  0.8010922,
  0.7916222,
  0.8345951,
  0.8568993,
  0.7632175,
  0.6917748,
  0.570618,
  0.4522096,
  0.3341449,
  0.3182786,
  0.2347147,
  0.2624883,
  0.2696812,
  0.2388991,
  0.2743425,
  0.275045,
  0.2108255,
  0.2780198,
  0.2939876,
  0.2198762,
  0.2270789,
  0.1546588,
  0.2080316,
  0.2193736,
  0.2312506,
  0.2261269,
  0.1976278,
  0.1822104,
  0.179277,
  0.2222596,
  0.1900907,
  0.17042,
  0.0765501,
  0.1517535,
  0.1246649,
  0.1200465,
  0.1246166,
  0.189547,
  0.2394188,
  0.2384771,
  0.3853696,
  0.3547975,
  0.5308011,
  0.4022688,
  0.4646661,
  0.4933697,
  0.4777949,
  0.4962093,
  0.435058,
  0.388974,
  0.4933454,
  0.431657,
  0.4633358,
  0.5290511,
  0.5793121,
  0.5096123,
  0.4264517,
  0.3378215,
  0.2917741,
  0.2837358,
  0.2320071,
  0.2779856,
  0.3194975,
  0.3157593,
  0.3624891,
  0.3954954,
  0.3358891,
  0.3583327,
  0.3238433,
  0.3154434,
  0.3634007,
  0.4297801,
  0.4799967,
  0.3848647 ;

 significant_wave_height_qc =
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0 ;

 dominant_wave_period =
  2.133333,
  2.461539,
  8,
  3.555556,
  8,
  8,
  3.555556,
  4,
  3.555556,
  3.2,
  3.2,
  2.909091,
  2.909091,
  2.909091,
  8,
  5.333333,
  3.2,
  3.555556,
  3.2,
  3.2,
  3.2,
  2.909091,
  2.909091,
  2.666667,
  2.909091,
  10.66667,
  8,
  6.4,
  6.4,
  8,
  6.4,
  5.333333,
  2.909091,
  10.66667,
  10.66667,
  4.571429,
  10.66667,
  10.66667,
  10.66667,
  10.66667,
  2.461539,
  2.461539,
  1.52381,
  1.454545,
  1.684211,
  1.684211,
  3.555556,
  3.2,
  2.909091,
  1.777778,
  1.882353,
  8,
  8,
  3.555556,
  8,
  2.133333,
  4,
  2,
  4.571429,
  8,
  3.555556,
  8,
  6.4,
  3.2,
  4,
  3.2,
  3.555556,
  4,
  3.555556,
  3.2,
  2.461539,
  2.285714,
  2.909091,
  2.666667,
  2.666667,
  2.666667,
  2.666667,
  2.909091,
  3.2,
  4,
  4,
  4,
  4,
  3.555556,
  4,
  4,
  3.2,
  3.555556,
  3.555556,
  4,
  4.571429,
  4.571429,
  4.571429,
  5.333333,
  4.571429,
  4.571429,
  4.571429,
  4.571429,
  4,
  4.571429,
  4.571429,
  5.333333,
  5.333333,
  5.333333,
  5.333333,
  6.4,
  6.4,
  5.333333,
  5.333333,
  5.333333,
  5.333333,
  8,
  8,
  2,
  4.571429,
  2.285714,
  5.333333,
  2.285714,
  2.666667,
  2.285714,
  2.461539,
  2.461539,
  2.133333,
  8,
  8,
  8,
  3.2,
  8,
  5.333333,
  1.882353,
  2.285714,
  2.666667,
  2.285714,
  2,
  8,
  2.133333,
  2.461539,
  2.461539,
  2.909091,
  3.555556,
  3.555556,
  4,
  4,
  4,
  4,
  4,
  3.2,
  3.555556,
  3.555556,
  3.555556,
  4,
  4,
  4.571429,
  4,
  4,
  3.555556,
  3.555556,
  3.2,
  2.461539,
  2.909091,
  2.666667,
  2.666667,
  2.909091,
  2.909091,
  3.555556,
  3.555556,
  4,
  4 ;

 dominant_wave_period_qc =
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0 ;
}
