Size: 2856
Comment:
|
Size: 3157
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
#acl ClamsUserGroup:read,write,delete,revert All:read |
|
Line 30: | Line 32: |
gmake prog_name | make prog_name |
Line 34: | Line 36: |
To compile programs in package ''pos'' the package [[dynmod]] must be checked out too. |
|
Line 37: | Line 41: |
In the subdirectory ''source'' the most important programs from the pos-family are | The subdirectory ''source'' contains the following programs: |
Line 39: | Line 43: |
* [[pos_example.f90]]: An easy example how to create the initial positions of APs | * add_flightpath.f90: Add positions of a flightpath to a pos file |
Line 41: | Line 45: |
* [[pos_area.f90]]: 2d or 3d initial positions of APs with equal isentropic areas (+ PV_INIT) | * [[/pos_3d.f90 | pos_3d.f90]]: Different 2d or 3d initial configurations |
Line 43: | Line 47: |
* [[pos_3d.f90]]: Different 2d or 3d initial configurations | * [[/pos_area.f90 | pos_area.f90]]: 2d or 3d initial positions of APs with equal isentropic areas (+ PV_INIT) * [[/pos_chem.f90 | pos_chem.f90]]: modifies chemical fields (O3, HCL etc) in init-files on lower and upper bound |
Line 45: | Line 51: |
* [[pos_dyn.f90]]: This program completes the geometric positions of the APs with their dynamical properties, i.e.~PV, EQLAT, TEMP, PRESS,... | * [[/pos_dyn.f90 | pos_dyn.f90]]: This program completes the geometric positions of the APs with their dynamical properties, i.e.~PV, EQLAT, TEMP, PRESS,... * pos_example.f90: An easy example how to create the initial positions of APs * pos_flightpath.f90: Create pos file with positions along flightpath |
Line 47: | Line 57: |
* [[pos_voronoi.f90]]: Voronoi areas are calculated and added to the pos/init-file | * [[/pos_voronoi.f90 | pos_voronoi.f90]]: Voronoi areas are calculated and added to the pos/init-file |
Line 49: | Line 59: |
* [[pos_chem.f90]]: modifies chemical fields (O3, HCL etc) in init-files on lower and upper bound | |
Line 64: | Line 73: |
To compile programs in package ''pos'' the package [[dynmod]] must be checked out too. | ---- [[/Changes|History of Changes]] |
The package pos
The package pos helps to create an ensemble of n APs. Especially, their initial special positions (described in isentropic coordinates spanned by longitude, latitude and the potential temperature) and their initial times (in Julian seconds) can be created. The geometric properties (positions, Voronoi areas,...) and the dynamical properties (PV, EQLAT, TEMP, PRESS,....) of the APs are derived from the meteorological input files using the pos***-family of the programs.
How to get the source code
The source code of the pos package is under control of the CVS (Concurrent Version System) utility. To get the source code the environment variable CVSROOT must be set to /usr/local/icg/icg1/archive. The command
cvs co -P pos
creates a directory pos in the current working directory and copies the current version of the pos package to this directory.
The directory pos includes the following subdirectories:
data: some data files necessary for initialization with a passive tracer
doc: latex file for documentation
mod: module files
obj: object files
source: source code
templates: templates for the configuration files
Compiling
The programs can be compiled on different platforms with the command
make prog_name
leading to an executable file with same name in the pos directory.
To compile programs in package pos the package dynmod must be checked out too.
Available programs
The subdirectory source contains the following programs:
- add_flightpath.f90: Add positions of a flightpath to a pos file
pos_3d.f90: Different 2d or 3d initial configurations
pos_area.f90: 2d or 3d initial positions of APs with equal isentropic areas (+ PV_INIT)
pos_chem.f90: modifies chemical fields (O3, HCL etc) in init-files on lower and upper bound
pos_dyn.f90: This program completes the geometric positions of the APs with their dynamical properties, i.e.~PV, EQLAT, TEMP, PRESS,...
- pos_example.f90: An easy example how to create the initial positions of APs
- pos_flightpath.f90: Create pos file with positions along flightpath
pos_voronoi.f90: Voronoi areas are calculated and added to the pos/init-file
Output Files
Each pos_* program creates an output file in NetCDF data format. It is named:
pos_xxx_yymmddhh.nc
xxx : prefix, 1-3 characters
yymmddhh : year, month, day, hour
e. g.: pos_ABC_99022812.nc
In this file the starting positions of the trajectories (longitudes, latitudes and theta) are stored on the variables LAT, LON and THETA. The corresponding starting times are saved on the variable TIME_INIT. Furthermore, the variables PV_INIT, EQLAT, TEMP, PRESS, TND (density) and VORONOI_AREA can be created.