Hi!
I’m running a nested configuration (OCE ICE NST) with an ice-free nest region and consequently run the ice model only on the parent grid (namelist_cfg: nn_ice = 2) and suppress the ice model on the child grid (1_namelist_cfg: nn_ice=0).
Although not required, I also need to specify field_def_nemo-ice.xml in the child-context (1_context_nemo.xml). Otherwise the model fails, already while initialising the partent grid.
It seems to be due to some modifications to reduce memory load, by explicitely only allocating/defining variables if used.
The accoring error message hinting at this is:
In file "object_factory_impl.hpp", function "static std::shared_ptr<U> xios::CObjectFactory::GetObject(const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> &) [with U = xios::CField]", line 78 -> [ id = dvpn_mlt, U = field ] object was not found.
with dvpn_mlt
defined in icethd_pnd.F90 but only if “iom_used”.
While it doesn’t hurt to have this additional line in the context file, it’s counter intuitive and took me quite a while to figure out the reason for the failure.
Fixing this for future releases would be great.
Best regards,
Franziska