Skip to content

Commit b508ce3

Browse files
committed
Updated cordex inventories and migrated files to gitlab
1 parent ade8be8 commit b508ce3

File tree

12 files changed

+38
-960721
lines changed

12 files changed

+38
-960721
lines changed

ESGF-inventory/CORDEX/CORDEX_day.csv

Lines changed: 29 additions & 21 deletions
Large diffs are not rendered by default.

ESGF-inventory/CORDEX/CORDEX_fx.csv

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,6 @@
1919
"cordex.output.AFR-22.GERICS.NCC-NorESM1-M.historical.r0i0p0.REMO2015.v1.fx",671561,true,true
2020
"cordex.output.AFR-22.GERICS.NCC-NorESM1-M.rcp26.r0i0p0.REMO2015.v1.fx",671561,true,true
2121
"cordex.output.AFR-22.GERICS.NCC-NorESM1-M.rcp85.r0i0p0.REMO2015.v1.fx",671561,true,true
22-
"cordex.output.AFR-22.ICTP.ECMWF-ERAINT.evaluation.r1i1p1.RegCM4-7.v0.fx",5170334,true,true
23-
"cordex.output.AFR-22.ICTP.MOHC-HadGEM2-ES.historical.r1i1p1.RegCM4-7.v0.fx",5164800,true,true
24-
"cordex.output.AFR-22.ICTP.MOHC-HadGEM2-ES.rcp26.r1i1p1.RegCM4-7.v0.fx",5164805,true,true
25-
"cordex.output.AFR-22.ICTP.MOHC-HadGEM2-ES.rcp85.r1i1p1.RegCM4-7.v0.fx",5164805,true,true
26-
"cordex.output.AFR-22.ICTP.MPI-M-MPI-ESM-MR.historical.r1i1p1.RegCM4-7.v0.fx",5164796,true,true
27-
"cordex.output.AFR-22.ICTP.MPI-M-MPI-ESM-MR.rcp26.r1i1p1.RegCM4-7.v0.fx",5168899,true,true
28-
"cordex.output.AFR-22.ICTP.MPI-M-MPI-ESM-MR.rcp85.r1i1p1.RegCM4-7.v0.fx",5168899,true,true
29-
"cordex.output.AFR-22.ICTP.NCC-NorESM1-M.historical.r1i1p1.RegCM4-7.v0.fx",5164790,true,true
30-
"cordex.output.AFR-22.ICTP.NCC-NorESM1-M.rcp26.r1i1p1.RegCM4-7.v0.fx",5168889,true,true
31-
"cordex.output.AFR-22.ICTP.NCC-NorESM1-M.rcp85.r1i1p1.RegCM4-7.v0.fx",5168889,true,true
3222
"cordex.output.AFR-44.CLMcom.CNRM-CERFACS-CNRM-CM5.historical.r0i0p0.CCLM4-8-17.v1.fx",463899,true,true
3323
"cordex.output.AFR-44.CLMcom.CNRM-CERFACS-CNRM-CM5.rcp45.r0i0p0.CCLM4-8-17.v1.fx",463879,true,true
3424
"cordex.output.AFR-44.CLMcom.CNRM-CERFACS-CNRM-CM5.rcp85.r0i0p0.CCLM4-8-17.v1.fx",463879,true,true
@@ -343,16 +333,21 @@
343333
"cordex.output.EUR-11.DMI.NCC-NorESM1-M.historical.r1i1p1.HIRHAM5.v3.fx",2062028,true,true
344334
"cordex.output.EUR-11.DMI.NCC-NorESM1-M.rcp45.r1i1p1.HIRHAM5.v3.fx",2062034,true,true
345335
"cordex.output.EUR-11.DMI.NCC-NorESM1-M.rcp85.r1i1p1.HIRHAM5.v3.fx",2062062,true,true
336+
"cordex.output.EUR-11.GERICS.CNRM-CERFACS-CNRM-CM5.historical.r0i0p0.REMO2015.v2.fx",7233319,true,true
346337
"cordex.output.EUR-11.GERICS.ECMWF-ERAINT.evaluation.r0i0p0.REMO2015.v1.fx",7381763,true,true
347338
"cordex.output.EUR-11.GERICS.ICHEC-EC-EARTH.rcp26.r0i0p0.REMO2015.v1.fx",7382767,true,true
339+
"cordex.output.EUR-11.GERICS.ICHEC-EC-EARTH.rcp45.r0i0p0.REMO2015.v1.fx",7229267,true,true
348340
"cordex.output.EUR-11.GERICS.IPSL-IPSL-CM5A-LR.historical.r0i0p0.REMO2015.v1.fx",7382787,true,true
349341
"cordex.output.EUR-11.GERICS.IPSL-IPSL-CM5A-LR.rcp26.r0i0p0.REMO2015.v1.fx",7382767,true,true
342+
"cordex.output.EUR-11.GERICS.IPSL-IPSL-CM5A-MR.historical.r0i0p0.REMO2015.v1.fx",7229275,true,true
350343
"cordex.output.EUR-11.GERICS.MIROC-MIROC5.rcp26.r0i0p0.REMO2015.v1.fx",7382767,true,true
351344
"cordex.output.EUR-11.GERICS.MOHC-HadGEM2-ES.rcp26.r0i0p0.REMO2015.v1.fx",7382767,true,true
345+
"cordex.output.EUR-11.GERICS.MOHC-HadGEM2-ES.rcp45.r0i0p0.REMO2015.v1.fx",7229267,true,true
352346
"cordex.output.EUR-11.GERICS.MPI-M-MPI-ESM-LR.historical.r0i0p0.REMO2015.v1.fx",7229275,true,true
353347
"cordex.output.EUR-11.GERICS.MPI-M-MPI-ESM-LR.rcp85.r0i0p0.REMO2015.v1.fx",7229275,true,true
354348
"cordex.output.EUR-11.GERICS.NCC-NorESM1-M.historical.r0i0p0.REMO2015.v1.fx",7229275,true,true
355349
"cordex.output.EUR-11.GERICS.NCC-NorESM1-M.rcp26.r0i0p0.REMO2015.v1.fx",7229275,true,true
350+
"cordex.output.EUR-11.GERICS.NCC-NorESM1-M.rcp45.r0i0p0.REMO2015.v1.fx",7229267,true,true
356351
"cordex.output.EUR-11.GERICS.NCC-NorESM1-M.rcp85.r0i0p0.REMO2015.v1.fx",7229275,true,true
357352
"cordex.output.EUR-11.GERICS.NOAA-GFDL-GFDL-ESM2G.historical.r0i0p0.REMO2015.v1.fx",7382787,true,true
358353
"cordex.output.EUR-11.GERICS.NOAA-GFDL-GFDL-ESM2G.rcp26.r0i0p0.REMO2015.v1.fx",7382767,true,true
@@ -384,6 +379,7 @@
384379
"cordex.output.EUR-11.KNMI.MOHC-HadGEM2-ES.rcp45.r1i1p1.RACMO22E.v2.fx",4445835,true,true
385380
"cordex.output.EUR-11.KNMI.MOHC-HadGEM2-ES.rcp85.r1i1p1.RACMO22E.v2.fx",4445835,true,true
386381
"cordex.output.EUR-11.KNMI.MPI-M-MPI-ESM-LR.historical.r1i1p1.RACMO22E.v1.fx",4449681,true,true
382+
"cordex.output.EUR-11.KNMI.MPI-M-MPI-ESM-LR.rcp26.r1i1p1.RACMO22E.v1.fx",4451741,true,true
387383
"cordex.output.EUR-11.KNMI.MPI-M-MPI-ESM-LR.rcp85.r1i1p1.RACMO22E.v1.fx",4449653,true,true
388384
"cordex.output.EUR-11.KNMI.NCC-NorESM1-M.historical.r1i1p1.RACMO22E.v1.fx",4449675,true,true
389385
"cordex.output.EUR-11.KNMI.NCC-NorESM1-M.rcp26.r1i1p1.RACMO22E.v1.fx",4451735,true,true
@@ -414,6 +410,7 @@
414410
"cordex.output.EUR-11.SMHI.MPI-M-MPI-ESM-LR.rcp45.r0i0p0.RCA4.v1a.fx",4490512,true,true
415411
"cordex.output.EUR-11.SMHI.MPI-M-MPI-ESM-LR.rcp85.r0i0p0.RCA4.v1a.fx",4490512,true,true
416412
"cordex.output.EUR-11.SMHI.NCC-NorESM1-M.historical.r0i0p0.RCA4.v1.fx",4497330,true,true
413+
"cordex.output.EUR-11.SMHI.NCC-NorESM1-M.rcp45.r0i0p0.RCA4.v1.fx",4497312,true,true
417414
"cordex.output.EUR-11.SMHI.NCC-NorESM1-M.rcp85.r0i0p0.RCA4.v1.fx",4497312,true,true
418415
"cordex.output.EUR-11.UHOH.MPI-M-MPI-ESM-LR.rcp85.r0i0p0.WRF361H.v1.fx",7132643,true,true
419416
"cordex.output.EUR-22.GERICS.ECMWF-ERAINT.evaluation.r0i0p0.REMO2015.v1.fx",2015051,true,true

