imod.formats.idf.open_subdomains#
- imod.formats.idf.open_subdomains(path: str | Path, use_cftime: bool = False, pattern: str | Pattern = None) DataArray [source]#
Combine IDF files of multiple subdomains.
- Parameters:
path (str or Path) – Global path.
use_cftime (bool, optional)
pattern (str, regex pattern, optional) – If no pattern is provided, the function will first try: “{name}_c{species}_{time}_l{layer}_p{subdomain}” and if that fails: “{name}_{time}_l{layer}_p{subdomain}” Following the iMOD5/iMOD-WQ filename conventions.
- Return type:
xarray.DataArray