Changeset 5222 for LMDZ6/branches/Amaury_dev/libf/dyn3d
- Timestamp:
- Sep 23, 2024, 4:28:20 PM (4 months ago)
- Location:
- LMDZ6/branches/Amaury_dev/libf/dyn3d
- Files:
-
- 2 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
Note: See TracChangeset
for help on using the changeset viewer.