Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
IPSL
E
ESPRI
ESPRI-Mod
catalog
Commits
532d9690
Commit
532d9690
authored
Feb 07, 2022
by
Guillaume
Browse files
Enable init_year for CMIP6 only
parent
2813b365
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
esm_cat_generator.py
esm_cat_generator.py
+3
-2
No files found.
esm_cat_generator.py
View file @
532d9690
...
...
@@ -80,8 +80,9 @@ class Process(object):
entry_facets
=
[
facets
[
i
]
for
i
in
drs
.
dir_keys
]
entry
=
[
IPSL_DATA_ROOT
+
path
.
as_posix
(),
self
.
project
]
entry
.
extend
(
entry_facets
)
entry
.
extend
([
facets
[
'init_year'
],
facets
[
'period_start'
],
if
self
.
project
==
'CMIP6'
:
entry
.
append
(
facets
[
'init_year'
])
entry
.
extend
([
facets
[
'period_start'
],
facets
[
'period_end'
],
facets
[
'climatology'
],
latest
.
title
()])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment