Changeset 5222 for LMDZ6/branches/Amaury_dev/libf
- Timestamp:
- Sep 23, 2024, 4:28:20 PM (7 weeks ago)
- Location:
- LMDZ6/branches/Amaury_dev/libf
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/dyn3d/lmdz_dynetat0.f90
r5192 r5222 11 11 ! Purpose: Initial state reading. 12 12 !------------------------------------------------------------------------------- 13 USE lmdz_infotrac, ONLY: nqtot, tracers, niso, iqIsoPha, iH2O, isoName 13 USE lmdz_infotrac, ONLY: nqtot, tracers, niso, iqIsoPha, iH2O, isoName, & 14 new2oldH2O, newHNO3, oldHNO3, getKey 14 15 USE lmdz_strings, ONLY: maxlen, msg, strStack, real2str, int2str 15 16 USE netcdf, ONLY: nf90_open, nf90_nowrite, nf90_inq_varid, nf90_close, nf90_get_var, nf90_noerr 16 USE lmdz_readTracFiles, ONLY: new2oldH2O, newHNO3, oldHNO3, getKey17 17 USE control_mod, ONLY: planet_type 18 18 USE lmdz_assert_eq, ONLY: assert_eq … … 123 123 var = "temps" 124 124 IF(nf90_inq_varid(fID, var, vID)/=nf90_noerr) THEN 125 CALL msg(' missing field <temps> ; trying with <Time>', modname)125 CALL msg('Missing field <temps> ; trying with <Time>', modname) 126 126 var = "Time" 127 127 CALL err(nf90_inq_varid(fID, var, vID), "inq", var) … … 155 155 !-------------------------------------------------------------------------------------------------------------------------- 156 156 ELSE IF(nf90_inq_varid(fID, oldVar, vID) == nf90_noerr) THEN !=== TRY WITH ALTERNATE NAME 157 CALL msg(' Tracer <' // TRIM(var) // '> is missing=> initialized to <' // TRIM(oldVar) // '>', modname)157 CALL msg('Missing tracer <' // TRIM(var) // '> => initialized to <' // TRIM(oldVar) // '>', modname) 158 158 CALL err(nf90_get_var(fID, vID, q(:, :, :, iq)), "get", oldVar) 159 159 !-------------------------------------------------------------------------------------------------------------------------- … … 171 171 CALL abort_gcm(TRIM(modname), 'missing isotopic parameters', 1) 172 172 endif 173 CALL msg(' Tracer <' // TRIM(var) // '> is missing=> initialized with a simplified Rayleigh distillation law.', modname)173 CALL msg('Missing tracer <' // TRIM(var) // '> => initialized with a simplified Rayleigh distillation law.', modname) 174 174 q(:, :, :, iq) = q(:, :, :, iqParent) * tnat * (q(:, :, :, iqParent) / 30.e-3)**(alpha_ideal - 1.) 175 175 ELSE 176 CALL msg(' Tracer <' // TRIM(var) // '> is missing=> initialized to its parent isotope concentration.', modname)176 CALL msg('Missing tracer <' // TRIM(var) // '> => initialized to its parent isotope concentration.', modname) 177 177 ! Camille 9 mars 2023: attention!! seuls les tags qui correspondent à 178 178 ! izone=izone_init (définie dans isotrac_mod) sont initialisés comme … … 188 188 !-------------------------------------------------------------------------------------------------------------------------- 189 189 ELSE !=== MISSING: SET TO 0 190 CALL msg(' Tracer <' // TRIM(var) // '> is missing=> initialized to zero', modname)190 CALL msg('Missing tracer <' // TRIM(var) // '> => initialized to zero', modname) 191 191 q(:, :, :, iq) = 0. 192 192 !-------------------------------------------------------------------------------------------------------------------------- -
LMDZ6/branches/Amaury_dev/libf/dyn3d/qminimum.F90
r5186 r5222 3 3 SUBROUTINE qminimum(q, nqtot, deltap) 4 4 5 USE lmdz_infotrac, ONLY: niso, ntiso, iqIsoPha, tracers 5 USE lmdz_infotrac, ONLY: niso, ntiso, iqIsoPha, tracers, addPhase 6 6 USE lmdz_strings, ONLY: strIdx 7 USE lmdz_readTracFiles, ONLY: addPhase8 7 USE lmdz_ssum_scopy, ONLY: ssum 9 8 -
LMDZ6/branches/Amaury_dev/libf/dyn3dmem/dynetat0_loc.f90
r5195 r5222 7 7 !------------------------------------------------------------------------------- 8 8 USE parallel_lmdz 9 USE lmdz_infotrac, ONLY: nqtot, tracers, niso, iqIsoPha, iH2O, isoName 9 USE lmdz_infotrac, ONLY: nqtot, tracers, niso, iqIsoPha, iH2O, isoName, & 10 new2oldH2O, newHNO3, oldHNO3, getKey 10 11 USE lmdz_strings, ONLY: maxlen, msg, strStack, real2str, int2str, strIdx 11 12 USE netcdf, ONLY: nf90_open, nf90_nowrite, nf90_inquire_dimension, nf90_inq_varid, & 12 13 nf90_close, nf90_get_var, nf90_inquire_variable, nf90_noerr 13 USE lmdz_readTracFiles, ONLY: new2oldH2O, newHNO3, oldHNO3, getKey14 14 USE control_mod, ONLY: planet_type 15 15 USE lmdz_assert_eq, ONLY: assert_eq … … 124 124 var = "temps" 125 125 IF(nf90_inq_varid(fID, var, vID)/=nf90_noerr) THEN 126 CALL msg(' missing field <temps> ; trying with <Time>', modname)126 CALL msg('Missing field <temps> ; trying with <Time>', modname) 127 127 var = "Time" 128 128 CALL err(nf90_inq_varid(fID, var, vID), "inq", var) … … 175 175 !-------------------------------------------------------------------------------------------------------------------------- 176 176 ELSE IF(nf90_inq_varid(fID, oldVar, vID) == nf90_noerr) THEN !=== TRY WITH ALTERNATE NAME 177 CALL msg(' Tracer <' // TRIM(var) // '> is missing=> initialized to <' // TRIM(oldVar) // '>', modname)177 CALL msg('Missing tracer <'//TRIM(var)//'> => initialized to <' // TRIM(oldVar) // '>', modname) 178 178 CALL get_var2(oldVar, q_glo); q(ijb_u:ije_u, :, iq) = q_glo(ijb_u:ije_u, :) 179 179 !-------------------------------------------------------------------------------------------------------------------------- … … 191 191 CALL abort_gcm(TRIM(modname), 'missing isotopic parameters', 1) 192 192 endif 193 CALL msg(' Tracer <' // TRIM(var) // '> is missing=> initialized with a simplified Rayleigh distillation law.', modname)193 CALL msg('Missing tracer <'//TRIM(var)//'> => initialized with a simplified Rayleigh distillation law.', modname) 194 194 q(ijb_u:ije_u, :, iq) = q(ijb_u:ije_u, :, iqParent) * tnat * (q(ijb_u:ije_u, :, iqParent) / 30.e-3)**(alpha_ideal - 1.) 195 195 ! Camille 9 mars 2023: point de vigilence: initialisation incohérente 196 196 ! avec celle de xt_ancien dans la physiq. 197 197 ELSE 198 CALL msg(' Tracer <' // TRIM(var) // '> is missing=> initialized to its parent isotope concentration.', modname)198 CALL msg('Missing tracer <'//TRIM(var)//'> => initialized to its parent isotope concentration.', modname) 199 199 ! Camille 9 mars 2023: attention!! seuls les tags qui correspondent à 200 200 ! izone=izone_init (définie dans isotrac_mod) sont initialisés comme … … 210 210 !-------------------------------------------------------------------------------------------------------------------------- 211 211 ELSE !=== MISSING: SET TO 0 212 CALL msg(' Tracer <' // TRIM(var) // '> is missing=> initialized to zero', modname)212 CALL msg('Missing tracer <'//TRIM(var)//'> => initialized to zero', modname) 213 213 q(ijb_u:ije_u, :, iq) = 0. 214 214 !-------------------------------------------------------------------------------------------------------------------------- -
LMDZ6/branches/Amaury_dev/libf/dyn3dmem/qminimum_loc.f90
r5182 r5222 4 4 USE parallel_lmdz 5 5 USE lmdz_infotrac, ONLY: niso, ntiso, iqIsoPha, tracers, & 6 isoCheck, min_qParent 6 isoCheck, min_qParent, addPhase 7 7 USE lmdz_strings, ONLY: strIdx 8 USE lmdz_readTracFiles, ONLY: addPhase9 8 USE lmdz_iniprint, ONLY: lunout, prt_level 10 9
Note: See TracChangeset
for help on using the changeset viewer.