upar2nc: Save urban parameters into NetCDF

Description Usage Arguments Examples

View source: R/netcdf_output.R

Description

An upar object is stored in a NetCDF file. This file includes all variables of the input object with a standard set of NetCDF attributes. Information about the rotated pole are included as well.

Usage

1
upar2nc(file, ucp)

Arguments

file

String of output NetCDF file.

ucp

upar object.

Examples

1
2
3
4
5
ucps <- upar(berlin_grid, fr_urb = berlin_fr_urb,
             fr_uclass = berlin_fr_uclass, fr_udir = berlin_fr_udir,
             fr_roof = berlin_fr_roof, w_street = berlin_w_street,
             w_build = berlin_w_build)
upar2nc("ucp.nc", ucps)

sebschub/dcepucp documentation built on May 20, 2019, 2:23 p.m.