WOCE Tools and Utility Page
Barry Schwartz wrote a program that generates Fortran code for reading a netCDF file. It opens a specified netCDF file and generates the necessary Fortran code to declare the corresponding Fortran dimensions and variables and reads all the data into Fortran variables. To see a copy of the program click on the link below.
Fortran Code to read NetCDF
Nathan Bindoff wrote the following sample of Matlab read code to access WOCE-MET's netCDF formatted files. The code can be modified to read any version 200 NetCDF file in our ship and buoy archive.
Matlab code to read NetCDF
Nathan Bindoff gives an introduction on how to read and understand NetCDF files. He wrote sample codes for Matlab, IDL, and FORTRAN, which can be modified to read any version "woce" NetCDF file in our ship and buoy archive. Links to other useful sites about NetCDF files are included in the NetCDF Primer.
The INVTIME procedures convert the minute timestamp from ship data provided by WOCE-MET back into a standard year/month/day/hour/minute time. They are available in C , FORTRAN, and IDL source.
The CONVTIME procedures convert a standard year/month/day/hour/minute time into the minute timestamp from ship data provided by WOCE-MET. They are available in C , FORTRAN, and IDL source.
The TRUEWIND procedures compute meteorological true winds (direction from which the wind is blowing, relative to true north; and the speed relative to the fixed earth). They are available in C, FORTRAN, and IDL source.