mpas_tools.mesh.creation.jigsaw_driver.build_jigsaw

mpas_tools.mesh.creation.jigsaw_driver.build_jigsaw(logger=None, clone=False, subdir='jigsaw-python', hash=None)[source]

Build the JIGSAW and JIGSAW-Python tools using conda-forge compilers

Parameters:
  • logger (logging.Logger, optional) – A logger for the output if not stdout

  • clone (bool, optional) – If True, clone the jigsaw-python repository from github and build it. If False, just build the existing repository.

  • subdir (str, optional) – The subdirectory where the jigsaw-python repository is located or will be cloned. Default is ‘jigsaw-python’.

  • hash (str, optional) – A git hash to checkout after cloning the repository. Ignored if clone is False. If None and clone is True, the latest version will be used.