Description Usage Arguments Details Value
Reads one text file with the station metadata and twelve text files with the digitisation tables for each month of a station-year. As all the data was typed, performs the quality control of the station metadata and checks for table format errors and typing errors.
1 | read_chl_ffcul(obstxt)
|
obstxt |
Character string giving the path of the metadata file. |
Input:
One text file with the metadata - 'StationName_Obs_YYYY.txt'. The following constants are read from the metadata file:
WIGOS compatible station identifier
Observations year
Longitude
Latitude
Altitude
'msl pressure' or 'surface pressure'
Real station name
Twelve text files with the digitisations, which correspond to a digitisation table for each month of a station-year - 'StationName_Mth_YYYY.txt'. The digitisation tables have 13 columns with the following variables:
Day of the observation
Observation time in the format HHMM
Dew point temperature in Celsius degrees (ºC)
Cloud cover in oktas: 0,1,2,3,4,5,6,7,8,9
Wind direction in 16-wind compass rose points, plus C - Calm
Wind speed in knots (kn, kt)
Atmospheric pressure - mean sea level or surface - in hectopascals (hPa)
Air temperature in Celsius degrees (ºC)
Acumulated precipitation in milimeters (mm) most commonly measured at 12:00 UTC
Acumulated precipitation in milimeters (mm) most commonly measured at 23:00 UTC
Minimum daily temperature in Celsius degrees (ºC) most commonly measured at 12:00 UTC
Maximum daily temperature in Celsius degrees (ºC) most commonly measured at 23:00 UTC
Relative humidity in percent
Output:
A .RData and a .txt file with the metadata bellonging to a station-year: 'metadata_StationName_Year'.
A .RData and a .txt file with the anual digitisation of station-year: 'digitisation_StationName_Year'.
Eventually, one or two .txt files with typing errors to be corrected before proceeding with the quality control: 'Hour-errors_StationName_YYYY.txt' and 'Typing-errors_StationName_YYYY.txt'.
A data frame with seventeen columns: WIGOS compatible station ID, day of the year, year, month, day, hour, dew point temperature, cloud cover, wind direction, wind speed, air pressure, air temperature, accumulated precipitation at first hour, accumulated precipitation at second hour, daily minimum temperature, daily maximum temperature, relative humidity.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.