- Timestamp:
- Sep 3, 2025, 4:34:52 PM (4 months ago)
- Location:
- trunk/LMDZ.COMMON/libf/evolution
- Files:
-
- 2 edited
-
changelog.txt (modified) (1 diff)
-
deftank/lib_launchPEM.sh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/changelog.txt
r3907 r3909 772 772 773 773 == 01/09/2025 == JBC 774 Correction for the update of surface temperature when ice is disappearing: now it is really set as the surface temperature of the nearest bare soil point because we check the lon-lat grid and not the reduced grid 774 Correction for the update of surface temperature when ice is disappearing: now it is really set as the surface temperature of the nearest bare soil point because we check the lon-lat grid and not the reduced grid. 775 776 == 03/09/2025 == JBC 777 Managing automatically the slope variables outputted by XIOS according to 'nslope' to avoid subsequent errors. -
trunk/LMDZ.COMMON/libf/evolution/deftank/lib_launchPEM.sh
r3869 r3909 77 77 78 78 sed -i 's/enabled="\.true\.\">/enabled=".false.">/g' file_def_physics_mars.xml 79 79 80 while IFS= read -r line; do 80 81 case "$line" in … … 87 88 esac 88 89 90 # Handle enabled attribute 89 91 if [[ $line == *'enabled="'* ]]; then 90 92 if $in_diurnalave; then … … 99 101 else 100 102 line=' enabled=".true.">' 103 fi 104 fi 105 fi 106 107 # Detect slope variables 108 if $in_diurnalave_s && [[ $line =~ slope([0-9]+) ]]; then 109 slope_id="${BASH_REMATCH[1]}" 110 if (( 10#$slope_id > ns )); then 111 # Ensure the line is commented 112 if [[ $line != "<!--"* ]]; then 113 line="<!-- $line -->" 114 fi 115 else 116 # Ensure the line is uncommented 117 if [[ $line == "<!--"* ]]; then 118 line="${line#<!-- }" # remove leading <!-- 119 line="${line% -->}" # remove trailing --> 101 120 fi 102 121 fi
Note: See TracChangeset
for help on using the changeset viewer.
