-
Notifications
You must be signed in to change notification settings - Fork 2
/
climate.yaml
151 lines (147 loc) · 3.55 KB
/
climate.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
---
plugins:
source:
- module: intake_xarray, intake_excel
sources:
Global_Carbon_Budget_2020:
description: GCP 2020
metadata:
url: https://www.globalcarbonproject.org/carbonbudget/
doi:
- http://doi.org/10.18160/gcp-2020
- http://doi.org/10.5194/essd-12-3269-2020
plots:
over_time:
kind: line
driver: excel
args:
urlpath: simplecache::https://data.icos-cp.eu/licence_accept?ids=%5B%226QlPjfn_7uuJtAeuGGFXuPwz%22%5D
excel_kwargs:
header: 20
sheet_name: 'Global Carbon Budget'
index_col: Year
skipfooter: 4
Global_Carbon_Budget_2021:
description: GCP 2021
metadata:
url: https://www.globalcarbonproject.org/carbonbudget/
doi:
- https://doi.org/10.5194/essd-2021-386
- https://doi.org/10.18160/gcp-2021
plots:
over_time:
kind: line
driver: excel
args:
urlpath: simplecache::https://data.icos-cp.eu/licence_accept?ids=%5B%220ST81nXCND5VfAQdOCSJDveT%22%5D
excel_kwargs:
header: 20
sheet_name: 'Global Carbon Budget'
index_col: Year
skipfooter: 0
NOAA_correlation:
description: climate indices from psl.noaa.gov/data/correlation
metadata:
url: https://www.psl.noaa.gov/data/correlation/
driver: csv
parameters:
index:
description: name of the index
default: nina34
type: str
allowed:
- pna
- wp
- ea
- nao
- jonesnao
- soi
- nina3
- censo
- oni
- nina1
- nina4
- nina34
- np
- hurr
- pacwarm
- swmonsoon
args:
urlpath: simplecache::https://psl.noaa.gov/data/correlation/{{index}}.data
csv_kwargs:
sep: ' '
skiprows: 3
skipfooter: 4
dtype:
year: object
names:
- year
- Jan
- Feb
- Mar
- Apr
- May
- Jun
- Jul
- Aug
- Sep
- Oct
- Nov
- Dec
# index_col: 'year' not allowed by dd.read_csv but pd.read_csv
na_values:
- -999.90
- '-999.90'
- '-99.90'
- -99.90
- -99.0
- '-99.0'
engine: python
NOAA_correlation_xr:
description: NOAA_correlation as xr.DataArray
driver: intake.source.derived.GenericTransform
args:
targets:
- NOAA_correlation
transform: "remote_climate_data.utils.convert.monthly_csv_to_DataArray"
transform_kwargs: {}
NOAA_SST_anomaly_timeseries:
description: Sea Surface Temperature Anomaly Indices derived from ERSST
metadata:
url: https://www.psl.noaa.gov/forecasts/sstlim/timeseries/
driver: csv
parameters:
index:
description: name of the index
type: str
default: Nina4
allowed:
- CAR
- EA
- HAW
- IND
- Nina4
- Nina34
- NTA
- STA
args:
urlpath: ftp://ftp.cdc.noaa.gov/Datasets/Timeseries/{{index}}_ersst.data
csv_kwargs:
sep: ' '
skiprows: 2
skipfooter: 8
names:
- Jan
- Feb
- Mar
- Apr
- May
- Jun
- Jul
- Aug
- Sep
- Oct
- Nov
- Dec
# index_col: 'year' not allowed by dd.read_csv but pd.read_csv
engine: python