09.07.2015 Views

MARS CLIMATE DATABASE v5.0 USER MANUAL - The Mars ...

MARS CLIMATE DATABASE v5.0 USER MANUAL - The Mars ...

MARS CLIMATE DATABASE v5.0 USER MANUAL - The Mars ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Just as call mcd, heights can work in high resolution (i.e.: using high resolution 32 pixels/degreeMOLA topography and areoid) or low resolution (i.e.: at GCM horizontal grid resolutionof 5.625 × 3.75) mode. At GCM resolution, topography and areoid are read from themountain.nc datafile. At high resolution, the MOLA topography file mola32.nc and sphericalharmonics expansion coefficients (in file mgm1025) are used. All these files are stored in thedata directory of the MCD distribution.12.1 Arguments of heights subroutineA Fortran call to the heights subroutine should be as follows:call heights(dset,xlat,xlon,hireskey,convkey,&zradius,zareoid,zsurface,ier)where input and output arguments are:• dset (character*(*)): Path to the datafiles the routine needs.dset=’ ’) the default path ’MCD_DATA/’ is assumed.If left empty (e.g.:• xlon (real): East planetocentric longitude (in degrees).• xlat (real): North planetocentric latitude (in degrees).• hireskey (integer): Flag to set the resolution (0: GCM resolution, 1: high resolution)• convkey (integer): Switch to indicate which distance is known and used to find the othertwo:convkey=1: zradius is known, compute zareoid and zsurface.convkey=2: zareoid is known, compute zradius and zsurface.convkey=3: zsurface is known, compute zradius and zareoid.• zradius (real): distance to center of planet (m).• zareoid (real): altitude above areoid (m).• zsurface (real): altitude above local surface (m).• ier (integer): Routine status/error code (=0 if all went well, see file heights.F).26

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!