The netCDF format can be used in various ways. As data set it can be seen and used as the carrier of bulk information often with a time component. Within Deltares netCDF's are used to store single data sets as well as time series of data set in scalars format as well as raster format. In a lot of cases netCDF files are handled as an archive of data, so the format does not really matter. But in case of viewing purposes there are some tips and tricks to be followed to be able to use netCDF's instantly. This wiki page describes the format that is preferably applied so that the data in the netCDF can be used in multiple ways.
Geoserver and netCDF's
The main reason to use GeoServer as platform between data and visualization is to create WebServices from netCDF's, to style data and to enable the time variable so that the data in a netCDF can be animated in a Web interface. GeoServer can not handle netCDF files out of the box. You need to install an extension for GeoServer. These extensions can be found at the website of boundlessgeo (bear in mind that the extensions depend on the version of GeoServer that is used).
The GeoServer netCDF plugin documentation has some notes on supported netCDF's. It is quite clear that only netCDF's are supported with the following dimensions:
where dimensions between () are optional. The variables should have at least dimension lat, lon. If time and z are dimensions, the order is time, z, lat, lon.
The number of variables can vary from 1 to many as long as the dimensions are kept the same. This has implications in a lot of cases, especially where coordinates are not in lat/lon (WGS84) but in projections systems.
The picture below is a working example with time enable animation for several variables.
Metadata is always very important. The easiest way to get full metadata is in your script is using the template that netCDF kickstarter is providing you. In general, metadata definitions should be tested against standards. Available standards are the ISO 19115, 19115-2 and 19119, which can be tested with ncISO software. In the geophysics sector, variables should also comply to the CF standards. Especially for time series, a user could benefit from a the use of an unlimited time dimension.