Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release for GLM v3.3.3 #13

Open
aufdenkampe opened this issue Nov 25, 2024 · 1 comment
Open

Release for GLM v3.3.3 #13

aufdenkampe opened this issue Nov 25, 2024 · 1 comment

Comments

@aufdenkampe
Copy link

The latest version of glm-py comes bundled with GLM Version 3.3.1a12.

It looks like v3.3.3 is now available at https://github.com/AquaticEcoDynamics/glm-aed/tree/main/binaries.

It would be great to issue a new glm-py release that includes the latest GLM binaries.

Alternately, if the user could easily upgrade the latest GLM binaries, could you provide some guidance on how to do that?

Thanks again for creating this Python wrapper! We're very excited by the capabilities that this unlocks.

@gilesknight
Copy link
Collaborator

Hi @aufdenkampe,

A new release to upgrade the bundled GLM binary is planned but will take a back seat until I've added few more core features in (currently working on a plots module that will be released soon). In the meantime, you can tell glm-py to use a different binary by specifying the glm_path parameter of GLMSim.glm_run:

import glmpy.simulation as sim

files = {
    "glm3.nml": "/path/to/glm3.nml",
    "met.csv": "/path/to/met.csv"
}
glm_sim = sim.GLMSim(input_files=files, api=False, inputs_dir="/inputs")
inputs_dir = glm_sim.prepare_inputs()
glm_sim.glm_run(inputs_dir=inputs_dir, glm_path="/path/to/glm_3_3_3")

You might be the first to try this with v3.3.3 so let me know how it goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants