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

Add current xclim testdata #1

Merged
merged 1 commit into from
Oct 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- [ ] added a ``.md5`` checksum file generated with ``make_check_sums.py``

6 changes: 6 additions & 0 deletions data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import os
from pathlib import Path

from xclim.testing import TestDataSet

TD = Path(os.path.dirname(__file__)) / "testdata"
Binary file added data/CRCM5/tasmax_bby_198406_se.nc
Binary file not shown.
1 change: 1 addition & 0 deletions data/CRCM5/tasmax_bby_198406_se.nc.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0d3ba67aa6c705813804a32a85afa7db
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5ab87ba85a1594298d44733440fc6648
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a37b7c4dd471b60024ca9c64517165b0
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4b595b70b3fe988327eef6881ddf36fc
Binary file added data/EnsembleReduce/TestEnsReduceCriteria.nc
Binary file not shown.
1 change: 1 addition & 0 deletions data/EnsembleReduce/TestEnsReduceCriteria.nc.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
73584383bbfa67673fb4b84c2a422c73
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d0c60937a945253dad101fb041d699a9
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cd2305c90b866bfe737f904943bf9825
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
470c52a9c985b31de6993a9868b22491
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ede43cb4897e4fffb36c3964a3f65741
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
86326b3073ecd887e94f11b6f33190ec
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
95591c603bb264be25de5e07232de96e
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3003666e6fc4b14eb481ed9eaf6d5d7e
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b235a083af241a6fe346270f76fe0120
Binary file added data/NRCANdaily/nrcan_canada_daily_pr_1990.nc
Binary file not shown.
1 change: 1 addition & 0 deletions data/NRCANdaily/nrcan_canada_daily_pr_1990.nc.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
be1ba9a74fa7e2fa6539484d1d3a30e9
Binary file not shown.
1 change: 1 addition & 0 deletions data/NRCANdaily/nrcan_canada_daily_tasmax_1990.nc.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0461a99b4b3c8d1af51e6ac5f3078357
Binary file added data/NRCANdaily/nrcan_canada_daily_tasmin_1990.nc
Binary file not shown.
1 change: 1 addition & 0 deletions data/NRCANdaily/nrcan_canada_daily_tasmin_1990.nc.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dbe25b95c476e532e269ae4c4418a461
Binary file added data/Raven/q_sim.nc
Binary file not shown.
1 change: 1 addition & 0 deletions data/Raven/q_sim.nc.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
073ac668e9d921ad3757a5c506b61430
Binary file not shown.
1 change: 1 addition & 0 deletions data/cmip3/tas.sresb1.giss_model_e_r.run1.atm.da.nc.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7f744c8b32826885b3d23816be56bac2
40 changes: 40 additions & 0 deletions data/cmip5/eastern_canada.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-75.9375,
53.12040528310657
],
[
-87.1875,
45.82879925192134
],
[
-72.0703125,
38.272688535980976
],
[
-59.765625,
46.07323062540835
],
[
-60.46875,
56.17002298293205
],
[
-75.9375,
53.12040528310657
]
]
]
}
}
]
}
44 changes: 44 additions & 0 deletions data/cmip5/meridian.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
5.8671874999999996,
57.326521225217064
],
[
-15.468749999999998,
48.45835188280866
],
[
-16.171875,
24.84656534821976
],
[
-3.8671874999999996,
13.581920900545844
],
[
21.796875,
25.799891182088334
],
[
22.8515625,
52.482780222078226
],
[
5.8671874999999996,
57.326521225217064
]
]
]
}
}
]
}
67 changes: 67 additions & 0 deletions data/cmip5/meridian_multi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"type": "FeatureCollection",
"features": [
{
"id": "0",
"type": "Feature",
"properties": {},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-22.148437499999996,
54.16243396806779
],
[
-29.003906249999996,
53.85252660044951
],
[
-29.70703125,
48.22467264956519
],
[
-27.773437499999996,
42.8115217450979
],
[
-16.34765625,
47.39834920035926
],
[
-22.148437499999996,
54.16243396806779
]
]
],
[
[
[
-23.73046875,
58.44773280389084
],
[
10.1953125,
58.26328705248601
],
[
8.0859375,
65.29346780107583
],
[
-21.26953125,
64.77412531292873
],
[
-23.73046875,
58.44773280389084
]
]
]
]
}
}
]
}
162 changes: 162 additions & 0 deletions data/cmip5/multi_regions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {"id": "Québec"},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-79.8046875,
63.39152174400882
],
[
-81.9140625,
48.22467264956519
],
[
-75.234375,
39.639537564366684
],
[
-62.9296875,
48.69096039092549
],
[
-48.515625,
54.57206165565852
],
[
-64.6875,
63.23362741232569
],
[
-78.046875,
63.39152174400882
],
[
-79.8046875,
63.39152174400882
]
]
]
}
},
{
"type": "Feature",
"properties": {"id": "Europe"},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-18.28125,
68.52823492039876
],
[
-27.0703125,
66.37275500247455
],
[
-18.28125,
61.10078883158897
],
[
-11.25,
55.57834467218206
],
[
-13.0078125,
46.800059446787316
],
[
-10.1953125,
32.84267363195431
],
[
9.140625,
37.16031654673677
],
[
29.53125,
33.137551192346145
],
[
32.6953125,
42.8115217450979
],
[
43.2421875,
48.45835188280866
],
[
38.3203125,
65.6582745198266
],
[
39.0234375,
70.8446726342528
],
[
16.5234375,
73.42842364106816
],
[
-10.546875,
71.07405646336098
],
[
-18.28125,
68.00757101804004
],
[
-18.28125,
68.52823492039876
]
]
]
}
},
{
"type": "Feature",
"properties": {"id": "Newfoundland"},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-46.40625,
57.70414723434193
],
[
-57.65624999999999,
54.77534585936447
],
[
-64.6875,
46.800059446787316
],
[
-58.00781249999999,
40.713955826286046
],
[
-47.4609375,
45.583289756006316
],
[
-42.890625,
53.74871079689897
],
[
-46.40625,
57.70414723434193
]
]
]
}
}
]
}
Loading