Instructions for Converting OGCM Data to Conference Format

The data files in the sample data directory were produced using the programs posted here. Please feel free to use any method you desire to convert the data but is important that all data be in netCDF format and on the same grids and in the same units. If your data is already in netCDF format these programs should ease the conversion process. The programs require Ferret, netCDF, and a Fortran compiler.

1. 30N-30S 2-D fields on 1 deg. x 1 deg. grid

There are four files available to facilitate this conversion:


File 1 will allow users who have their data in netCDF format to use Ferret to regrid the data on the 61 x 360 grid and dump the data to unformatted binary files. Files 2-4 will create a netCDF file and load the unformatted data into this netCDF file. The following changes will be needed to suit the inividual user. They are listed by file number:

2. Zonal Sections

There are four files available to facilitate this conversion:


The example files are set up to produce the 10W zonal section. Changes have to be made to Files 1, 2 and 4 will have to be changed by replacing every occurance of 10W with the appropriate longitude to produce the other sections. File 3 will have to have the longitude changed in the grid description. The longitude will have to be converted to degrees east of the prime meridian when updating this file. File 1 will allow users who have their data in netCDF format to use Ferret to regrid the zonal sections and dump the data to unformatted binary files. Files 2-4 will create a netCDF file and load the unformatted data into this netCDF file. The following changes will be needed to suit the inividual user. They are listed by file number:

2. Meridional Sections

There are four files available to facilitate this conversion:


The example files are set up to produce the 0N meridional section. Changes have to be made to Files 1, 2 and 4 will have to be changed by replacing every occurance of 0N with the appropriate latitude to produce the other sections. File 3 will have to have the latitude changed in the grid description. The latitude is entered into File 3 as negative for south. File 1 will allow users who have their data in netCDF format to use Ferret to regrid the meridional sections and dump the data to unformatted binary files. Files 2-4 will create a netCDF file and load the unformatted data into this netCDF file. The following changes will be needed to suit the inividual user. They are listed by file number: