[524] | 1 | ! |
---|
| 2 | ! $Header$ |
---|
| 3 | ! |
---|
| 4 | PROGRAM create_etat0_limit |
---|
[762] | 5 | USE dimphy |
---|
| 6 | USE comgeomphy |
---|
| 7 | |
---|
[524] | 8 | c |
---|
| 9 | c |
---|
| 10 | c Programme d'appel a etat0, creation des etats initiaux et limit_netcdf |
---|
| 11 | c |
---|
| 12 | c |
---|
| 13 | c interbar = .T . si appel a interpol. barycentrique inter_barxy |
---|
| 14 | c |
---|
| 15 | c extrap = .T . si on fait une extrapolation de donnees , comme pour |
---|
| 16 | c les SST lorsque le fichier ne contient pas uniquement des points |
---|
| 17 | c oceaniques . |
---|
| 18 | c |
---|
| 19 | c oldice = .T. si l'on veut garder les anciennes glaces , obtenues |
---|
| 20 | c par grille_m ( grid_atob ) . |
---|
| 21 | c |
---|
| 22 | c on cree le masque dans etat0 que l'on passe ensuite dans limit pour |
---|
[762] | 23 | c garder les coherences |
---|
[524] | 24 | |
---|
| 25 | LOGICAL interbar, extrap , oldice |
---|
| 26 | PARAMETER ( interbar = .true. , extrap = .FALSE. , oldice=.false.) |
---|
| 27 | #include "dimensions.h" |
---|
| 28 | #include "paramet.h" |
---|
| 29 | #include "indicesol.h" |
---|
[822] | 30 | #include "advtrac.h" |
---|
[960] | 31 | #include "control.h" |
---|
[524] | 32 | REAL :: masque(iip1,jjp1) |
---|
[989] | 33 | ! REAL :: pctsrf(iim*(jjm-1)+2, nbsrf) |
---|
[524] | 34 | |
---|
[822] | 35 | c initialisation traceurs |
---|
| 36 | hadv_flg(:) = 0. |
---|
| 37 | vadv_flg(:) = 0. |
---|
| 38 | conv_flg(:) = 0. |
---|
| 39 | pbl_flg(:) = 0. |
---|
| 40 | tracnam(:) = ' ' |
---|
| 41 | nprath = 1 |
---|
| 42 | nbtrac = 0 |
---|
| 43 | mmt_adj(:,:,:,:) = 1 |
---|
| 44 | |
---|
[960] | 45 | IF (config_inca /= 'none') THEN |
---|
[822] | 46 | #ifdef INCA |
---|
[1016] | 47 | call init_const_lmdz( |
---|
| 48 | $ nbtrac,anneeref,dayref, |
---|
| 49 | $ iphysiq, day_step,nday) |
---|
[822] | 50 | #endif |
---|
[960] | 51 | print *, 'nbtrac =' , nbtrac |
---|
| 52 | END IF |
---|
[822] | 53 | |
---|
[773] | 54 | CALL Init_Phys_lmdz(iim,jjp1,llm,nqmx-2,1,(jjm-1)*iim+2) |
---|
[762] | 55 | call InitComgeomphy |
---|
[773] | 56 | |
---|
[524] | 57 | WRITE(6,*) ' ********************* ' |
---|
| 58 | WRITE(6,*) ' interbar = ',interbar |
---|
[1011] | 59 | CALL etat0_netcdf ( interbar, masque ) |
---|
[524] | 60 | c |
---|
| 61 | WRITE(6,1) |
---|
| 62 | WRITE(6,*) ' ********************* ' |
---|
| 63 | WRITE(6,*) ' *** Limit_netcdf *** ' |
---|
| 64 | WRITE(6,*) ' ********************* ' |
---|
| 65 | WRITE(6,1) |
---|
[762] | 66 | |
---|
| 67 | c |
---|
[989] | 68 | CALL limit_netcdf ( interbar, extrap , oldice, masque) |
---|
[524] | 69 | |
---|
| 70 | 1 FORMAT(//) |
---|
| 71 | |
---|
| 72 | STOP |
---|
| 73 | END |
---|