Skip to content

Commit f208cb8

Browse files
fix write of inventory init
1 parent b8e4eee commit f208cb8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main/FatesInventoryInitMod.F90

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,10 +1179,10 @@ subroutine write_inventory_type1(currentSite)
11791179
else
11801180
ilon_sign = 'W'
11811181
end if
1182-
1183-
write(pss_name_out,'(A8, I2.2, A1, I5.5, A1)') &
1182+
1183+
write(pss_name_out,'(A8,I2.2,A1,I5.5,A1,A1,I3.3,A1,I5.5,A1,A4)') &
11841184
'pss_out_',ilat_int,'.',ilat_dec,ilat_sign,'_',ilon_int,'.',ilon_dec,ilon_sign,'.txt'
1185-
write(css_name_out,'(A8, I2.2, A1, A1, I3.3, A1)') &
1185+
write(css_name_out,'(A8,I2.2,A1,I5.5,A1,A1,I3.3,A1,I5.5,A1,A4)') &
11861186
'css_out_',ilat_int,'.',ilat_dec,ilat_sign,'_',ilon_int,'.',ilon_dec,ilon_sign,'.txt'
11871187

11881188
pss_file_out = shr_file_getUnit()
@@ -1208,7 +1208,7 @@ subroutine write_inventory_type1(currentSite)
12081208
do while(associated(currentcohort))
12091209
icohort=icohort+1
12101210
write(css_file_out,*) '0000 ',trim(patch_str), &
1211-
currentCohort%dbh,currentCohort%height,currentCohort%pft,currentCohort%n/currentPatch%area
1211+
currentCohort%dbh,-3.0_r8,currentCohort%pft,currentCohort%n/currentPatch%area
12121212

12131213
currentcohort => currentcohort%shorter
12141214
end do

0 commit comments

Comments
 (0)