Skip to content

Sprint/filedicts/class constructor#942

Merged
pgierz merged 79 commits intosprint/filedicts/mainfrom
sprint/filedicts/class_constructor
May 23, 2023
Merged

Sprint/filedicts/class constructor#942
pgierz merged 79 commits intosprint/filedicts/mainfrom
sprint/filedicts/class_constructor

Conversation

@pgierz
Copy link
Member

@pgierz pgierz commented May 3, 2023

There are far more commits in this PR than I know what to do with.

The last one is important. You can know build a simulation file in a few different ways:

>>> from esm_runscripts import filedicts
>>> paths = {"computer": "/some/nice/location", "exp_tree": "/some/other/nice/location"
>>> name = "My Beautiful File"
>>> sim_file = filedicts.SimulationFile(paths=paths, name=name)

Alternatively, you can just give the config and location in the config:

>>> from esm_runscripts import filedicts
>>> sim_file = filedicts.SimulationFile.from_config(path_to_config, "echam.files.jan_surf")

There is also introduced a DatedSimulationFile, which knows about its date.

There may be some duplication of mini fixes also in #922 (grammar in the comments) which I did not bother to filter out nicely.

pgierz and others added 30 commits August 19, 2022 13:31
…les also to fesom-2.1.yaml in case someone using that ESM-Tools version decides to switch to the refactoring branch, so that not all of them end up in the unknown and start consuming a lot of space as referred in #916
fix raw restart names for the refactoring branch of FESOM
…ng a new component have something to start with
…p script we used in esm_versions to easily transition to version 6 monorepo
nwieters and others added 27 commits May 11, 2023 09:53
…ig yaml file via esm_tools create-new-config.
Co-authored-by: Miguel <63242832+mandresm@users.noreply.github.com>
…ine-file

947 comments for generic maschine file
use admin perl modules for AWICM3
…ction-before-you-continue-for-juwels

Update README.rst for module load ... on juwels.
@pgierz
Copy link
Member Author

pgierz commented May 23, 2023

#approve-changes

@pgierz pgierz merged commit 072bf91 into sprint/filedicts/main May 23, 2023
@pgierz pgierz deleted the sprint/filedicts/class_constructor branch May 23, 2023 07:26
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.

5 participants