Source code for pycif.plugins.domains.lmdz.create_domain

from logging import info


[docs] def create_domain(domain, **kwargs): """Creates a grid if needed Args: domain (dictionary): dictionary defining the domain. Returns: Error as LMDZ shouldn't be used with unknown grids """ logfile = kwargs.get("logfile", None) info( "Cannot create a LMDZ grid as LMDZ should be used with " "pre-defined grids only", logfile, ) raise Exception