writeInventory {CHCN}R Documentation

Writes inventory data in a format usable by RghcnV3 package

Description

The RGhcnV3 package expects certain fields – Id, lat,lon in a specific order. This write function insures the data is read in a compatible manner with that package

Usage

writeInventory(Inventory, filename = "Inventory.inv", directory = DATA.DIRECTORY)

Arguments

Inventory

A inventory of stations

filename

A default name

directory

the default data directory

Details

the function merely reorders the columns so that id is in the first column followed by latitude, and longitude

Value

The side effect is writing a file

Author(s)

Steven Mosher


[Package CHCN version 1.5 Index]