The NC2KML tool is a Java library, developed by SOCIB, to generate a KML file from a NetCDF file with trajectory data.
The realese folder contains the NC2KML.jar and the lib folder contains the libraries needed. The test folder contains an example to use the NC2KML.jar.
More information at the NC2KML wiki https://github.com/socib/NC2KML/wiki