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

View source: R/merra_subset.R

read_merra_fileR Documentation

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

Description

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

Usage

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

## Not run: 
read_merra_file("201912")

## End(Not run)

energyRt/merra2ools documentation built on May 2, 2024, 4:53 a.m.