gwgen.parseghcnrow module¶
Functions
ndaymon (yearmon) |
Calculate the number of days for one month in a year |
read_ghcn_file (ifile) |
Read in a GHCN station data file and convert it to a dataframe |
-
gwgen.parseghcnrow.
ndaymon
(yearmon)[source]¶ Calculate the number of days for one month in a year
Parameters: yearmon (str) – The first 4 numbers stand for the year, the others for the month (in datetime writing: '%Y%m'
)
-
gwgen.parseghcnrow.
read_ghcn_file
(ifile)[source]¶ Read in a GHCN station data file and convert it to a dataframe
Parameters: ifile (str) – The path to a ghcn datafile Returns: The ifile converted to a dataframe Return type: pandas.DataFrame