read_sose: Read SOSE Southern Ocean State Estimate

read_soseR Documentation

Read SOSE Southern Ocean State Estimate

Description

Model data read from files managed by sose_monthly_files. Dates are matched to file names by finding the nearest match in time within a short duration. If date is greater than length 1 then the sorted set of unique matches is returned.

Usage

read_sose(
  date,
  time.resolution = c("monthly"),
  varname = "",
  level = 1L,
  setNA = TRUE,
  latest = TRUE,
  returnfiles = FALSE,
  ...,
  inputfiles = NULL
)

Arguments

varname

variable to return from the data files, default is whatever first value from sose_monthly_varnames()

level

defaults to 1L - there are 52

Details

This function doesn't support xylim, lon180, or more than one date being read.

Value

raster object

Examples

## Not run: 
read_sose(varname = "Uvel", level = 1)
read_sose(varname = "SeaIceArea", level = 1, latest = FALSE)
read_sose(varname = "Chl", level = 10, latest = FALSE)


## End(Not run)

AustralianAntarcticDivision/raadtools documentation built on Nov. 14, 2024, 4:27 p.m.