resamplenc: resamplenc: Reformat an nc file to new dimensions.

Description Usage Arguments Details Value See Also Examples

Description

resamplenc is used to reformat data an nc file to the same dimensions as the data in filein1.

Usage

1
resamplenc(filein1, filein2, varname, units, fileout)

Arguments

filein1

master nc file.

filein2

nc file to undergo reformatting.

varname

the name of the variable to be created (character string).

units

the variable's units (character string). Or, pass a zero length string (") to have no units attributed.

fileout

full path name of the new nc file to be created.

var

time dimension to be left unchanged.

Details

recording period for filein2 is left unchanged.

Value

a .nc file with the same dimensions as filein1.

See Also

nctoarray

Examples

1
to follow once there are two nc files with different latitude and longitude dimensions in the data.

ilyamaclean/climvars documentation built on June 19, 2019, 2:22 p.m.