repository for the Functionally Assembled Terrestrial Ecosystem Simulator (FATES)
105
stars
92
forks
source link
`assess_inventory_sites` file read fails if extra line at the end of the inventory control file is present #1278
Open
glemieux opened 3 weeks ago
I ran into a run-time failure at the following line that was cause by there being an extra empty line at the end of the inventory control file: https://github.com/NGEET/fates/blob/1be3962933351b94fef134d607ac7d821d884f96/main/FatesInventoryInitMod.F90#L585-L586
This should be improved to avoid crashing the model with more robust file handling.