[1862] | 1 | !IM Implemente en modes sequentiel et parallele |
---|
[766] | 2 | |
---|
[2399] | 3 | CALL gather(latitude_deg,rlat_glo) |
---|
[1538] | 4 | CALL bcast(rlat_glo) |
---|
[2399] | 5 | CALL gather(longitude_deg,rlon_glo) |
---|
[1538] | 6 | CALL bcast(rlon_glo) |
---|
| 7 | |
---|
[1862] | 8 | !$OMP MASTER |
---|
[1538] | 9 | if (is_mpi_root) then |
---|
[1862] | 10 | ! |
---|
[2344] | 11 | zstophy = pdtphys |
---|
[2454] | 12 | zout = -1 |
---|
[1862] | 13 | ! |
---|
[683] | 14 | idayref = day_ref |
---|
| 15 | CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian) |
---|
[1862] | 16 | ! |
---|
[2344] | 17 | CALL gr_fi_ecrit(1,klon,nbp_lon,nbp_lat,rlon_glo,zx_lon) |
---|
| 18 | if (nbp_lon.gt.1) then |
---|
| 19 | DO i = 1, nbp_lon |
---|
[1538] | 20 | zx_lon(i,1) = rlon_glo(i+1) |
---|
[2344] | 21 | zx_lon(i,nbp_lat) = rlon_glo(i+1) |
---|
[683] | 22 | ENDDO |
---|
[879] | 23 | endif |
---|
[2344] | 24 | CALL gr_fi_ecrit(1,klon,nbp_lon,nbp_lat,rlat_glo,zx_lat) |
---|
[1862] | 25 | ! |
---|
| 26 | CALL histbeg("paramLMDZ_phy.nc", & |
---|
| 27 | np,zx_lon(np:np,1), np,zx_lat(1,np:np), & |
---|
| 28 | 1,1,1,1, & |
---|
| 29 | itau_phy, zjulian, dtime, & |
---|
| 30 | nhori, nid_ctesGCM) |
---|
| 31 | ! |
---|
| 32 | CALL histdef(nid_ctesGCM, "R_ecc", & |
---|
| 33 | "Excentricite","-", & |
---|
| 34 | 1,1,nhori, 1,1,1, -99, 32, & |
---|
[2454] | 35 | "ave(X)", zstophy,zout) |
---|
[1862] | 36 | ! |
---|
| 37 | CALL histdef(nid_ctesGCM, "R_peri", & |
---|
| 38 | "Equinoxe","-", & |
---|
| 39 | 1,1,nhori, 1,1,1, -99, 32, & |
---|
[2454] | 40 | "ave(X)", zstophy,zout) |
---|
[1862] | 41 | ! |
---|
| 42 | CALL histdef(nid_ctesGCM, "R_incl", & |
---|
| 43 | "Inclinaison","deg", & |
---|
| 44 | 1,1,nhori, 1,1,1, -99, 32, & |
---|
[2454] | 45 | "ave(X)", zstophy,zout) |
---|
[1862] | 46 | ! |
---|
| 47 | CALL histdef(nid_ctesGCM, "solaire", & |
---|
| 48 | "Constante solaire","W/m2", & |
---|
| 49 | 1,1,nhori, 1,1,1, -99, 32, & |
---|
[2454] | 50 | "ave(X)", zstophy,zout) |
---|
[1862] | 51 | ! |
---|
| 52 | CALL histdef(nid_ctesGCM, "co2_ppm", & |
---|
| 53 | "Concentration du CO2", "ppm", & |
---|
| 54 | 1,1,nhori, 1,1,1, -99, 32, & |
---|
| 55 | "ave(X)", zstophy,zout) |
---|
| 56 | ! |
---|
| 57 | CALL histdef(nid_ctesGCM, "CH4_ppb", & |
---|
| 58 | "Concentration du CH4", "ppb", & |
---|
| 59 | 1,1,nhori, 1,1,1, -99, 32, & |
---|
| 60 | "ave(X)", zstophy,zout) |
---|
| 61 | ! |
---|
| 62 | CALL histdef(nid_ctesGCM, "N2O_ppb", & |
---|
| 63 | "Concentration du N2O", "ppb", & |
---|
| 64 | 1,1,nhori, 1,1,1, -99, 32, & |
---|
| 65 | "ave(X)", zstophy,zout) |
---|
| 66 | ! |
---|
| 67 | CALL histdef(nid_ctesGCM, "CFC11_ppt", & |
---|
| 68 | "Concentration du CFC11", "ppt", & |
---|
| 69 | 1,1,nhori, 1,1,1, -99, 32, & |
---|
| 70 | "ave(X)", zstophy,zout) |
---|
| 71 | ! |
---|
| 72 | CALL histdef(nid_ctesGCM, "CFC12_ppt", & |
---|
| 73 | "Concentration du CFC12", "ppt", & |
---|
| 74 | 1,1,nhori, 1,1,1, -99, 32, & |
---|
| 75 | "ave(X)", zstophy,zout) |
---|
| 76 | ! |
---|
| 77 | !================================================================= |
---|
| 78 | ! |
---|
[683] | 79 | CALL histend(nid_ctesGCM) |
---|
[766] | 80 | |
---|
[1538] | 81 | endif !(is_mpi_root) |
---|
[1862] | 82 | !$OMP END MASTER |
---|
| 83 | !================================================================= |
---|