bluesky_toCommonFormat: Convert BlueSky NetCDF output to modernized NetCDF

Description Usage Arguments Value Note Examples

View source: R/bluesky_toCommonFormat.R

Description

Converts BlueSky model output from its original format to a more modernized NetCDF format with dimension axes for longitude, latitude, elevation and time. With default settings, output files renamed to ~base~_v2.nc.

Usage

1
bluesky_toCommonFormat(filePath = NULL, clean = TRUE)

Arguments

filePath

Absolute path of file to be converted.

clean

Logical specifying whether to remove the original netcdf file.

Value

Absolute path of the converted NetCDF file.

Note

Users will typically call bluesky_load() which in turn calls this function.

Examples

1
2
3
4
5
6
library(AirFireModeling)
setModelDataDir('~/Data/BlueSky')

filePath <- bluesky_download(modelName = "PNW-4km", modelRun = 2020091300)
bluesky_toCommonFormat(filePath)
bluesky_downloaded()

MazamaScience/AirFireModeling documentation built on March 13, 2021, 12:02 a.m.