Learn R Programming

jcext (version 0.1.1)

createindex_ncdf: createindex_ncdf

Description

Converts 3D arrays with daily values of airflow indices to NETCDF files.

Usage

createindex_ncdf(cwt_out, times, centralp, 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.

path

Path name to create the output file.

Value

A ncdf file with the airflow indices.

See Also

create_ncdfcwtextended_jc

Examples

Run this code
# NOT RUN {
# 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)
createindex_ncdf(cwtGlobal, press$dates, cwtGlobal$centralp, path = NULL)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab