Skip to content

Instantly share code, notes, and snippets.

@lukecampbell
Created June 20, 2016 13:47
Show Gist options
  • Save lukecampbell/c1afcb84da422b700cb28535e7c7aa49 to your computer and use it in GitHub Desktop.
Save lukecampbell/c1afcb84da422b700cb28535e7c7aa49 to your computer and use it in GitHub Desktop.
netcdf sample-station {
dimensions:
time = 10;
variables:
int station_id;
station_id:long_name = "Sample Station";
station_id:cf_role = "timeseries_id";
double time(time);
time:long_name = "Time";
time:standard_name = "time";
time:units = "seconds since 1970-01-01T00:00:00Z";
time:axis = "T";
double lat;
lat:long_name = "Latitude";
lat:standard_name = "latitude";
lat:units = "degrees_north";
lat:axis = "Y";
double lon;
lon:long_name = "Longitude";
lon:standard_name = "longitude";
lon:units = "degrees_east";
lon:axis = "X";
double z;
z:long_name = "Depth";
z:standard_name = "depth";
z:axis = "Z";
z:units = "m";
z:positive = "down";
float temperature(time);
temperature:standard_name = "sea_water_temperature";
temperature:units = "degrees_C";
temperature:coordinates = "time lat lon z";
temperature:platform = "platform";
int platform;
platform:ioos_code = "urn:ioos:station:hrecos:HRWSTPTH" ;
platform:short_name = "titleurn:ioos:station:hrecos:HRWSTPTH" ;
platform:long_name = "descriptionurn:ioos:station:hrecos:HRWSTPTH" ;
double crs;
crs:grid_mapping_name = "latitude_longitude";
crs:epsg_code = "EPSG:4326" ;
crs:semi_major_axis = 6378137.0d ;
crs:inverse_flattening = 298.257223563d ;
// global attributes
:featureType = "timeSeries";
:title = "Sample Station";
:summary = "Just a sample station";
:id = "sample_station";
:naming_authority = "gov.noaa.buoybay";
:history = "File Created 2016-06-20T00:00:00Z";
:source = "fictional";
:process_level = "fictional";
:comment = "Just a sample file";
:acknowledgement = "None";
:license = "Free, but this is just fake data";
:standard_name_vocabulary = "CF Standard Name Table v30";
:keywords = "";
:Conventions = "CF1.6, ACDD-1.3";
data:
station_id = 0 ;
time = 1466426083.27, 1466426084.27, 1466426085.27, 1466426086.27, 1466426087.27, 1466426088.27, 1466426089.27, 1466426090.27, 1466426091.27, 1466426092.27;
lat = 37.751 ;
lon = -76.1448 ;
z = 0 ;
temperature = 3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5, 8, 9, 7, 9, 3, 2, 3, 8, 4 ;
platform = 0 ;
crs = 0 ;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment