Skip to content
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cff-version: 1.2.0
message: If you use this software, please cite it using the metadata from this file.
type: software
title: 'pycoupler: dynamic model coupling of LPJmL'
version: 1.6.5
version: 1.7.0
date-released: '2025-09-22'
abstract: An LPJmL-Python interface for operating LPJmL in a Python environment
and coupling it with Python models, programmes or simple programming scripts.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ a Python environment and coupling it with Python models, programmes or simple
programming scripts.
*pycoupler* was written to establish a coupled World-Earth
modeling framework, [copan:LPJmL](https://github.com/pik-copan/pycopanlpjml),
based on [copan:CORE](https://github.com/pik-copan/pycopancore/) and LPJmL.
based on [copan:CORE](https://github.com/pik-copan/pycopancore) and LPJmL.
Coupling with LPJmL is possible on an annual basis, i.e. for each year in which
LPJmL is in coupling mode, the desired inputs must be passed via
*pycoupler*.
Expand Down
21 changes: 16 additions & 5 deletions pycoupler/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,15 @@
read_yaml,
)

from .coupler import LPJmLCoupler
from .coupler import LPJmLCoupler, kill_process_on_port

from .run import run_lpjml, submit_lpjml, check_lpjml
from .run import (
run_lpjml,
submit_lpjml,
check_lpjml,
start_lpjml,
kill_stale_lpjml_processes,
)

from .data import (
LPJmLData,
Expand All @@ -32,15 +38,14 @@
detect_io_type,
)


__all__ = [
"LpjmlConfig",
"CoupledConfig",
"read_config",
"read_yaml",
]

__all__ += [LPJmLCoupler]
__all__ += ["LPJmLCoupler", "kill_process_on_port"]

__all__ += [
"LPJmLData",
Expand All @@ -52,7 +57,13 @@
"get_headersize",
]

__all__ += ["run_lpjml", "submit_lpjml", "check_lpjml"]
__all__ += [
"run_lpjml",
"start_lpjml",
"submit_lpjml",
"check_lpjml",
"kill_stale_lpjml_processes",
] # noqa: E501

__all__ += [
"get_countries",
Expand Down
Loading