create.pet.file: Creates pet output file.

View source: R/create.pet.file.R

create.pet.fileR Documentation

Creates pet output file.

Description

Creates pet output file.

Usage

create.pet.file(
  pet.file,
  f,
  ts,
  v.f.idx,
  variable.name.map,
  dim.size,
  dim.axes,
  pet.dat,
  author.data
)

Arguments

pet.file

The filename to be used for the pet file.

f

The file(s) being used as sources for metadata.

ts

The associated time data, as created by nc.get.time.series.

v.f.idx

A mapping from variables to files, as created by get.var.file.idx.

variable.name.map

A mapping from standardized names (tmax, tmin, etc) to NetCDF variable names.

dim.size

Dimension sizes for the input.

dim.axes

Dimension axes for the input.

pet.dat

pet metadata

author.data

A vector containing named elements describing the author; see create.indices.from.files.

Details

This function creates a file suitable for outputting pet to.

Value

An object of class ncdf4.


ECA-D/ecad_indices_grid documentation built on Nov. 23, 2022, 6:04 a.m.