Learn R Programming

oce (version 1.8-3)

read.amsr: Read an amsr File

Description

Read an amsr file, generating an amsr object. Two file types are handled: type 1 is from gzipped files that were available until perhaps the year 2022, and type 2 is from NetCDF files that were available afterwards. The type is stored in the metadata slot as type, and this is detected in other functions relating to amsr data. The best way to locate amsr files is to use download.amsr(), but if this fails, it may be necessary to search the web for a source.

Usage

read.amsr(file, encoding = NA, debug = getOption("oceDebug"))

Arguments

file

String indicating the name of a compressed file. See “File sources”.

encoding

ignored.

debug

A debugging flag, integer.

Author

Dan Kelley and Chantelle Layton

See Also

plot,amsr-method() for an example.

Other things related to amsr data: [[,amsr-method, [[<-,amsr-method, amsr, amsr-class, composite,amsr-method, download.amsr(), plot,amsr-method, subset,amsr-method, summary,amsr-method