Program add_noonpos

The positions at noon or a synoptical time are calculated by traj and added to the NetCDF file.

Configuration file

The options for the execution of add_noonpos can be set in the configuration file add_noonpos.inp:

1)  mls_050115.nc                 ! input file
2)  mls_050115_noonpos_new.nc     ! output file
3)  1           ! interval between synoptical times in days (1->NOONPOS, >1->SYNPOS)
4)  n           ! use ZETA for traj (y->ZETA,n->THETA)
5)  press       ! shortname of level (NONE for time series)
6)  LAT         ! shortname of latitude
7)  LON         ! shortname of longitude 
8)  THETA       ! shortname of theta
9)  ZETA        ! shortname of zeta 
10) xxx         ! shortname of temperature
11) xxx         ! shortname of pressure
12) /private/icg122/ecmwf_isen_0405_new    ! directory with isentropic files
13) ECN        !  prefix of isentopic files
14) /home/icg1/icg112/clams/traj/traj      ! trajectory program
15) THETA_DOT  ! short name of variable containing THETA-DOT information
16) 6          ! data frequency in hours (1,2,3,4,6,8,12,24) 
17) n          ! y/n -> 3d(with theta_dot)/2d(without theta_dot) run 
18) 1800       ! first timestep in seconds
19) 300        ! second timestep in seconds
20) n          ! y/n: delete all files created by traj (pos-files,traj-files,traj.inp,traj.out)
21) outdir     ! directory with temporary files created by traj (pos-files,traj-files)

Remarks:

  1. Name of input NetCDF file
  2. Name of output NetCDF file; it is a copy from input file with the positions at noon or synoptical time added
  3. Interval between synoptical times. If "1" is specified, the positions at noon of each day are written to NOONLAT,NOONLON,NOONTHETA/NOONZETA and NOONTIME. If n>1 is specified, the positions in the middle of each interval are written to SYNLAT,SYNLON,SYNTHETA/SYNZETA and SYNTIME.

  4. Use theta or zeta for trajectory calculation
  5. Shortname of level dimension in input file. If there is no level dimension in input file, specify "NONE".
  6. Shortname of variable containing latitudes.
  7. Shortname of variable containing longitudes.
  8. Shortname of variable containing theta levels. If "n" is specified in line 4, the input file must contain theta information or temperature and pressure.
  9. Shortname of variable containing zeta levels. If "y" is specified in line 4, the input file must contain zeta information or temperature and pressure
  10. Shortname of variable containing temperatures. The temperatures are only read, if there is no variable with theta/zeta levels in input file.
  11. Shortname of variable containing pressure levels. The pressure levels are only read, if there is no variable with theta/zeta levels in input file.
  12. Directory with isentropic files (used by trajectory program)
  13. Prefix of isentropic files (3 characters)
  14. Executable trajectory program

  15. -19. Configuration for trajectory program
  16. If "y" is specified in line 20, all files created by traj (pos-files and traj-files) are deleted. This specification is optional, the default is "n".
  17. The pos-files and traj-files created by traj are written to the directory specified in line 21. If no directory is specified, the files are written to the current working directory.

Input Files

Dimensions:

Coordinate variables:

Variables:

ClamsTools/add_noonpos (last edited 2011-01-14 08:12:41 by NicoleThomas)