Skip to content

Commit

Permalink
Merge pull request #339 from jnsebgosselin/fix_read_weather_datafiles
Browse files Browse the repository at this point in the history
PR: Improve read weather datafiles and fix reading file with no missing data
  • Loading branch information
jnsebgosselin committed Oct 3, 2020
2 parents 96413fe + cc675fc commit 7ead892
Show file tree
Hide file tree
Showing 11 changed files with 178 additions and 55,003 deletions.
13 changes: 13 additions & 0 deletions gwhat/meteo/tests/basic_weather_datafile.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Station Name,MARIEVILLE
Province,QUEBEC
Latitude,45.4
Longitude,-73.13
Elevation,38
Climate Identifier,7024627

Year,Month,Day,Max Temp (deg C),Min Temp (deg C),Mean Temp (deg C),Total Precip (mm),Other
2000,1,1,2,-12.8,-4.9,0,1
2000,1,2,,-6,1.5,6.8,2
2000,1,3,nan,-3.5,-0.5,6,3
2000,1,4,nan,nan,nan,nan,nan
2000,1,5,,,,,
Binary file added gwhat/meteo/tests/basic_weather_datafile.xls
Binary file not shown.
Binary file added gwhat/meteo/tests/basic_weather_datafile.xlsx
Binary file not shown.
26,304 changes: 0 additions & 26,304 deletions gwhat/meteo/tests/cweed_sample.WY2

This file was deleted.

26,305 changes: 0 additions & 26,305 deletions gwhat/meteo/tests/cweed_sample.WY3

This file was deleted.

Loading

0 comments on commit 7ead892

Please sign in to comment.