Update README.md
Browse files
README.md
CHANGED
@@ -9,17 +9,21 @@ size_categories:
|
|
9 |
---
|
10 |
|
11 |
# Dataset Summary
|
12 |
-
Contains hourly 2 meters air temperature data within grid areas of Thailand country. <br/>
|
13 |
-
Data is
|
14 |
<br/>
|
15 |
Thailand areas in this context is **Latitude** = **[5.77434, 20.43353]** and **Longitude** = **[97.96852, 105.22908]** <br/>
|
16 |
For more details of data, you can refer to [ERA5-Land hourly data from 1950 to present](https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-land?tab=overview))
|
|
|
|
|
|
|
|
|
17 |
|
18 |
# Source Data
|
19 |
-
- Organization of the producer
|
20 |
|
21 |
# Data Creation
|
22 |
-
Below is how to make data query using
|
23 |
|
24 |
``` python
|
25 |
import cdsapi
|
@@ -49,16 +53,29 @@ for year in year_list:
|
|
49 |
},
|
50 |
f'{year}_{month}_hourly_2m_temp_TH.grib')
|
51 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
|
53 |
## Licensing
|
54 |
[Climate Data Store Product Licensing](https://cds.climate.copernicus.eu/api/v2/terms/static/licence-to-use-copernicus-products.pdf)
|
55 |
|
56 |
## Citation
|
57 |
-
- This data was generated using **Copernicus Climate Change Service** information and
|
58 |
-
on 2020/Jan/01 - 2023/May/13 data period
|
59 |
|
60 |
- Muñoz Sabater, J. (2019): ERA5-Land hourly data from 1950 to present. <br/>
|
61 |
-
Copernicus Climate Change Service (C3S) Climate Data Store (CDS).
|
|
|
62 |
|
63 |
- Copernicus Climate Change Service (C3S) (2022): ERA5-Land hourly data from 1950 to present. <br/>
|
64 |
-
Copernicus Climate Change Service (C3S) Climate Data Store (CDS).
|
|
|
|
9 |
---
|
10 |
|
11 |
# Dataset Summary
|
12 |
+
Contains hourly 2 meters of land (on-shore) air temperature data within grid areas of Thailand country. <br/>
|
13 |
+
Data is retrieved from [Corpernicus Climate Data Store](https://cds.climate.copernicus.eu/cdsapp#!/home) on [ERA5-Land hourly data from 1950 to present](https://cds.climate.copernicus.eu/cdsapp#!/dataset/10.24381/cds.e2161bac?tab=overview)
|
14 |
<br/>
|
15 |
Thailand areas in this context is **Latitude** = **[5.77434, 20.43353]** and **Longitude** = **[97.96852, 105.22908]** <br/>
|
16 |
For more details of data, you can refer to [ERA5-Land hourly data from 1950 to present](https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-land?tab=overview))
|
17 |
+
- Data Granularity: Hourly per Latitude/ Longitude
|
18 |
+
- Period: 01/Jan/2010 - 13/May/2023
|
19 |
+
- Temperature Unit: Kelvin
|
20 |
+
|
21 |
|
22 |
# Source Data
|
23 |
+
- Organization of the producer: ECMWF
|
24 |
|
25 |
# Data Creation
|
26 |
+
Below is an example of how to make data query using Python via [CDS API](https://cds.climate.copernicus.eu/api-how-to) in monthly requests. <br/>
|
27 |
|
28 |
``` python
|
29 |
import cdsapi
|
|
|
53 |
},
|
54 |
f'{year}_{month}_hourly_2m_temp_TH.grib')
|
55 |
```
|
56 |
+
Direct file output from API is in ```.grib``` format, to make it easy for futher analysis work, I have converted it to ```.parquet``` format.
|
57 |
+
To convert GRIB format to pandas datafram, you can use [xrray](https://github.com/pydata/xarray) and [cfgrib](https://github.com/ecmwf/cfgrib) library to help as below example snippet of code.
|
58 |
+
|
59 |
+
``` python
|
60 |
+
import xarray as xr
|
61 |
+
import cfgrib
|
62 |
+
|
63 |
+
ds = xr.open_dataset('2022_12_31_hourly_2m_temp_TH.grib', engine='cfgrib')
|
64 |
+
df = ds.to_dataframe().reset_index()
|
65 |
+
|
66 |
+
```
|
67 |
|
68 |
## Licensing
|
69 |
[Climate Data Store Product Licensing](https://cds.climate.copernicus.eu/api/v2/terms/static/licence-to-use-copernicus-products.pdf)
|
70 |
|
71 |
## Citation
|
72 |
+
- This data was generated using **Copernicus Climate Change Service** information and <br/>
|
73 |
+
contains modified **Copernicus Climate Change Service** information on 2020/Jan/01 - 2023/May/13 data period
|
74 |
|
75 |
- Muñoz Sabater, J. (2019): ERA5-Land hourly data from 1950 to present. <br/>
|
76 |
+
- Copernicus Climate Change Service (C3S) Climate Data Store (CDS). <br/>
|
77 |
+
DOI: [10.24381/cds.e2161bac](https://cds.climate.copernicus.eu/cdsapp#!/dataset/10.24381/cds.e2161bac?tab=overview) (Accessed on 13-May-2023)
|
78 |
|
79 |
- Copernicus Climate Change Service (C3S) (2022): ERA5-Land hourly data from 1950 to present. <br/>
|
80 |
+
Copernicus Climate Change Service (C3S) Climate Data Store (CDS). <br/>
|
81 |
+
DOI: [10.24381/cds.e2161bac](https://cds.climate.copernicus.eu/cdsapp#!/dataset/10.24381/cds.e2161bac?tab=overview) (Accessed on 13-May-2023)
|