makeTableGSOD: Make a table with Global Summary of Day data

Description Usage Arguments Value Author(s) See Also

Description

This function creates a table from downloaded GSOD files on disk.

Variables are converted to SI units.

Usage

1
makeTableGSOD(folder = getwd(), files = NULL)

Arguments

folder

path to the folder containing the data files; ignored if argument 'files' is not NULL.

files

vector of paths to the data files

Value

data frame

ID

Unique station ID, combination of following two columns

STN

Station number (WMO/DATSAV3 number) for the location.

WBAN

WBAN number where applicable; historical "Weather Bureau Air Force Navy" number

YEAR

year in which the observations were made

MODA

month and day the observations were made

TEMP

Mean temperature for the day in degrees Celsius

CountTEMP

Number of observations used in calculating mean temperature

DEWP

Mean dew point for the day in degrees Celsius

CountDEWP

Number of observations used in calculating mean dew point

SLP

Mean sea level pressure for the day in millibars

CountSLP

Number of observations used in calculating mean sea level pressure

STP

Mean station pressure for the day in millibars

CountSTP

Number of observations used in calculating mean station pressure

VISIB

Mean visibility for the day in meters

CountVISIB

Number of observations used in calculating mean visibility

WDSP

Mean wind speed for the day in meters per second

CountWDSP

Number of observations used in calculating mean wind speed

MXSPD

Maximum sustained wind speed reported for the day in meters per second

GUST

Maximum wind gust reported for the day in meters per second

MAX

Maximum temperature reported during the day in degrees Celsius; time of max temp report varies by country and region, so this will sometimes not be the max for the calendar day.

FlagMAX

Blank indicates max temp was taken from the explicit max temp report and not from the 'hourly' data. * indicates max temp was derived from the hourly data (i.e., highest hourly or synoptic-reported temperature).

MIN

Minimum temperature reported during the day in degrees Celsius; time of min temp report varies by country and region, so this will sometimes not be the min for the calendar day.

FlagMIN

Blank indicates min temp was taken from the explicit min temp report and not from the 'hourly' data. * indicates min temp was derived from the hourly data (i.e., lowest hourly or synoptic-reported temperature).

PRCP

Total precipitation (rain and/or melted snow) reported during the day in meters; will usually not end with the midnight observation–i.e., may include latter part of previous day. .00 indicates no measurable precipitation (includes a trace).

FlagPRCP

A = 1 report of 6-hour precipitation amount. B = Summation of 2 reports of 6-hour precipitation amount. C = Summation of 3 reports of 6-hour precipitation amount. D = Summation of 4 reports of 6-hour precipitation amount. E = 1 report of 12-hour precipitation amount. F = Summation of 2 reports of 12-hour precipitation amount. G = 1 report of 24-hour precipitation amount. H = Station reported '0' as the amount for the day (eg, from 6-hour reports), but also reported at least one occurrence of precipitation in hourly observations–this could indicate a trace occurred, but should be considered as incomplete data for the day. I = Station did not report any precip data for the day and did not report any occurrences of precipitation in its hourly observations–it's still possible that precip occurred but was not reported.

SNDP

Snow depth in meters;last report for the day if reported more than once. Note: Most stations do not report '0' on days with no snow on the ground–therefore, NA will often appear on these days.

FRSHTT

Indicators (1 = yes, 0 = no/not reported) for the occurrence during the day of: Fog ('F' - 1st digit). Rain or Drizzle ('R' - 2nd digit). Snow or Ice Pellets ('S' - 3rd digit). Hail ('H' - 4th digit). Thunder ('T' - 5th digit). Tornado or Funnel Cloud ('T' - 6th digit).

Author(s)

Jacob van Etten

See Also

downloadGSOD, ~~~


weatherData documentation built on May 2, 2019, 5:47 p.m.