netcdf J0204.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: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" ;
		depth:standard_name = "depth" ;
	double time(time) ;
		time:long_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" ;
		time:standard_name = "time" ;
	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: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: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:56:04:  Added ancillary_variables, intent attributes for CF compliance.\n",
			"16-Mar-2003 21:00:11:  Modified [lon,lat] to [-67.013244,44.889853]." ;
		: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 = 44.8898530006409 ;
		:longitude = -67.0132443110148 ;
		: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 starts at 00:00:00 UTC on 1 January 4713 BC" ;
		:buffer_type = "accelerometer" ;
		:instrument_number = 0 ;
		:processing = "realtime" ;
		:water_depth = 32. ;
		:mooring_site_id = "J0204" ;
		:mooring_site_desc = "Cobscook Bay" ;
		:breakout_id = 7 ;
		:delta_t = 60 ;
		:magnetic_variation = -18.6 ;
		: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 12:54:42" ;
data:

 lat = 44.8898530006409 ;

 lon = -67.0132443110148 ;

 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.0128436,
  0.009620094,
  0.03730636,
  0.03509166,
  0.02154876,
  0.01026685,
  0.01352449,
  0.003442287,
  0.005225353,
  0.01246883,
  0.03067545,
  0.0103118,
  0.01285148,
  0.008089576,
  0.009563833,
  0.008367795,
  0.01738848,
  0.02049256,
  0.02056832,
  0.04045781,
  0.06738872,
  0.04921104,
  0.03571251,
  0.01327367,
  0.01600368,
  0.004853592,
  0.005058914,
  0.01182255,
  0.003926895,
  0.001681023,
  0.004260795,
  0.004934374,
  0.01029025,
  0.00940102,
  0.02424906,
  0.01360756,
  0.00614315,
  0.01170881,
  0.01391599,
  0.03198782,
  0.01545261,
  0.02255339,
  0.04511543,
  0.03930621,
  0.02243695,
  0.02581672,
  0.02165248,
  0.009546729,
  0.008134341,
  0.008050654,
  0.007209851,
  0.01846243,
  0.02126405,
  0.03173368,
  0.02232488,
  0.004419633,
  0.003085308,
  0.00182518,
  0.01063172,
  0.01895468,
  0.01398451,
  0.02166833,
  0.01331481,
  0.02020004,
  0.01421708,
  0.1060842,
  0.008580706,
  0.05919781,
  0.02144877,
  0.01888062,
  0.01810177,
  0.00931141,
  0.020605,
  0.01760349,
  0.01309655,
  0.004587045,
  0.004761704,
  0.004903406,
  0.01290826,
  0.01937348,
  0.02001877,
  _,
  0.007542595,
  0.04961821,
  0.02116162,
  0.01644013,
  0.02533386,
  0.02463312,
  0.1309684,
  0.03924362,
  0.05057083,
  0.02694226,
  0.03336187,
  0.02409321,
  0.02025447,
  0.02427909,
  0.008724642,
  0.01757525,
  0.01095487,
  0.03403507,
  0.003265696,
  0.004884783,
  0.02013787,
  0.01051011,
  0.01592124,
  0.005065422,
  0.001824681,
  0.0471684,
  0.03728426,
  0.02429899,
  0.01227941,
  0.02028791,
  0.108815,
  0.171207,
  0.1034834,
  0.02847102,
  0.01551365,
  0.02269003,
  0.009523489,
  0.01081533,
  0.006088308,
  0.02310458,
  0.0008938797,
  _,
  _,
  0.01382643,
  _,
  0.008094963,
  0.008023991,
  0.01741767,
  0.001158793,
  0.01062897,
  0.006487306,
  0.02444272,
  0.1141473,
  0.02211261,
  0.02075369,
  0.008096956,
  0.0119283,
  0.007671609,
  0.02322514,
  0.0351487,
  0.01424112,
  0.01766105,
  0.02313723,
  0.01602897,
  0.009846417,
  0.0422786,
  0.02143109,
  0.005271096,
  _,
  _,
  _,
  0.01099076,
  0.01172238,
  0.01700355,
  0.01535123,
  0.02995421,
  0.02050045,
  0.02445009,
  0.01998525,
  0.01523013,
  0.02232088,
  0.03463256,
  0.04786037,
  0.1163813,
  0.01567755,
  0.009898419 ;

 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,
  3,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  3,
  3,
  0,
  3,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  3,
  3,
  3,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0 ;

 dominant_wave_period =
  4.571429,
  1.52381,
  2.285714,
  1.882353,
  4,
  2,
  1.6,
  1.684211,
  2.909091,
  3.2,
  4.571429,
  2.909091,
  4,
  2.133333,
  1.6,
  1.777778,
  2,
  3.555556,
  1.882353,
  1.6,
  1.882353,
  4,
  5.333333,
  2.666667,
  3.555556,
  2.133333,
  1.454545,
  3.2,
  1.684211,
  1.28,
  1.52381,
  1.333333,
  3.555556,
  3.555556,
  4.571429,
  2.909091,
  2,
  2.909091,
  1.684211,
  2.461539,
  1.684211,
  1.882353,
  8,
  1.684211,
  1.684211,
  1.684211,
  4,
  1.52381,
  2.285714,
  3.555556,
  3.2,
  2.666667,
  6.4,
  8,
  6.4,
  2.666667,
  1.882353,
  1.52381,
  4,
  4,
  3.555556,
  4,
  2.666667,
  1.777778,
  2.133333,
  16,
  1.777778,
  10.66667,
  2.461539,
  1.882353,
  1.684211,
  2.666667,
  4.571429,
  4,
  4.571429,
  2.666667,
  1.684211,
  2.461539,
  4.571429,
  6.4,
  5.333333,
  _,
  2.461539,
  10.66667,
  4.571429,
  3.555556,
  1.6,
  4.571429,
  16,
  2.133333,
  2.666667,
  4,
  1.777778,
  1.684211,
  1.6,
  6.4,
  2.909091,
  1.882353,
  3.2,
  8,
  1.777778,
  1.28,
  1.6,
  3.555556,
  5.333333,
  2.461539,
  1.684211,
  2.909091,
  6.4,
  3.2,
  2.909091,
  5.333333,
  2.909091,
  16,
  1.882353,
  1.391304,
  1.52381,
  6.4,
  2.285714,
  4.571429,
  3.2,
  5.333333,
  1.066667,
  _,
  _,
  5.333333,
  _,
  3.555556,
  3.555556,
  5.333333,
  1.230769,
  1.777778,
  3.2,
  3.2,
  16,
  5.333333,
  2.909091,
  2.461539,
  2.133333,
  1.391304,
  4,
  4,
  3.2,
  1.882353,
  2.666667,
  5.333333,
  4,
  6.4,
  4.571429,
  2.666667,
  _,
  _,
  _,
  4.571429,
  1.454545,
  4,
  1.684211,
  1.882353,
  3.555556,
  3.555556,
  4,
  3.555556,
  5.333333,
  2.133333,
  1.52381,
  16,
  4.571429,
  1.684211 ;

 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,
  3,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  3,
  3,
  0,
  3,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  3,
  3,
  3,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0 ;
}
