netcdf example_1 { // example of CDL notation for a netCDF file dimensions: // dimension names and sizes are declared first lat = 5, lon = 10, level = 4, time = unlimited; variables: // variable types, names, shapes, attributes int lat(lat), lon(lon), level(level); lat:units = "degrees_north"; lat:long_name = "latitude"; lat:standard_name = "latitude"; lat:axis = "Y"; lon:units = "degrees_east"; lon:long_name = "longitude"; lon:standard_name = "longitude"; lon:axis = "X"; level:units = "millibars"; short time(time); time:units = "hours since 1990-11-25 12:00 UTC"; float temp(time,level,lat,lon); temp:long_name = "temperature"; temp:units = "celsius"; float rh(time,lat,lon); rh:long_name = "relative humidity"; rh:valid_range = 0.0, 1.0; // min and max // global attributes :source = "National Weather Service"; // :Conventions = "CF-1.4" ; // Added this, but made no difference data: // optional data assignments level = 1000, 850, 700, 500; lat = 20, 30, 40, 50, 60; lon = -160,-140,-118,-96,-84,-52,-45,-35,-25,-15; time = 12; rh =.5,.2,.4,.2,.3,.2,.4,.5,.6,.7, .1,.3,.1,.1,.1,.1,.5,.7,.8,.8, .1,.2,.2,.2,.2,.5,.7,.8,.9,.9, .1,.2,.3,.3,.3,.3,.7,.8,.9,.9, 0,.1,.2,.4,.4,.4,.4,.7,.9,.9; }