Once the MCD has been installed on disk it is necessary to compile the mcdgm program if the MCDGM interface is required. The Unix command make can be used. Sample files are provided for two systems ( Makefile.DEC and Makefile.SGI); rename one to Makefile before issuing the command make. It should only be necessary to edit the Makefile to alter the variable LIB_DIR to point to the directory which contains the DRS header files on your system.
As the mcdgm program stands it will only run in its own directory once the mcd/data directory or symbolic link has been set up. It may be more convenient to be able to run it from elsewhere on your system. To do this either create a symbolic link to point to the data directory which you require in the directory above that where the mcdgm executable is run from, e.g.
ln -s /FULL/PATH/NAME/mcd/data ../data
Another solution is to edit the subroutines cospa.f, mount.f and opend.f, replacing ../data/ in all strings with /FULL/PATH/NAME/mcd/data/, where /FULL/PATH/NAME should be replaced with whatever the location of the mcd directory is on your system. Then issue the command make and the executable will operate from anywhere on the system.
The file structure of the two data directories is discussed in the Detailed Design Document for the MCD (Lewis and Collins, 1999b). Tables which show the variables available are reproduced here for convenience: mean data files (me) contain 12 seasonal mean values (corresponding to 12 Solar times of day) for the variables shown in Table 1 and standard deviation data files (sd) contain seasonal standard deviation values of the variables in Table 2.
Mean variable | symbol | units | 2-D or 3-D |
CO2 ice cover | co2ice | kg m-2 | 2-D |
Surface emissivity | emis | none | 2-D |
Surface temperature | tsurf | K | 2-D |
Surface pressure | ps | Pa | 2-D |
Atmospheric temperature | t | K | 3-D |
Zonal (East-West) wind | u | m s-1 | 3-D |
Meridional (North-South) wind | v | m s-1 | 3-D |
Atmospheric density | rho | kg m-3 | 3-D |
Boundary layer eddy kinetic energy | q2 | m2 s-2 | 3-D |
Standard deviation | symbol | units | 2-D or 3-D |
CO2 ice cover | sdco2ice | kg m-2 | 2-D |
Surface emissivity | sdemis | none | 2-D |
Surface temperature | sdtsurf | K | 2-D |
Surface pressure | sdps | Pa | 2-D |
Atmospheric temperature | sdt | K | 3-D |
Zonal (East-West) wind | sdu | m s-1 | 3-D |
Meridional (North-South) wind | sdv | m s-1 | 3-D |
Atmospheric density | sdrho | kg m-3 | 3-D |
Boundary layer eddy kinetic energy | sdq2 | m2 s-2 | 3-D |