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

Change outdir and savedir to not use pkgdir #804

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

imreddyTeja
Copy link
Contributor

All uses of pkgdir to specify save or output paths now use generate_output_path.

Purpose

Closes #545

To-do

Content

  • output paths previously determined by pkgdir now use generate_output_path
  • only remaining pkdir calls are used for includes

  • I have read and checked the items on the review checklist.

All uses of pkgdir to specify save or output paths
now use generate_output_path.
@imreddyTeja imreddyTeja marked this pull request as ready for review September 30, 2024 16:54
Copy link
Member

@Sbozzolo Sbozzolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add some docs somewhere about the expected output structure (so that people know where they should look for files)?

It is described here: https://clima.github.io/ClimaUtilities.jl/dev/outputpathgenerator/

We use ActiveLinkStyle

@imreddyTeja imreddyTeja marked this pull request as draft October 1, 2024 21:07
@imreddyTeja imreddyTeja marked this pull request as ready for review October 3, 2024 17:52
experiments/README.md Outdated Show resolved Hide resolved
Comment on lines +39 to +42
the ClimaLand.jl directory. If run from the ClimaLand.jl directory, then the outputs of an experiment will be saved into
the same directory the experiment script is found in. Otherwise the outputs will be saved to
the path of the script relative to the ClimaLand.jl directory.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do they have to be run from the ClimaLand.jl directory?

@Sbozzolo
Copy link
Member

Sbozzolo commented Oct 7, 2024

You also have to update the artifact paths in the buildkite pipelines

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

Successfully merging this pull request may close these issues.

ClimaLand should not use pkgdir for output
2 participants