OPEN3()
and
GETEFILE()
(etc.), instead of prompting
the user for file names with the PROMPT*FILE()
routines.
These programs also use a number of the utility and coordinate transformation routines. Along with these programs, a number of I/O API data manipulation programs are also distributed, in the m3tools subdirectory of the release; they are documented here in the I/O API Programmer/User Manual.
These sample programs are:
REAL
variables
LAT
and LON
and
REAL*8
variables LATD
and
LOND
containing latitudes and longitudes at
cell centers for the specified grid and/or its boundary
(the choice of which file (or both) to generate is a user
option).
Uses
MODULE M3UTILIO
MODULE MODGCTP
DSCGRID()
,
GETVAL()
,
as generic for GETDBLE(), GETMENU(), GETNUM(), GETREAL(), GETYN()
GETSTR()
GRID2XY()
M3EXIT()
OPEN3()
XY2XY()
WRITE3()
GRIDDED, BOUNDARY,
or CUSTOM
,
and writes the resulting time series as columns to a
human-readable ASCII REPORT-file.
BOUNDARY
files.
MODULE M3UTILIO
DESC3()
GETEFILE()
GETSTR()
GETVAL()
,
as generic for GETNUM(), GETYN()
M3EXIT()
M3MESG()
NEXTIME()
OPEN3()
RUNSPEC()
MODULE M3UTILIO
MODULE MODGCTP
GETVAL()
,
as generic for GETNUM(), GETYN()
CHECK3()
CURREC()
DESC3()
DSCGRID()
GETSTR()
GRID2INDX()
and INDXMULT()
LASTTIME()
LUSTR()
M3EXIT()
M3MESG()
M3WARN()
NEXTIME()
OPEN3()
PROMPTMFILE()
READ3()
UPCASE()
WRITE3()
MODULE M3UTILIO
MODULE MODATTS3
MODULE MODGCTP
DSCGRID()
ENVGET()
as generic for ENVINT(), ENVREAL()
GETVAL()
as generic for GETYN()
GRID2XY()
M3EXIT()
M3MESG()
OPEN3()
PROMPTFFILE()
SETMTXATT()
WRITE3()
TA
(meters), Temperataure (K)
at the half-levels (i.e., at layer centers).
ZH
(meters), hypsometric-approximation heights
at the half-levels (i.e., at layer centers).
ZF
(meters), heights at the full levels (i.e.,
at layer-tops).
PRESH
, pressures at the half-levels.
PRESF
, pressures at the full levels.
MODULE M3UTILIO
DESC3()
DSCGRID()
GETVAL()
,
as generic for GETDBLE(), GETMENU(), GETNUM(), GETREAL(), GETYN()
GETSTR()
M3EXIT()
M3WARN()
OPEN3()
READ3()
WRATT3()
WRITE3()
DENS
and ZF
used in the calculation. This program also demonstrates OpenMP
parallelism, and how to use command line arguments.
MODULE M3UTILIO
CHECK3()
DESC3()
FILCHK3()
GETNUM()
GRDCHK3()
INIT3()
M3EXIT()
M3MESG()
NEXTIME()
OPEN3()
PROMPTMFILE()
READ3()
SEC2TIME()
TIME2SEC()
WRITE3()
MODMPASFIO
.
MODULE M3UTILIO
MODULE MODNCFIO
MODULE MODMPASFIO
INITMPGRID()
FINDCELL()
FINDVRTX()
SPHEREDIST()
ARC2MPAS()
CREATEMPAS()
DESCMPAS()
READMPAS()
WRITEMPAS()
SHUTMPGRID()
INIT3()
M3MESG()
GETVAL()
,
as generic for GETDBLE(), GETMENU(), GETNUM(), GETREAL(), GETYN()
M3EXIT()
To: Models-3/EDSS I/O API: The Help Pages