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

Generation of configuration files for ESGF #165

Open
jesusff opened this issue Sep 18, 2024 · 3 comments · May be fixed by #179
Open

Generation of configuration files for ESGF #165

jesusff opened this issue Sep 18, 2024 · 3 comments · May be fixed by #179

Comments

@jesusff
Copy link
Contributor

jesusff commented Sep 18, 2024

In order for ESGF to publish CORDEX-CMIP6 data, we need to provide two configuration files with information which can be built from the CV in this repo:

jesusff added a commit that referenced this issue Sep 19, 2024
@larsbuntemeyer
Copy link
Contributor

Ok, i think this is doable from our collection of meta data in the CV. Will you need some help with this? I see you have already a branch...

@jesusff
Copy link
Contributor Author

jesusff commented Sep 24, 2024

Thank you. I still need to adapt the ini file to all the new CV elements. The script already replaces correctly the required lists and maps using the CV files, so it should work.

@jesusff jesusff linked a pull request Sep 26, 2024 that will close this issue
@jesusff jesusff linked a pull request Sep 26, 2024 that will close this issue
@jesusff
Copy link
Contributor Author

jesusff commented Oct 11, 2024

For the record, @sashakames gave further info on the YAML file:

As far as the publisher goes, there are several items that get configured now in the .yaml file. You can customize the DRS global and constant attributes to be applied.

Attached is some sample.yaml.

And in the documentation: https://esg-publisher.readthedocs.io/en/main/install.html#config-file-esg-yaml

user_project_config:
  cmip6plus:
    CONST_ATTR:
      project: CMIP6Plus
    pid_prefix: '21.14100'
  samplesec:
    CONST_ATTR:
      project: sampleSEC
    DRS:
      - project
      - source_id
      - experiment_id
      - frequency
      - variable_id
  cosmo-rea:
    CONST_ATTR:
      project: COSMO-REA
    DRS:
    - project
    - product
    - domain
    - institute
    - driving_model
    - experiment
    - ensemble
    - rcm_name
    - rcm_version
    - time_frequency
    - realm
    - variable_id

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 a pull request may close this issue.

2 participants