create_ncdfcwt: create_ncdfcwt

Description Usage Arguments Value See Also Examples

Description

Converts 3D arrays with daily frequencies of weather types to NETCDF files.

Usage

1
create_ncdfcwt(cwt_out, times, centralp, onefile = TRUE, path = NULL)

Arguments

cwt_out

List with a list for each grid point that contains two objects: CWT and indices.

times

Numeric with the dates.

centralp

Numeric with the centralp obtained from the main program.

onefile

Logical. If TRUE one single output file with all WT is created, if FALSE one file per type is created.

path

Path name to create the output file.

Value

A netcdf file with all weather types or one file per type.

See Also

createindex_ncdfextended_jc

Examples

1
2
3
4
# This is a long running example
cwtGlobal <- extended_jc(press$msl, press$loni, press$lati, press$dates, gale=FALSE, num_cores=2)
# Create ncdf file (one file with all types)
create_ncdfcwt(cwtGlobal, press$dates, cwtGlobal$centralp, onefile = TRUE, path = NULL)

jcext documentation built on May 1, 2019, 10:27 p.m.

Related to create_ncdfcwt in jcext...