-
Notifications
You must be signed in to change notification settings - Fork 38
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
Make DRS path templates configurable per rootpath #1894
Changes from 5 commits
86acb34
f86446b
4d5c95f
e5cba85
92c5fd3
453a8c6
37ddce2
c5ac571
a88eaea
e7d59d0
d5150d4
bfdd2e4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,13 +107,24 @@ drs: | |
CORDEX: ESGF | ||
obs4MIPs: ESGF | ||
|
||
# Example rootpaths and directory structure that showcases the different | ||
# projects and also the use of lists | ||
# Example rootpaths and directory structure names for different projects. | ||
# For each project, the entry can be a single path, a list of paths, or a | ||
# mapping from paths to directory structure names. | ||
# For single paths and list of paths, the directory structure names can be | ||
# defined under 'drs'. | ||
# If no path is defined for a project, the tool will look in the 'default' path. | ||
# If no directory structure name is given, the name 'default' will be used. | ||
# Directory structures corresponding to the names are defined in the file | ||
# config-developer.yml. | ||
# For site-specific entries, see below. | ||
#rootpath: | ||
# CMIP3: [~/cmip3_inputpath1, ~/cmip3_inputpath2] | ||
# CMIP5: [~/cmip5_inputpath1, ~/cmip5_inputpath2] | ||
# CMIP6: [~/cmip6_inputpath1, ~/cmip6_inputpath2] | ||
# CMIP6: | ||
# /path/to/data: DKRZ | ||
# ~/path/to/more/data: ESGF | ||
# CMIP5: | ||
# - ~/cmip5_inputpath1 | ||
# - ~/cmip5_inputpath2 | ||
# CMIP3: ~/cmip6_inputpath | ||
# OBS: ~/obs_inputpath | ||
# OBS6: ~/obs6_inputpath | ||
# obs4MIPs: ~/obs4mips_inputpath | ||
|
@@ -122,11 +133,10 @@ drs: | |
# RAWOBS: ~/rawobs_inputpath | ||
# default: ~/default_inputpath | ||
#drs: | ||
# CMIP3: default | ||
# CMIP5: default | ||
# CMIP6: default | ||
# CORDEX: default | ||
# obs4MIPs: default | ||
# CMIP3: ESGF | ||
# CMIP5: ESGF | ||
# CORDEX: ESGF | ||
# obs4MIPs: ESGF | ||
|
||
# Directory tree created by automatically downloading from ESGF | ||
# Uncomment the lines below to locate data that has been automatically | ||
|
@@ -173,22 +183,27 @@ drs: | |
# Uncomment the lines below to locate data on Levante at DKRZ. | ||
#auxiliary_data_dir: /work/bd0854/DATA/ESMValTool2/AUX | ||
#rootpath: | ||
# CMIP6: /work/bd0854/DATA/ESMValTool2/CMIP6_DKRZ | ||
# CMIP5: /work/bd0854/DATA/ESMValTool2/CMIP5_DKRZ | ||
# CMIP3: /work/bd0854/DATA/ESMValTool2/CMIP3 | ||
# CORDEX: /work/ik1017/C3SCORDEX/data/c3s-cordex/output | ||
# CMIP6: | ||
# /work/bd0854/DATA/ESMValTool2/CMIP6_DKRZ: DKRZ | ||
# /work/bd0854/DATA/ESMValTool2/download: ESGF | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK let's try work with this - leaving aside my rather negative comments above for now, can we at least make this a reverse key-val instance, so maybe it's a bit more user-firndly? eg: CMIP6:
- DKRZ: /work/bd0854/DATA/ESMValTool2/CMIP6_DKRZ
- ESGF: /work/bd0854/DATA/ESMValTool2/download There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is it more user-friendly to reverse the key and values? Do you mean to use a list or a dict? This example doesn't look like valid yaml. |
||
# CMIP5: | ||
# /work/bd0854/DATA/ESMValTool2/CMIP5_DKRZ: DKRZ | ||
# /work/bd0854/DATA/ESMValTool2/download: ESGF | ||
# CMIP3: | ||
# /work/bd0854/DATA/ESMValTool2/CMIP3: DKRZ | ||
# /work/bd0854/DATA/ESMValTool2/download: ESGF | ||
# CORDEX: | ||
# /work/ik1017/C3SCORDEX/data/c3s-cordex/output: BADC | ||
# /work/bd0854/DATA/ESMValTool2/download: ESGF | ||
# OBS: /work/bd0854/DATA/ESMValTool2/OBS | ||
# OBS6: /work/bd0854/DATA/ESMValTool2/OBS | ||
# obs4MIPs: /work/bd0854/DATA/ESMValTool2/OBS | ||
# obs4MIPs: | ||
# /work/bd0854/DATA/ESMValTool2/OBS: default | ||
# /work/bd0854/DATA/ESMValTool2/download: ESGF | ||
# ana4mips: /work/bd0854/DATA/ESMValTool2/OBS | ||
# native6: /work/bd0854/DATA/ESMValTool2/RAWOBS | ||
# RAWOBS: /work/bd0854/DATA/ESMValTool2/RAWOBS | ||
#drs: | ||
# CMIP6: DKRZ | ||
# CMIP5: DKRZ | ||
# CMIP3: DKRZ | ||
# CORDEX: BADC | ||
# obs4MIPs: default | ||
# ana4mips: default | ||
# OBS: default | ||
# OBS6: default | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happens if they do, and either that (
drs: ...
) or this one is wrong, or, if they differ?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well OK, but one needs to toss a warning at least, say eg "You specified drs: DRS but the other one is used... so that one gets ignored etc"