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 = 2452883.00000579 ;
		:starting_julian_day_string = "2003-08-31 00:00:00" ;
		:ending_julian_day_number = 2452889.95833912 ;
		:ending_julian_day_string = "2003-09-06 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 = 2452883, 2452883.04166667, 2452883.08333333, 2452883.125, 
    2452883.16666667, 2452883.20833333, 2452883.25, 2452883.29166667, 
    2452883.33333333, 2452883.375, 2452883.41666667, 2452883.45833333, 
    2452883.5, 2452883.54166667, 2452883.58333333, 2452883.625, 
    2452883.66666667, 2452883.70833333, 2452883.75, 2452883.79166667, 
    2452883.83333333, 2452883.875, 2452883.91666667, 2452883.95833333, 
    2452884, 2452884.04166667, 2452884.08333333, 2452884.125, 
    2452884.16666667, 2452884.20833333, 2452884.25, 2452884.29166667, 
    2452884.33333333, 2452884.375, 2452884.41666667, 2452884.45833333, 
    2452884.5, 2452884.54166667, 2452884.58333333, 2452884.625, 
    2452884.66666667, 2452884.70833333, 2452884.75, 2452884.79166667, 
    2452884.83333333, 2452884.875, 2452884.91666667, 2452884.95833333, 
    2452885, 2452885.04166667, 2452885.08333333, 2452885.125, 
    2452885.16666667, 2452885.20833333, 2452885.25, 2452885.29166667, 
    2452885.33333333, 2452885.375, 2452885.41666667, 2452885.45833333, 
    2452885.5, 2452885.54166667, 2452885.58333333, 2452885.625, 
    2452885.66666667, 2452885.70833333, 2452885.75, 2452885.79166667, 
    2452885.83333333, 2452885.875, 2452885.91666667, 2452885.95833333, 
    2452886, 2452886.04166667, 2452886.08333333, 2452886.125, 
    2452886.16666667, 2452886.20833333, 2452886.25, 2452886.29166667, 
    2452886.33333333, 2452886.375, 2452886.41666667, 2452886.45833333, 
    2452886.5, 2452886.54166667, 2452886.58333333, 2452886.625, 
    2452886.66666667, 2452886.70833333, 2452886.75, 2452886.79166667, 
    2452886.83333333, 2452886.875, 2452886.91666667, 2452886.95833333, 
    2452887, 2452887.04166667, 2452887.08333333, 2452887.125, 
    2452887.16666667, 2452887.20833333, 2452887.25, 2452887.29166667, 
    2452887.33333333, 2452887.375, 2452887.41666667, 2452887.45833333, 
    2452887.5, 2452887.54166667, 2452887.58333333, 2452887.625, 
    2452887.66666667, 2452887.70833333, 2452887.75, 2452887.79166667, 
    2452887.83333333, 2452887.875, 2452887.91666667, 2452887.95833333, 
    2452888, 2452888.04166667, 2452888.08333333, 2452888.125, 
    2452888.16666667, 2452888.20833333, 2452888.25, 2452888.29166667, 
    2452888.33333333, 2452888.375, 2452888.41666667, 2452888.45833333, 
    2452888.5, 2452888.54166667, 2452888.58333333, 2452888.625, 
    2452888.66666667, 2452888.70833333, 2452888.75, 2452888.79166667, 
    2452888.83333333, 2452888.875, 2452888.91666667, 2452888.95833333, 
    2452889, 2452889.04166667, 2452889.08333333, 2452889.125, 
    2452889.16666667, 2452889.20833333, 2452889.25, 2452889.29166667, 
    2452889.33333333, 2452889.375, 2452889.41666667, 2452889.45833333, 
    2452889.5, 2452889.54166667, 2452889.58333333, 2452889.625, 
    2452889.66666667, 2452889.70833333, 2452889.75, 2452889.79166667, 
    2452889.83333333, 2452889.875, 2452889.91666667, 2452889.95833333 ;

 significant_wave_height =
  0.5098994,
  0.4943436,
  0.497701,
  0.5242862,
  0.5602634,
  0.4402504,
  0.4626079,
  0.3627219,
  0.364954,
  0.3092343,
  0.2201887,
  0.1827954,
  0.1735616,
  0.18857,
  0.2361689,
  0.2151202,
  0.3304153,
  0.3616136,
  0.2335707,
  0.2833577,
  0.3658043,
  0.5223954,
  0.6471198,
  0.6402994,
  0.5414432,
  0.627211,
  0.552413,
  0.5701675,
  0.5388583,
  0.5356324,
  0.468634,
  0.4491602,
  0.3246601,
  0.271277,
  0.2660192,
  0.2198236,
  0.2656383,
  0.3530675,
  0.4209335,
  0.4218401,
  0.4380608,
  0.5633831,
  0.4645407,
  0.4617561,
  0.5483649,
  0.6599626,
  0.861842,
  0.6931649,
  0.7958328,
  0.6416915,
  0.7694573,
  0.6633611,
  0.6233846,
  0.5416552,
  0.4900861,
  0.4653846,
  0.367651,
  0.3398025,
  0.3117166,
  0.2819706,
  0.2986372,
  0.2055217,
  0.2422042,
  0.1694991,
  0.1900599,
  0.2045267,
  0.1911541,
  0.2020171,
  0.2773974,
  0.2761991,
  0.2584839,
  0.2226283,
  0.2739051,
  0.1822623,
  0.1659791,
  0.1709893,
  0.1631112,
  0.1374424,
  0.1390426,
  0.1486894,
  0.1318752,
  0.1323044,
  0.09377823,
  0.08059949,
  0.09966211,
  0.1438923,
  0.05896695,
  0.1229964,
  0.07357994,
  0.09723123,
  0.1336089,
  0.1693586,
  0.09433282,
  0.1790224,
  0.1711665,
  0.1433928,
  0.07906087,
  0.06748394,
  0.096555,
  0.1618744,
  0.1785632,
  0.1960897,
  0.1770142,
  0.1817965,
  0.2183571,
  0.2405146,
  0.2560478,
  0.3362399,
  0.2994859,
  0.2244438,
  0.173242,
  0.1949004,
  0.1230188,
  0.1098529,
  0.2305001,
  0.659305,
  0.5195484,
  0.4664836,
  0.364731,
  0.3139151,
  0.6086844,
  0.5982407,
  0.614699,
  0.4988294,
  0.5094465,
  0.5982999,
  0.5344422,
  0.4646483,
  0.4697364,
  0.5080557,
  0.466911,
  0.5713588,
  0.5463831,
  0.553296,
  0.522507,
  0.5368375,
  0.3793251,
  0.4115039,
  0.4533761,
  0.4491029,
  0.4612418,
  0.517019,
  0.4280438,
  0.4396312,
  0.4981031,
  0.4050155,
  0.4110418,
  0.4350529,
  0.339158,
  0.2901445,
  0.3075409,
  0.3253977,
  0.4217889,
  0.4407123,
  0.4050832,
  0.5048665,
  0.6135041,
  0.4226572,
  0.3846648,
  0.3137061,
  0.379597,
  0.3449419,
  0.3896028,
  0.1785662,
  0.1717937,
  0.2436644,
  0.2252944,
  0.3341643 ;

 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 =
  8,
  6.4,
  6.4,
  1.882353,
  6.4,
  5.333333,
  6.4,
  6.4,
  6.4,
  6.4,
  6.4,
  6.4,
  6.4,
  6.4,
  6.4,
  5.333333,
  2.133333,
  5.333333,
  5.333333,
  5.333333,
  3.2,
  4,
  4.571429,
  4.571429,
  4.571429,
  4.571429,
  4,
  4,
  3.555556,
  3.555556,
  3.555556,
  3.555556,
  4,
  4,
  4,
  4,
  3.555556,
  3.2,
  3.2,
  2.909091,
  2.666667,
  2.909091,
  3.2,
  3.555556,
  4,
  4.571429,
  4.571429,
  5.333333,
  4.571429,
  5.333333,
  4.571429,
  4.571429,
  4,
  4,
  3.555556,
  4,
  4.571429,
  4,
  4.571429,
  5.333333,
  5.333333,
  5.333333,
  5.333333,
  5.333333,
  4.571429,
  4.571429,
  4.571429,
  4.571429,
  16,
  5.333333,
  4.571429,
  5.333333,
  5.333333,
  6.4,
  6.4,
  5.333333,
  5.333333,
  4,
  5.333333,
  5.333333,
  8,
  5.333333,
  4.571429,
  4.571429,
  4,
  4.571429,
  4.571429,
  16,
  4,
  2,
  1.777778,
  10.66667,
  1.6,
  16,
  16,
  2.133333,
  2.461539,
  2,
  2.285714,
  2.461539,
  2.285714,
  2.461539,
  2.666667,
  6.4,
  6.4,
  6.4,
  6.4,
  1.882353,
  2.285714,
  6.4,
  2.909091,
  2.909091,
  2.909091,
  2.666667,
  2.666667,
  4,
  4.571429,
  4.571429,
  4.571429,
  5.333333,
  5.333333,
  5.333333,
  4.571429,
  4.571429,
  4.571429,
  4.571429,
  4,
  4,
  3.555556,
  5.333333,
  5.333333,
  5.333333,
  5.333333,
  6.4,
  6.4,
  6.4,
  6.4,
  6.4,
  6.4,
  6.4,
  6.4,
  6.4,
  5.333333,
  5.333333,
  6.4,
  5.333333,
  6.4,
  6.4,
  4,
  6.4,
  3.2,
  6.4,
  8,
  6.4,
  6.4,
  6.4,
  10.66667,
  6.4,
  8,
  8,
  8,
  8,
  8,
  2.285714,
  2.461539,
  2.133333,
  2.133333,
  6.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 ;
}
