Skip to content

Commit

Permalink
Merge pull request #332 from e-picsa/feat/dashboard-climate-admin
Browse files Browse the repository at this point in the history
chore: move station data to subfolder
  • Loading branch information
chrismclarke authored Oct 11, 2024
2 parents 9119aea + 1d3ec23 commit e7974bb
Show file tree
Hide file tree
Showing 46 changed files with 133 additions and 132 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ export class ClimateDataService {
}

private async loadStationSummaries(stationID: string) {
return loadCSV<IStationData>(`assets/summaries/${stationID}.csv`, {
const { country_code } = this.configurationService.deploymentSettings();
return loadCSV<IStationData>(`assets/summaries/${country_code}/${stationID}.csv`, {
download: true,
dynamicTyping: true,
header: true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
Year,End,Length,Rainfall,Start
1960,278,,,
1961,285,125,1024,160
1962,263,103,854,160
1963,257,133,767,124
1964,254,109,751,145
1965,296,138,667,158
1966,289,122,732,167
1967,295,138,618,157
1968,247,99,621,148
1969,268,102,666,166
1970,255,105,954,150
1971,268,120,430,148
1972,284,108,583,176
1973,302,127,856,175
1974,281,136,673,145
1975,298,,725,
1976,256,93,534,163
1977,279,95,880,184
1978,283,120,772,163
1979,291,146,1063,145
1980,271,117,1026,154
1981,291,111,714,180
1982,302,139,756,163
1983,272,107,720,165
1984,267,135,711,132
1985,304,174,1085,130
1986,253,135,793,118
1987,264,,828,
1988,276,95,914,181
1989,273,134,817,139
1990,282,133,781,149
1991,272,114,504,158
1992,272,107,794,165
1993,292,,725,
1994,284,,501,
1995,258,95,940,163
1996,283,118,838,165
1997,281,140,882,141
1998,272,94,837,178
1999,252,,537,
2000,266,101,791,165
2001,284,,596,
2002,276,112,1046,164
2003,280,126,812,154
2004,259,110,879,149
2005,280,130,550,150
2006,243,104,1149,139
2007,253,79,576,174
2008,278,128,645,150
2009,275,110,785,165
2010,282,123,545,159
2011,276,,860,
2012,262,97,596,165
2013,243,63,728,180
2014,283,106,725,177
2015,266,105,610,161
2016,279,,851,
2017,286,136,710,150
2018,285,120,660,165
2019,248,84,762,164
2020,260,97,620,163
2021,284,,669,
2022,276,122,936,154
2023,273,99,702,174
Year,End,Length,Rainfall,Start
1960,278,,,
1961,285,125,1024,160
1962,263,103,854,160
1963,257,133,767,124
1964,254,109,751,145
1965,296,138,667,158
1966,289,122,732,167
1967,295,138,618,157
1968,247,99,621,148
1969,268,102,666,166
1970,255,105,954,150
1971,268,120,430,148
1972,284,108,583,176
1973,302,127,856,175
1974,281,136,673,145
1975,298,,725,
1976,256,93,534,163
1977,279,95,880,184
1978,283,120,772,163
1979,291,146,1063,145
1980,271,117,1026,154
1981,291,111,714,180
1982,302,139,756,163
1983,272,107,720,165
1984,267,135,711,132
1985,304,174,1085,130
1986,253,135,793,118
1987,264,,828,
1988,276,95,914,181
1989,273,134,817,139
1990,282,133,781,149
1991,272,114,504,158
1992,272,107,794,165
1993,292,,725,
1994,284,,501,
1995,258,95,940,163
1996,283,118,838,165
1997,281,140,882,141
1998,272,94,837,178
1999,252,,537,
2000,266,101,791,165
2001,284,,596,
2002,276,112,1046,164
2003,280,126,812,154
2004,259,110,879,149
2005,280,130,550,150
2006,243,104,1149,139
2007,253,79,576,174
2008,278,128,645,150
2009,275,110,785,165
2010,282,123,545,159
2011,276,,860,
2012,262,97,596,165
2013,243,63,728,180
2014,283,106,725,177
2015,266,105,610,161
2016,279,,851,
2017,286,136,710,150
2018,285,120,660,165
2019,248,84,762,164
2020,260,97,620,163
2021,284,,669,
2022,276,122,936,154
2023,273,99,702,174
2024,,,,
Original file line number Diff line number Diff line change
@@ -1,67 +1,67 @@
Year,End,Length,Rainfall,Start
1959,264,,,
1960,298,,1454,
1961,295,140,1404,155
1962,284,132,1284,152
1963,268,140,1180,128
1964,274,102,1153,172
1965,272,99,788,173
1966,297,132,809,165
1967,289,144,1145,145
1968,288,117,1308,171
1969,289,133,1114,156
1970,282,132,1578,150
1971,301,169,1284,132
1972,287,116,908,171
1973,301,142,1603,159
1974,278,119,902,159
1975,295,137,1888,158
1976,283,119,982,164
1977,298,149,2361,149
1978,289,129,1284,160
1979,291,151,1342,140
1980,271,99,1236,172
1981,295,121,781,174
1982,281,127,1089,154
1983,275,108,743,167
1984,277,115,1066,162
1985,288,131,1469,157
1986,277,122,1039,155
1987,303,145,1722,158
1988,275,117,1685,158
1989,282,129,1054,153
1990,263,79,1043,184
1991,296,161,1029,135
1992,304,141,1392,163
1993,258,,844,
1994,266,83,451,183
1995,297,121,1027,176
1996,282,111,1227,171
1997,282,135,1685,147
1998,268,120,1164,148
1999,292,,763,
2000,272,150,1684,122
2001,291,116,1559,175
2002,278,113,1618,165
2003,293,124,1050,169
2004,301,153,895,148
2005,280,115,1671,165
2006,291,143,1366,148
2007,283,123,1265,160
2008,276,136,1236,140
2009,299,116,1225,183
2010,264,106,1052,158
2011,286,102,1116,184
2012,254,113,718,141
2013,302,136,985,166
2014,275,101,699,174
2015,278,107,572,171
2016,286,127,1299,159
2017,288,138,1119,150
2018,285,126,1093,159
2019,269,120,1028,149
2020,278,122,926,156
2021,287,190,1689,97
2022,290,,1257,
2023,,,1228,
Year,End,Length,Rainfall,Start
1959,264,,,
1960,298,,1454,
1961,295,140,1404,155
1962,284,132,1284,152
1963,268,140,1180,128
1964,274,102,1153,172
1965,272,99,788,173
1966,297,132,809,165
1967,289,144,1145,145
1968,288,117,1308,171
1969,289,133,1114,156
1970,282,132,1578,150
1971,301,169,1284,132
1972,287,116,908,171
1973,301,142,1603,159
1974,278,119,902,159
1975,295,137,1888,158
1976,283,119,982,164
1977,298,149,2361,149
1978,289,129,1284,160
1979,291,151,1342,140
1980,271,99,1236,172
1981,295,121,781,174
1982,281,127,1089,154
1983,275,108,743,167
1984,277,115,1066,162
1985,288,131,1469,157
1986,277,122,1039,155
1987,303,145,1722,158
1988,275,117,1685,158
1989,282,129,1054,153
1990,263,79,1043,184
1991,296,161,1029,135
1992,304,141,1392,163
1993,258,,844,
1994,266,83,451,183
1995,297,121,1027,176
1996,282,111,1227,171
1997,282,135,1685,147
1998,268,120,1164,148
1999,292,,763,
2000,272,150,1684,122
2001,291,116,1559,175
2002,278,113,1618,165
2003,293,124,1050,169
2004,301,153,895,148
2005,280,115,1671,165
2006,291,143,1366,148
2007,283,123,1265,160
2008,276,136,1236,140
2009,299,116,1225,183
2010,264,106,1052,158
2011,286,102,1116,184
2012,254,113,718,141
2013,302,136,985,166
2014,275,101,699,174
2015,278,107,572,171
2016,286,127,1299,159
2017,288,138,1119,150
2018,285,126,1093,159
2019,269,120,1028,149
2020,278,122,926,156
2021,287,190,1689,97
2022,290,,1257,
2023,,,1228,
2024,,,,

0 comments on commit e7974bb

Please sign in to comment.