Skip to contents

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.

See also

Author

Dan Kelley and Chantelle Layton