ESGF-inventory/CORDEX/README.md

Lines changed: 1 addition & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,3 @@
11
# CORDEX ATLAS dataset
22

3-
The management of the dataset involves the following processes:
4-
5-
- Discovering available datasets in ESGF and generation of inventories in csv format.
6-
- Downloading available datasets from ESGF and reporting status of the download.
7-
- Generation on NcMLs.
8-
9-
This is a long process so, when a new update is required, I suggest to work in a specific branch and commit changes after every step of the process. I also suggest to merge with a commit message including the date of the merge and tag the merge commit (ex. `cordex-2020-06-23`).
10-
11-
## Generation of inventories of datasets available in ESGF
12-
13-
```bash
14-
scripts/CORDEX.sh
15-
```
16-
17-
This creates the inventories `CORDEX_day.json` and `CORDEX_fx.json` and the metalink files in the `metalink` directory.
18-
19-
## Downloading available datasets from ESGF
20-
21-
Download the selected files from ESGF using aria2c and metalink files. You can check the status of the download in `download-report`, generated using `../esgf-check -m -r /oceano/gmeteo/WORK/PROYECTOS/2020_C3S_34d/synda/data/ metalinks/* > download-report`.
22-
23-
## Generation of NcMLs
24-
25-
See `scripts/publisher.sh`.
26-
27-
## Unique inventory
28-
29-
jq can be used to create an unique inventory combining daily and fixed `time_frequency` values. Here we show how (just for reference).
30-
31-
```
32-
jq -r --slurp --arg variables "${variables}" '
33-
map(. + map_values(arrays|first)) |
34-
map(select(.replica == false)) |
35-
36-
map(. + { dataset_all_runs: (.master_id|split(".")|del(.[6,9,10])|join(".")) }) |
37-
group_by(.dataset_all_runs) |
38-
map( { dataset_all_runs: .[0].dataset_all_runs,
39-
time: map(select(.time_frequency != "fx")),
40-
fixed: map(select(.time_frequency == "fx")) }) |
41-
42-
map(.time |= group_by(.ensemble)) |
43-
map(.time |= map({ensemble: .[0].ensemble, size: map(.size)|add, variables: map(.variable)})) |
44-
map(.fixed |= {ensemble: .[0].ensemble, size: map(.size)|add, variables: map(.variable)}) |
45-
46-
map({dataset_all_runs, variables: [.time, [.fixed]]|combinations}) |
47-
map({dataset_id:
48-
((.dataset_all_runs|split(".")[:6]) +
49-
[(.variables|map(select(.ensemble != "r0i0p0"))|map(.ensemble)|first)] +
50-
(.dataset_all_runs|split(".")[6:])) | join("."),
51-
size: .variables|map(.size)|add,
52-
variables: .variables|map(.variables)|add}) |
53-
54-
(reduce ($variables|split(","))[] as $v ({}; . + {($v): false})) as $false_variables |
55-
map(reduce .variables[] as $v ({dataset_id, size} + $false_variables; . + {($v): true})) |
56-
57-
(["dataset_id", "size"] + ($variables|split(",")|sort)) as $keys | $keys, map([.[ $keys[] ]])[] | @csv'
58-
```
3+
See issue in [gitlab](https://gitlab.com/scds/data-management/-/issues/4).

ESGF-inventory/CORDEX/download-report

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)