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

Global attributes definition #16

Open
1 of 5 tasks
mandresm opened this issue Jul 2, 2024 · 0 comments · May be fixed by #23
Open
1 of 5 tasks

Global attributes definition #16

mandresm opened this issue Jul 2, 2024 · 0 comments · May be fixed by #23
Assignees
Labels
backend old feature Features of the old SEAMORE Ruby Implementation
Milestone

Comments

@mandresm
Copy link
Contributor

mandresm commented Jul 2, 2024

Attributes

Each cmorization action/project defines some attributes. To see which attributes are required see: https://github.com/FESOM/seamore/blob/7725366f7b68ea3824ac6baa500ea49531722b72/lib/global_attributes.rb#L6-L108

Private methods

Other private methods that are used to generate the global attributes are:

  • indices_hash_from_variant_label: extracts the following indexes from a pattern r<realization_index>i<initialization_index>p<physics_index>f<forcing_index>. For example: r1i1p1f1 would extract realization_index=1, initialization_index=1, physics_index=1, forcing_index=1. This indexes are assigned to different global attributes.
  • creation_date_txt
  • days_in_year
  • create_filename
  • filename_time_range
@mandresm mandresm added old feature Features of the old SEAMORE Ruby Implementation backend labels Jul 2, 2024
@siligam siligam linked a pull request Jul 25, 2024 that will close this issue
@pgierz pgierz linked a pull request Jul 31, 2024 that will close this issue
@pgierz pgierz added this to the Beta Release milestone Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend old feature Features of the old SEAMORE Ruby Implementation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants