/[lmdze]/trunk/libf/test_disvert.f90
ViewVC logotype

Annotation of /trunk/libf/test_disvert.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7 - (hide annotations)
Mon Mar 31 12:24:17 2008 UTC (16 years, 3 months ago) by guez
File size: 796 byte(s)
This revision is not in working order. Pending some moving of files.

Important changes. In the program "etat0_lim": ozone coefficients from
Mobidic are regridded in time instead of pressure ; consequences in
"etat0". In the program "gcm", ozone coefficients from Mobidic are
read once per day only for the current day and regridded in pressure ;
consequences in "o3_chem_m", "regr_pr_coefoz", "phytrac" and
"regr_pr_comb_coefoz_m".

NetCDF95 is a library and does not export NetCDF.

New variables "nag_gl_options", "nag_fcalls_options" and
"nag_cross_options" in "nag_tools.mk".

"check_coefoz.jnl" rewritten entirely for new version of
"coefoz_LMDZ.nc".

Target "obj_etat0_lim" moved from "GNUmakefile" to "nag_rules.mk".

Added some "intent" attributes in "calfis", "clmain", "clqh",
"cltrac", "cltracrn", "cvltr", "ini_undefSTD", "moy_undefSTD",
"nflxtr", "phystokenc", "phytrac", "readsulfate", "readsulfate_preind"
and "undefSTD".

In "dynetat0", "dynredem0" and "gcm", "phis" has rank 2 instead of
1. "phis" has assumed shape in "dynredem0".

Added module containing "dynredem0". Changed some calls with NetCDF
Fortran 77 interface to calls with NetCDF95 interface.

Replaced calls to "ssum" by calls to "sum" in "inigeom".

In "make.sh", new option "-c" to change compiler.

In "aaam_bud", argument "rjour" deleted.

In "physiq": renamed some variables; deleted variable "xjour".

In "phytrac": renamed some variables; new argument "lmt_pas".

1 guez 3 program test_disvert
2    
3     use dimens_m, only: llm
4     use comvert, only: pa, disvert, ap, bp, preff
5     use comconst, only: initialize
6 guez 7 use new_unit_m, only: new_unit
7 guez 3
8     implicit none
9    
10     integer unit, l
11     REAL sigma(llm+1) ! "sigma(l)" : à l'interface des couches "l" et "l-1"
12     real p(llm + 1) ! pressure at level, in Pa
13    
14     !---------------------
15    
16     print *, "llm = ", llm
17     call initialize
18     pa = 5e4
19     call disvert
20     sigma = ap / pa + bp
21     p = ap + bp * preff
22    
23     unit = new_unit()
24     open(unit, file="test_disvert.csv", status="replace", action="write")
25     write(unit, fmt=*) '"ap (Pa)" "bp" "sigma" "p (Pa)"' ! title line
26     do l = 1, llm
27     write(unit, fmt=*) ap(l), bp(l), sigma(l), p(l)
28     end do
29     close(unit)
30     print *, 'The file "test_disvert.csv" has been created.'
31    
32     end program test_disvert

  ViewVC Help
Powered by ViewVC 1.1.21