Reads one file from MERRA-2 subset for a given year and month

read_merra_file(YYYYMM, path = get_merra2_dir(), as_integers = FALSE)

Arguments

YYYYMM

character, year and month

path

the database path

original.units

should the original MERRA-2 units be returned (converted from integer vectors)

Value

A data.table with the MERRA-2 subset for the given year and month.

Examples

if (FALSE) {
read_merra_file("201912")
}