NOAA-OWP / LGAR-C

Lumped Arid/Semi-arid Model (LASAM) simulates infiltration and surface runoff (two important components of the hydrologic cycle) based on Layered Green-Ampt with redistribution (LGAR) model
Other
1 stars 4 forks source link

Runtime error with ngen multi_bmi_lasam_sft_smp #3

Closed madMatchstick closed 1 year ago

madMatchstick commented 1 year ago
lasam % ../cmake_build/ngen data/catchment_data.geojson cat-27 data/nexus_data.geojson nex-26 extern/LGAR-C/configs/realization_config_lasam_sft.json

After initialization, seeing the following error at runtime,

libc++abi: terminating with uncaught exception of type realization::ConfigurationException: Multi BMI formulation cannot be created from config: cannot find available data provider to satisfy set of deferred provisions for nested module at index 1: {Qb_topmodel}
zsh: abort      ../cmake_build/ngen data/catchment_data.geojson cat-27 data/nexus_data.geojso

@ajkhattak - can you confirm that the multi_bmi_lasam_sft_smp realization is correct? Specifically the sloth section here? Thanks!

ajkhattak commented 1 year ago

oh yeah, I think this file is outdated due to some recent changes in SoilMoistureProfiles. We will update it when testing LASAM coupling with SFT.

ajkhattak commented 1 year ago

@madMatchstick this has been fixed. Can you please re-run it to check it works for you this time?