readosisaf: Read EUMETSAT OSISAF products

Description Usage Arguments Value Note Author(s) See Also Examples

Description

EUMETSAT Ocean and Sea Ice Satellite Application Facility (OSISAF) (http://www.osi-saf.org) products in NCSA HDF5 format from the High Latitude processing center (http://saf.met.no) are accessed using the library used to generate the products (libosihdf5).

Usage

1
readosisaf(filename,layers=1,nomiss=TRUE)  

Arguments

filename

file to access

layers

The number of layers to read out. Defaults to 1 as some products mix datatypes within the layer group

nomiss

missing values are replaced by R NAs

Value

Returns a list with data and metadata. Character strings are yet not returned.

header

A list containing metadata. the following metadata is provided: filename (name of the file read), description (short textual description of the main file content), year (valid year for the data), month (valid month for the data), day (valid day of month for the data), hour (valid hour), minute (valid minute), xsize (number of columns in original file as stored in HDF5), ysize (number of rows in the opriginal file as stored in HDF5), zsize (number of levels in the datafile, only the first level is returned), and package (name of package that created the dataset). The time specification is by default UTC.

data

A vector containing the first data field within the HDF5 file

Note

All product groups of the OSISAF HL centre (various sea ice variables, SST and radiative fluxes (downward shortwave and longwave)) is supported. However, the HDF5 files generated may contain several layers as indicated by the variable zsize in the header of the files. The current version of the osisaf R-package will only return the first layer, i.e. the product itself. The current version does not return quality flags and any auxiliary data that might be appended to the file for some reason.

Author(s)

Øystein Godøy (o.godoy@met.no)

See Also

osisafimage

Examples

1
2
    # Read a sea ice concentration field
    t <- readosisaf(file="/data/osisaf/output/ice/multi/conc/ice_conc_nh_200609181200.hdf")

steingod/R-osisaf documentation built on May 30, 2019, 2:32 p.m.